Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("right")
- function authuap()
- repeat
- term.write("Username:")
- username = read()
- term.write("Password:")
- password = read("*")
- rednet.send(5,"username")
- sleep(0,5)
- rednet.send(5,"password")
- id,msg = rednet.receive()
- if msg == "authsuccess" then
- print("Correct")
- else print("Wrong Combaination")
- end
- until msg == "authsuccess"
- end
- authuap()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement