Counted Loops
This script extends the interpreter by allowing you to create a “counted loop”.
All commands inside a counted loop will repeat until you reach the total loop count.
Download
Script: download here
Usage
Immediately before a loop command, add a comment of the following forms
<loop count: x> <loop count: v[x]>
For some integer x. You can use a game variable, represented by the v.
The loop will then iterate the specified number of times.
You can do nested loops as well