Advertisement
Guest User

MetaOS

a guest
Jul 24th, 2014
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.48 KB | None | 0 0
  1. term.clear()
  2. term.setCursorPos(1,1)
  3. textutils.slowPrint("Welcome to MetaOS")
  4. textutils.slowPrint("Please Enter Your Password")
  5. print("UserName: Metamorphics")
  6. write("Password: ")
  7. function pass()
  8. input = read("*")
  9. if input  == "xc7xnjmc12" then
  10. print("Access Granted")
  11. sleep(1)
  12. term.clear()
  13. term.setCursorPos(1,1)
  14. else
  15. print("Incorrect Password")
  16. sleep(1)
  17. term.clear()
  18. term.setCursorPos(1,1)
  19. print("UserName: Metamorphics")
  20. write("Password: ")
  21. pass()
  22. end
  23. end
  24. pass()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement