Merge pull request #2238 from Succubyss/staging

Typo fix for /while example
This commit is contained in:
Cohee 2024-05-15 23:35:19 +03:00 committed by GitHub
commit 5b47b83fe2
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> <strong>Examples:</strong>
<ul> <ul>
<li> <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. adds 1 to the value of "i" until it reaches 10.
</li> </li>
</ul> </ul>