Advertisement
DogePastes

AutoUpdate

Apr 24th, 2022 (edited)
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.58 KB | None | 0 0
  1. function tablelength(T)
  2.     local count = 0
  3.     for _ in pairs(T) do count = count + 1 end
  4.     return count
  5. end
  6.  
  7. local name = {"startup.lua", "Refuel.lua", "Quarry.lua", "MultiBotQuarry.lua", "TurtleReciever.lua"}
  8. local paste = {"https://pastebin.com/KPhVexHt", "https://pastebin.com/rStkPELN", "https://pastebin.com/Tv75mgiq", "https://pastebin.com/6WGiuJvX", "https://pastebin.com/bXN4g8xi"}
  9.  
  10. for i = 1, tablelength(name) do
  11.     shell.execute("rm", name[i])
  12.     shell.execute("pastebin", "get", paste[i], name[i])
  13. end
  14.  
  15. shell.execute("clear")
  16. shell.execute("TurtleReciever.lua")
  17.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement