Advertisement
Guest User

Untitled

a guest
Feb 13th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. os.pullEvent = os.pullEventRaw
  2. term.clear()
  3. term.setCursorPos(1,1)
  4. print("Computer Security 1.1")
  5. print("UserName: Gungun974")
  6. write("Password: ")
  7. function pass()
  8. t = io.read()
  9. if t == "Gungun974" 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("Borta Computer Security 1.1")
  20. print("UserName: Nynoray")
  21. write("Password: ")
  22. pass()
  23. end
  24. end
  25. pass()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement