Advertisement
Guest User

installer

a guest
Oct 25th, 2014
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.52 KB | None | 0 0
  1. shell.run("clear")
  2. term.setBackgroundColor(colors.blue)
  3. term.clear()
  4.  
  5. term.setCursorPos(2,2)
  6. print("MC-DOS 0.0.1 (Pre-Alpha) Installer")
  7. term.setCursorPos(2,3)
  8. print("----------------------------------")
  9. term.setCursorPos(2,4)
  10. print("Enter your Activation Key!")
  11. term.setCursorPos(3,5)
  12. key = read()
  13.  
  14. if key == "mcdos" then
  15. shell.run("clear")
  16. shell.run("mkdir A")
  17. shell.run("clear")
  18. shell.run("pastebin get u6Vr7aYw startup")
  19. shell.run("clear")
  20. print("Finished.")
  21. os.sleep(2)
  22. os.reboot()
  23.  
  24. else
  25. os.shutdown()
  26. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement