Advertisement
Kodos

Favorites

Jun 2nd, 2015
325
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.57 KB | None | 0 0
  1. shell = require("shell")
  2. fs = require("filesystem")
  3.  
  4. local pastes = {
  5.     {"SAJNSF121", "example.lua"};
  6.     {"SAJ9218JG", "example2.lua"};
  7. }
  8.  
  9. local other = {
  10.     {"https://raw.githubusercontent.com/OpenPrograms/Vexatos-Programs/c08da47a322fa2b2d00ed4af8be31e494bb5571e/op-manager/oppm.lua", "oppm.lua"};
  11. }
  12.  
  13. if not fs.exists("/downloads/") then
  14. fs.makeDirectory("/downloads/")
  15. end
  16.  
  17. for i,v in pairs(pastes) do
  18.     shell.execute("pastebin -f get " .. v[1] .. " /downloads/" .. v[2])
  19. end
  20.  
  21. for i,v in pairs(other) do
  22.     shell.execute("wget -f " .. v[1] .. " /downloads/" .. v[2])
  23. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement