Advertisement
Guest User

Untitled

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