Skip to content
This repository was archived by the owner on Sep 12, 2022. It is now read-only.

QS0 else cmd

maybites edited this page Oct 23, 2021 · 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