Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function connectiontest()
- if fs.exists("testfile") then
- fs.delete("testfile")
- end
- shell.run("pastebin get f8JpQz2h testfile")
- if fs.exists("testfile") then
- pastebin="true"
- fs.delete("updatecom")
- shell.run("pastebin get vqd5zi1n updatecom")
- shell.run("clear")
- print("connection to pastebin success")
- else
- pastebin="false"
- shell.run("clear")
- print("connection to pastebin failed")
- print("")
- print("Try again to connect")
- write("Re-connect in: ")
- textutils.slowPrint("3..2..1")
- sleep(1)
- end
- end
- connectiontest()
- while pastebin == "false" do
- connectiontest()
- end
- if fs.exists("baum") then
- fs.delete("baum")
- shell.run("pastebin get PYJrZtvD baum")
- end
- if fs.exists("receive") then
- fs.delete("receive")
- shell.run("pastebin get T561UA3C receive")
- end
- if fs.exists("dig") then
- fs.delete("dig")
- shell.run("pastebin get dmWfdKBB dig")
- end
- if fs.exists("farm") then
- fs.delete("farm")
- shell.run("pastebin get rvxiLLt8 farm")
- end
- if fs.exists("goto") then
- fs.delete("goto")
- if fs.exists("slave") then
- shell.run("pastebin get 99h4tSqA goto")
- elseif fs.exists("chunkloader") then
- shell.run("pastebin get bTEJnfKt goto")
- end
- end
- if fs.exists("worker") then
- fs.delete("worker")
- shell.run("pastebin get v0FPk5c7 worker")
- end
- if fs.exists("chunkgoto") then
- fs.delete("chunkgoto")
- shell.run("pastebin get bTEJnfKt chunkgoto")
- end
- if fs.exists("chunkworker") then
- fs.delete("chunkworker")
- shell.run("pastebin get sHT3JWGa chunkworker")
- end
- if fs.exists("chunkloader") then
- fs.delete("chunkloader")
- shell.run("pastebin get jNT2dWPq chunkloader")
- end
- if fs.exists("slave") then
- fs.delete("slave")
- shell.run("pastebin get wkxKPemM slave")
- end
- if fs.exists("dl") then
- fs.delete("dl")
- end
- shell.run("pastebin get 5PjTiWGk dl")
- if fs.exists("updater") then
- fs.delete("updater")
- end
- shell.run("pastebin get M6Erb7su updater")
- shell.run("clear")
- id=os.getComputerID()
- print("Computer-ID: "..id)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement