Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("top")
- term.clear()
- term.setCursorPos(18,8)
- print("Username: ")
- term.setCursorPos(18,9)
- input = read()
- rednet.send(149, input)
- id, message = rednet.receive()
- term.clear()
- if message == ("failuser") then
- term.setCursorPos(13,8)
- print("Username is not on Record!")
- sleep(3)
- os.shutdown()
- else
- term.setCursorPos(18,8)
- print(message)
- term.setCursorPos(18,9)
- input2 = read("*")
- sleep(0.5)
- rednet.send(id, input2)
- term.clear()
- id2, msg = rednet.receive()
- if msg == ("failpass") then
- term.setCursorPos(13,8)
- print("Failed to Authenticate Password!")
- sleep(2)
- os.shutdown()
- else
- shell.run("SryShell")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment