Commands/trigger

Modifies a scoreboard objective with a "trigger" criterion.


 * Syntax




 * Description


 * Used together with  to let players activate systems made by operators or mapmakers.


 * Arguments


 * objective
 * An enabled scoreboard objective with the "trigger" criterion.


 * add|set
 * – Adds value to the current value of objective.
 * – Sets the value of objective to value.
 * can be removed, which means.


 * Result


 * Fails if the arguments are not specified correctly, if objective does not have the "trigger" criteria, or if the player who executed the command is not able to modify objective.


 * On success, the value of objective is changed for the player that executed the command.