Activator COMMAND

This activator is initiates when player typed a defined command.

To create this activator use command:

/react add COMMAND <ActivatorId> <CommandLine>
/react add COMMAND <ActivatorId> command:<CommandLine> override:<true/false> regex:<true/false>
/react add COMMAND <ActivatorId> cmd:<Command> arg1:<Parameter1> arg2:<Parameter2> ... argN:<ParameterN>

You can use this activator to add additional features for commands. For example you can player smoke effect when player types /help command, or remove some amount of money when player types /spawn command. You can use activator even you need to add totally new command. Just create activator and define actions for it.

Temporary placeholders provided by this activator

PlaceholderDescription
%arg0%Command (first word in command line)
%arg1%... %argN%Arguments
%args%All arguments (excluding command)
Example:
If command line is: /customcommand reload 10
%args% placeholder will return: "reload 10"
%args1% ... %argsN%All arguments (excluding command and all of previous arguments)
Example:
If command line is: /customcommand reload 10
%args1% placeholder will return: "10"
%argscount%Number of arguments