Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shell = require("shell")
- fs = require("filesystem")
- local pastes = {
- {"SAJNSF121", "example.lua"};
- {"SAJ9218JG", "example2.lua"};
- }
- local other = {
- {"https://raw.githubusercontent.com/OpenPrograms/Vexatos-Programs/c08da47a322fa2b2d00ed4af8be31e494bb5571e/op-manager/oppm.lua", "oppm.lua"};
- }
- if not fs.exists("/downloads/") then
- fs.makeDirectory("/downloads/")
- end
- for i,v in pairs(pastes) do
- shell.execute("pastebin -f get " .. v[1] .. " /downloads/" .. v[2])
- end
- for i,v in pairs(other) do
- shell.execute("wget -f " .. v[1] .. " /downloads/" .. v[2])
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement