Skip to content

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)
  • string command: Command name without the leading slash.
  • string params: Raw command parameters after the command name.