Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local component = require("component")
- local term = require("term")
- local shell = require("shell")
- local gpu = component.gpu
- local modem = component.modem
- local computer = component.computer
- local w, h = gpu.getResolution()
- function clear ()
- gpu.fill(0, 0, w, h, " ")
- term.setCursor(1,1)
- end
- clear()
- print("Establishing network connection.")
- os.sleep(1)
- clear()
- print("Esatblishing network connection..")
- os.sleep(1)
- clear()
- print("Establishing network connection...")
- os.sleep(2)
- clear()
- modemopen = modem.open(113)
- if(modemopen) then
- computer.beep()
- print("Network connection established!")
- else
- computer.beep()
- print("Failed to establish network connection! Diagnosing problem now!")
- os.sleep(1)
- computer.beep()
- os.sleep(2)
- modemisopen = modem.isOpen(113)
- if(modemisopen) then
- print("Modem already open! Continuing to login.")
- os.sleep(2)
- else
- print("Unable to diagnose error! Please contact your Authentication Administrator!")
- os.sleep(2)
- return
- end
- end
- print("Welcome to pengo1998's RL Client!")
- print("In order to access this computer you must provide")
- print("a username and password and be manually added into")
- print("the system by pengo198!")
- os.sleep(2)
- clear()
- print("Please enter username.")
- term.write("Username: ")
- user = term.read()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement