Hydrotronics

ComputerCraft 1.5.8 Virtually Inpenetrable Password

Aug 21st, 2015
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. os.pullEvent = os.pullEventRaw
  2.  
  3. -- Place a hidden disk with shell.run("startup") on it's startup file for maximum security!!
  4.  
  5. term.clear()
  6. term.setCursorPos(1,1)
  7. print"Hydro Security 2.0.5"
  8. print"Username:[]" -- Enter your desired Username here
  9. write"Password"
  10. input = read("*")
  11. if input == "password" then -- Replace password with your desired password
  12. term.clear()
  13. term.setCursorPos(20,10)
  14. textutils.slowPrint("Welcome...")
  15. sleep(1)
  16. term.clear()
  17. term.setCursorPos(1,1)
  18. print"CraftOS 1.5" -- Replace CraftOS 1.5 with the OS name that your using or Replace the print command with shell.run("[Your OS]")
  19. else
  20. term.clear()
  21. term.setCursorPos(17,10)
  22. textutils.slowPrint("Incorrect Password")
  23. sleep(2)
  24. shell.run("startup")
  25. end
Advertisement
Add Comment
Please, Sign In to add comment