Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.pullEvent = os.pullEventRaw
- function sprint(msg)
- textutils.slowPrint(msg)
- end
- if(term.isColor())then
- if(http)then
- term.setBackgroundColor(colors.white)
- term.setTextColor(colors.black)
- term.clear()
- term.setCursorPos(1,1)
- print("Credits:\nGame: pfg\ncPrint API: jesusthekiller (Banned from CC forum)")
- sleep(5)
- term.setBackgroundColor(colors.white)
- term.setTextColor(colors.black)
- term.clear()
- term.setCursorPos(1,1)
- write("Creating folder API")
- fs.makeDir("CLI/API")
- print("...Complete")
- write("Creating folder Usr")
- fs.makeDir("CLI/Usr")
- print("...Complete")
- write("Creating folder Apps")
- fs.makeDir("CLI/Apps")
- print("...Complete")
- write("Downloading OS\n")
- shell.run("pastebin get zFyHREzS CLI/OS")
- print("...Complete")
- write("Downloading Updater\n")
- shell.run("pastebin get xbAVfyQs update")
- print("...Complete")
- write("Downloading cPrint API\n")
- shell.run("pastebin get QR1qTMtm CLI/API/cprint")
- print("...Complete")
- write("Locking you into this OS")
- startup=fs.open("startup","w")
- startup.write('shell.run("CLI/OS")')
- startup.close()
- print("...Complete")
- write("Rebooting")
- for i = 1, 4, 1 do
- write(".")
- sleep(1)
- end
- term.clear()
- term.setCursorPos(1,1)
- sprint("Hi.")
- sleep(5)
- sprint("I'm ")
- term.setBackgroundColor(colors.black)
- term.setTextColor(colors.red)
- print("lua:53: attempt to call nil")
- term.setTextColor(colors.white)
- write("> ")
- sleep(3)
- sprint("install")
- term.setBackgroundColor(colors.white)
- term.setTextColor(colors.black)
- term.clear()
- sleep(1)
- term.setCursorPos(1,1)
- sprint("Stupid errors!")
- sleep(3)
- sprint("Anyway, thanks for installing my os")
- sleep(5)
- sprint("Currently, it's just a basic command line, but I'll be sending you code packages as I make them")
- sleep(5)
- sprint("Your computer will restart a few times during the installation")
- sleep(5)
- write("Restart")
- textutils.slowWrite(" 321")
- os.reboot()
- else
- print("Please enable HTTP in your config. I have no idea how you downloaded this anyway")
- end
- else
- print("You need an advanced computer to see it say work in progress")
- end
Add Comment
Please, Sign In to add comment