rule typo fix for /while example

This commit is contained in:
Succubyss 2024-05-14 17:36:10 -05:00 committed by GitHub
parent 8c55e1b05b
commit 9ef3dea884
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1158,7 +1158,7 @@ export function registerVariableCommands() {
<strong>Examples:</strong>
<ul>
<li>
<pre><code class="language-stscript">/setvar key=i 0 | /while left=i right=10 rule=let "/addvar key=i 1"</code></pre>
<pre><code class="language-stscript">/setvar key=i 0 | /while left=i right=10 rule=lte "/addvar key=i 1"</code></pre>
adds 1 to the value of "i" until it reaches 10.
</li>
</ul>