Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shell.run("cd //")
- if fs.exists("//hivemind/") then
- print("Existing files will be deleted.\nPress y to continue.")
- evt,conf = os.pullEvent("key")
- if conf == keys.y then
- fs.delete("//hivemind/")
- else
- print("Process terminated.")
- end
- end
- if not fs.exists("//hivemind/") then
- fs.makeDir("//hivemind/")
- shell.run("pastebin get 7v2g7vNe //hivemind/network.lua")
- shell.run("pastebin get gpyrcnWK //hivemind/update.lua")
- if turtle or peripheral.getType("back") == "neuralInterface" then
- shell.run("pastebin get W3hDZ9in //hivemind/movement.lua")
- end
- print("Computer will reboot.\nPress any key to continue.")
- os.pullEvent("key")
- shell.run("reboot")
- end
Advertisement
Add Comment
Please, Sign In to add comment