Custom Command
FunctionsVariables Functions

$increaseMessageVar

To increase message 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

$increaseMessageVar[variable name;amount/expression;message id;default amount (default is 0)]

Example (increase count by 1):

$increaseMessageVar[count;1]

Example (double the count):

Member
9/5/2026

!!exec Before: $getMessageVar[count] $increaseMessageVar[count;x*2] After: $getMessageVar[count]

Custom Command
APP
9/5/2026
Before: 5 After: 10

On this page