furtiveneptune

password

Jan 17th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.49 KB | None | 0 0
  1. os.pullEvent = os.pullEventRaw
  2. term.clear()
  3. term.setCursorPos(1,1)
  4. print("Sean's Computer Security 1.1")
  5. print("UserName: FurtiveNeptune")
  6. write("Password: ")
  7. function pass()
  8. t = io.read()
  9. if t == "sean" then
  10. print ("Access Granted.")
  11. sleep(2)
  12. term.clear()
  13. term.setCursorPos(1,1)
  14. else
  15. print ("Incorrect Login Details.")
  16. sleep(1)
  17. term.clear()
  18. term.setCursorPos(1,1)
  19. print("Sean's Computer Security 1.1")
  20. print("UserName: FurtiveNeptune")
  21. write("Password: ")
  22. pass()
  23. end
  24. end
  25. pass()
Add Comment
Please, Sign In to add comment