zone.variable
commands:zone_commands:increment
increment: <name> | <value>
Assuming the given zone variable is an integer, increments it by the given value
- name is the name of the zone or variable1) to be incremented
- value is the value to increment the variable by; it can be negative but must be an integer
Note that the command will first try and parse both the variable and value as integers, then as floating point numbers, and then if it can do neither, it will fail.
1)
written
commands/zone_commands/increment.txt · Last modified: 2024/09/20 07:47 by 127.0.0.1