Add command to run Executors
soliddanii opened this issue · 3 comments
Kind of like a test command, so we don't have to delete and create a command trigger every time we test the same executor with different parameters.
Command idea: /trg execute[exec] #EXECUTOR
Example: /trg exec #MESSAGE "Hi"
It might be better to make it work as temporary Command Trigger.
So for example, /trg run [codes...]
This will not save anything but run one time code execution as Command Trigger
/trg run #EXECUTORTOTEST blah blah
or
/trg run player.sendMessage("Message to yourself")
This will be able to accept more broad range of codes to test.
Just a small tip: you can format the code in Github by putting four spaces before the line.
spacespacespacespaceMyCode...
Added in 745473d