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/eMCqJEBs
- This is just a shortcut for my Redstone Engine program
- Its not that exciting :P
- ]]
- args = {...}
- if #args < 1 or #args > 3 then
- print("Usages:")
- print("re run <config name>")
- print("re edit")
- print("re edit <config name>")
- return
- end
- if args[1] == "run" then
- if not args[2] then
- print("Usage:")
- print("re run <config name>")
- else
- shell.run("/RED/RE "..args[2])
- end
- elseif args[1] == "edit" then
- if args[2] then
- shell.run("/RED/ConfigEditor "..args[2])
- else
- shell.run("/RED/ConfigEditor")
- end
- else
- print("Usages:")
- print("re run <config name>")
- print("re edit")
- print("re edit <config name>")
- return
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement