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.


Script: download here


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

You may also like...

Leave a Reply

Your email address will not be published.

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    Markdown is turned off in code blocks:
     [This is not a link](

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see