Advertisement
Guest User

Untitled

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