Does anyone know how to switch test mode on/off according to the value of a variable. i.e. var_test= 1 (activate test mode), var_test = 0 (deactivate test mode).
Also is it possible to activate/deactivate triggers according to the value of a variable?