function downloadFile(link, fName) d = http.get("https://pastebin.com/raw/"..link).readAll() if d then file = fs.open(fName, "w") file.write(d) file.close() end end --if fs.exists("chatListener.lua") then fs.delete("chatListener.lua") end --if fs.exists("colonyInfo.lua") then fs.delete("colonyInfo.lua") end --if fs.exists("requestManager.lua") then fs.delete("requestManager.lua") end --if fs.exists("monitorManager.lua") then fs.delete("monitorManager.lua") end downloadFile("Taa1i9Tn", "chatListener.lua") downloadFile("wVz0Kg0N","colonyInfo.lua") downloadFile("rSDtwYBe","requestManager.lua") downloadFile("bVQbY1qL","monitorManager.lua") if not fs.exists("startup.lua") then file = fs.open("startup.lua", "w"); file.write("shell.execute('requestManager.lua')") file.close() end os.reboot()