Skip to content

QS1 else cmd

maybites edited this page Sep 12, 2022 · 1 revision

<else>

Simple Example

<while name="whileLoop" start="{whilevar = 0}" repeat="{whilevar lt 100}" step="{whilevar = (whilevar + 1)}">
    <if true="{whilevar lt 50}">
        <print>inside while below 50: {whilevar}</print>
        <else>
            <print>inside while above 50: {whilevar}</print>
        </else>
    </if>
</while>
<wait anim="whileLoop"/>

Attributes

  • None

Parent Command

Child Commands

Explained

the <else> cmd works like 'else' in classical langauges

Clone this wiki locally