Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Coded by HPWebcamAble
- http://pastebin.com/u/HPWebcamAble
- USE THE INSTALLER ON MY PASTEBIN!
- This won't do anything by itself
- Installer Link:
- http://pastebin.com/pVyr7LjW
- ]]
- args = {...}
- if #args ~= 1 then
- print("Usages:")
- print("rc [run:edit]")
- return
- end
- if args[1] == "run" then
- if not fs.exists("/arc/arc") then
- tc(colors.red)
- print("Failed to locate program 'arc' in directory 'arc'")
- print("Run installer")
- return
- else
- shell.run("/arc/arc")
- end
- elseif args[1] == "edit" then
- if not fs.exists("/arc/configeditor") then
- tc(colors.red)
- print("Failed to locate program 'configeditor' in directory 'arc'")
- print("Run installer")
- return
- else
- shell.run("/arc/configeditor")
- end
- else
- print("Usages:")
- print("rc [run:edit]")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement