So, finally I found a solution. For those who are trying to solve the same,
turning something on on constant, here is the solution:
[globalVar = LIT:1 = {$constant_to_turnSomethingOn}]
do smth
[ELSE]
constant was not set to 1 ...
[GLOBAL]
see TSref page 42 ...