goto
Loops and jumps in Xtscript use the goto @target command
[...] = optional ... = your value
@target
[...
...]
goto @target
WARNING:
Endless or very large loops will cause xtscript timeouts!
Example code
Example output
Reload | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10
$num=11