|Related Guide Page||https://guide.denizenscript.com/guides/basics/loops.html|
|Short Description||Runs a series of braced commands several times.|
|Full Description||Loops through a series of braced commands a specified number of times.
To get the number of loops so far, you can use <[value]>.
Optionally, specify "as:<name>" to change the definition name to something other than "value".
Optionally, to specify a starting index, use "from:<#>". Note that the "amount" input is how many loops will happen, not an end index.
The default "from" index is "1". Note that the value you give to "from" will be the value of the first loop.
To stop a repeat loop, do - repeat stop
To jump immediately to the next number in the loop, do - repeat next
|Synonyms (Search Aid)||for|