;Some useful pvcall examples
;Each feature described in this script file can work seperatelly, simply
;delete the other lines.

;Install a routine so that PowerVisor restores the history line whenever
;the command is preceded with a '&'. This is useful when you want to
;execute a command a few times.
pv 6 'v if(*{pv 12}.b==38,{*{pv 12}.b=32;*({pv 40}+5).b=1},0)'
pv 16 'v if(*({pv 40}+5).b==1,{*{pv 12}.b=38},0)'

;Beep if user snaps something
pv 22 '{pv 24 600 20;v 1}'
