In VarCalc
szVar ="cursong 3.00-1 | restart song"
So, I put a break point in VarCalc and run this macro:
Code: Select all
sub main
/declare mytest global
/varset mytest 0
/varcalc mytest @mytest+1 | comment test
/echo @mytest
/returnModerator: MacroQuest Developers

Code: Select all
sub main
/declare mytest global
/varset mytest 0
/varcalc mytest @mytest+1 | comment test
/echo @mytest
/return