Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function tablelength(T)
- local count = 0
- for _ in pairs(T) do count = count + 1 end
- return count
- end
- local name = {"startup.lua", "TurtleGui.lua", "TurtleServer.lua"}
- local paste = {"https://pastebin.com/QMZ09Ksv","https://pastebin.com/N8ryEEgb", "https://pastebin.com/P6fx9tLA"}
- for i = 1, tablelength(name) do
- shell.execute("rm", name[i])
- shell.execute("pastebin", "get", paste[i], name[i])
- end
- shell.execute("clear")
- shell.execute("TurtleServer.lua")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement