Advertisement
Guest User

test

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