VAR_CHANGED

Triggers when your own variables reaches matching value

Syntax

VAR_CHANGED varName value 

varName - Your variable name with exact name match
value - Value to check for, can be negative

Examples

VAR_CHANGED myVar 50
VAR_CHANGED myVar >=0
VAR_CHANGED myVar !=10
VAR_CHANGED myVar -20

Notes

Demos