Guest User

Untitled

a guest
Jul 9th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.33 KB | None | 0 0
  1. term.clear()
  2. term.setCursorPos(1,1)
  3. print("username:")
  4. n = read()
  5. if n ~= "spenk" then
  6. print("User Not Found")
  7. os.sleep(10)
  8. os.shutdown()
  9. else
  10. print("Password:")
  11. p = read()
  12. if p == "arnem" then
  13. term.clear()
  14. term.setCursorPos(1,1)
  15. print("acces granted")
  16. else
  17. print("Incorrect password")
  18. os.sleep(10)
  19. os.shutdown()
  20. end
  21. end
Add Comment
Please, Sign In to add comment