Advertisement
FNCxPro

New install

Nov 5th, 2014
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.31 KB | None | 0 0
  1. function secondCountdown(val)
  2.    for i = val, 1, -1 do
  3. term.setBackgroundColor(2048)
  4. term.setTextColor(1)
  5.     term.clear()
  6. term.setCursorPos(1,1)
  7. print("SimplyOS")
  8. term.setCursorPos(1,3)
  9. print("All finished with the downloading of the files!")
  10. print("Please reboot your computer or we'll do it for you in...")
  11. print(i)
  12. sleep(1)
  13. end
  14. end
  15.  
  16. term.setBackgroundColor(2048)
  17. term.setTextColor(1)
  18. term.clear()
  19. print("SimplyOS")
  20. term.setCursorPos(1,3)
  21. print("Please wait while we install the OS for you!")
  22. shell.run("pastebin","get","H3k6xKPV","server")
  23. print("Downloaded chat server")
  24. shell.run("pastebin","get","UnHR7FMX","startup")
  25. print("Downloaded startup")
  26. shell.run("pastebin","get","4RHTai4D","disk")
  27. print("Downloaded file browser")
  28. shell.run("pastebin","get","RC89b6vd","client")
  29. print("Downloaded chat client")
  30. shell.run("pastebin","get","qRNmNTpX","browser")
  31. print("Downloaded yet another file browser?")
  32. shell.run("pastebin","get","e9Vfnv5T",".term")
  33. print("Downloaded background image")
  34. shell.run("pastebin","get","ANCABW4T",".back")
  35. print("Downloaded another image")
  36. term.clear()
  37. term.setCursorPos(1,1)
  38. print("SimplyOS")
  39. term.setCursorPos(1,3)
  40. print("All finished with the downloading of the files!")
  41. print("Please reboot your computer or we'll do it for you in...")
  42. secondCountdown(15)
  43. os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement