$increaseChannelVar

To increase channel variable with a certain amount

Usage

$increaseChannelVar[variable name;amount/expression;channel id;default amount (default is 0)]

Example (increase channel messages by 1):

$increaseChannelVar[messages;1]


Example (double the messages):

Member04/02/2024
!!exec Before: $getChannelVar[messages]
$increaseChannelVar[messages;x*2]
After: $getChannelVar[messages]

Custom Command Bot 04/02/2024
Before: 5
After: 10