In the perpetual official DragScript you can found example of using of ###VAR###
https://wiki.starkeeper.it/index.php/DragScript_Examples#Perpetual_Script_H24.2F7Days
Other info here:
https://wiki.starkeeper.it/index.php/DragScript_Elements#Signals
Some thread about: