Advertisement
Guest User

azzer

a guest
Nov 29th, 2014
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. term.clear()
  2. term.setCursorPos(1,1)
  3. print("--------------------------------------")
  4. print("| BasicOS Security System |")
  5. print("--------------------------------------")
  6. print("|Password: |")
  7. print("--------------------------------------")
  8. print("| |")
  9. print("--------------------------------------")
  10. term.setCursorPos(11,4)
  11. if read("*") = "chomper456" then
  12. term.setCursorPos(2,6)
  13. textutils.slowPrint("Acess Granted.Launching BasicOS now.....")
  14. sleep(1)
  15. shell.run("boot")
  16. else
  17. term.setCursorPos(2,6)
  18. textutils.slowPrint("Acess Denied.")
  19. shell.run("password")
  20. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement