Advertisement
Guest User

test

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