Advertisement
Guest User

startup

a guest
Aug 16th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.47 KB | None | 0 0
  1. os.pullEvent = os.pullEventRaw
  2. term.clear()
  3. term.setCursorPos(1,1)
  4. print("Hampton Computer Security 1.0")
  5. print("UserName: herohamp")
  6. write("Password: ")
  7. function pass()
  8. t = io.read()
  9. if t == "nodejs" then
  10. print ("Access Granted.")
  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("Hampton Computer Security 1.0")
  19. print("UserName: herohamp")
  20. write("Password: ")
  21. pass()
  22. end
  23. end
  24. pass()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement