Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("back")
- while true do
- rs.setOutput("right", false)
- print("Enter the password: ")
- password = ""
- password = read()
- id, goodpassword = rednet.receive("HxPass", 20480)
- if password == goodpassword then
- rs.setOutput("right", true)
- shell.run("clear")
- else
- rs.setOutput("right", false)
- shell.run("clear")
- end
- os.sleep(1.5)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement