computercam

CCStartup

Mar 12th, 2015
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. password = "PASS"
  2. while true do
  3. shell.run("rm CCOS/Cache")
  4. shell.run("mkdir CCOS/Cache")
  5. print("Welcome, NAME, Please enter your password below!")
  6. write("Password: ")
  7. passwordreply = read()
  8. if passwordreply == password then
  9. term.setBackgroundColour(colours.red)
  10. term.setCursorPos(50,25)
  11. term.clear()
  12. term.setCursorPos(13,05)
  13. term.setTextColour(colours.black)
  14. print("Booting up please wait....")
  15. sleep(1)
  16. shell.run("CCOS/System/OS")
  17. end
  18. end
Advertisement
Add Comment
Please, Sign In to add comment