event onCommand (client-side)
Available since version: 0.3.0
This event is triggered when a slash command is submitted through chat input.
Parameters
void onCommand(string command, string params)
stringcommand: Command name without the leading slash.stringparams: Raw command parameters after the command name.