First thing, you do not need? "?
/ End" in every If statement. That might be blowing it up.
You also don't need???
|Total=%Total%+1| in every line,
|Total+1| is all you need there.
However, a simpler solution would be to look at a
While loop....
%count%,0
:Start
1,Test Loop<br>
_{While~%count%<=10,
_%count%<br>
_|count+1|
_}
In this loop, you call it and it prints out the following:
Test Loop
0
1
2
3
4
5
6
7
8
9
10