Advertisement
Kodos

Favorites

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