Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("top")
- disks = {"disk/", "disk2/", "disk3/", "disk4/", "disk5/", "disk6/", "disk7/", "disk8/", "disk9/", "disk10/", "disk11/", "disk12/", "disk13/", "disk14/"}
- for i = 1, 100 do
- shell.run("delete", disks[i].."mv")
- shell.run("delete", disks[i].."mine")
- shell.run("delete", disks[i].."turtlestart")
- shell.run("delete", disks[i].."startup")
- shell.run("cp", "mv", disks[i].."mv")
- shell.run("cp", "mine", disks[i].."mine")
- shell.run("cp", "turtlestart", disks[i].."turtlestart")
- shell.run("cp", "startup_", disks[i].."startup")
- end
- ttable = {"reboot", 0, 0, 0, 0}
- data = textutils.serialise(ttable)
- rednet.broadcast(data, "com")
- rednet.close("top")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement