TriggerReactor

TriggerReactor

24.6k Downloads

Add command to run Executors

soliddanii opened this issue · 3 comments

commented

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"

commented

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...

commented

Great idea, and thanks for the tip.

commented

Added in 745473d