Advertisement
SansIsLazy

Listen

Jul 1st, 2019
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. rednet.open("top")
  2. while true do
  3. local word = ""
  4. id, message = rednet.receive()
  5. print(message)
  6. file = fs.open("/users/"..message, "r")
  7. allow = file.readLine()
  8.  
  9. if message == "pass" then
  10. sleep(3)
  11. word = message
  12. if word == allow then
  13. print("Password")
  14. file.close()
  15. end
  16. end
  17. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement