Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Args, Orgs = ...
- if Args ~= nil then
- if Args == "send" then
- if Orgs ~= nil then
- shell.run("/RaidPro/RaidSend "..Orgs)
- else
- error("Expected Raid send <filename>")
- end
- elseif Args == "del" then
- if Orgs ~= nil then
- shell.run("/RaidPro/RaidDel "..Orgs)
- else
- error("Expected Raid del <filename>")
- end
- elseif Args == "dir" then
- shell.run("/RaidPro/RaidDir")
- elseif Args == "pull" then
- if Orgs ~= nil then
- shell.run("/RaidPro/RaidPull "..Orgs)
- else
- error("Expected Raid <directoryname>")
- end
- end
- else
- error("Expected Raid send,pull,del, or dir")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement