$increaseServerVar

To increase server variable with a certain amount.
If the variable doesn't exist it will be created and its value set to the answer of the value as if the original value of the var is 0.

Usage

$increaseServerVar[variable name;amount/expression;default amount (default is 0)]

Example (increase ticket numbers by 1):

$increaseServerVar[ticket numbers;1]


Example (double the messages):

Member01/03/2025
!!exec Before: $getServerVar[ticket numbers]
$increaseServerVar[ticket numbers;x*2]
After: $getServerVar[ticket numbers]

Custom Command Bot 01/03/2025
Before: 5
After: 10