Count
The count variable lets you and your chat keep track of a number that can be increased or decreased with commands. Be it deaths, kills, rounds won, times a thing has been written in chat or anything else you can think of.
{count <counter_name>}
Section titled “{count <counter_name>}”Displays the current count.
{count.inc <counter_name> [-/+amount]}
Section titled “{count.inc <counter_name> [-/+amount]}”Increases or decreases the count by the specified amount (default is 1).
You can use e.g. -5 to decrease the count by 5.
Amount works as a default, you can also specify it in the command itself.
{count.set <counter_name> [amount]}
Section titled “{count.set <counter_name> [amount]}”Sets the count to a specific amount. Use it for example to reset the count to 0. The amount can also be specifed in the command itself.