$increaseUserVar

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

$increaseUserVar[variable name;amount/expression;user id;default amount (default is 0)]

Example (increase user money by 1000):

$increaseUserVar[money;1000]


Example (double the money):

Member08/02/2024
!!exec Before: $getUserVar[money]
$increaseUserVar[money;x*2]
After: $getUserVar[money]

Custom Command Bot 08/02/2024
Before: 1000
After: 2000