# Error

TIP

This event can be cancelled, if you cancel this event then the error message won't be sent to the player that's running the command.

# Event Details

  • The Error event gets called whenever an error message is sent from AcsrelCodes, you can get some information from the event with the variables listed below

# Variables

  • $args$[0] - The player that's running the command
  • $args$[1] - The command's name that's being run
  • $args$[2] - The error message
  • $args$[3] - The line that the error came from

# Usage

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