# Command

TIP

This event can be cancelled

# Event Details

  • The Command event gets called whenever a player runs a command, you can get some information from the event with the variables listed below

# Variables

  • $args$[0] - The player that will run the command
  • $args$[1] - The command that will be ran
  • $args$[2] - The arguments passed to the command as an array

# Usage

  • Add a command to be called when this event triggers by running /acodes event command add <command>