Skip to content

QueScript / Reference / <play>

<play name="(string)"/>

Simple Example

    <play name="nextCue"/>

Content

  • None

Attributes

  • name = required. the name of the <que> to execute playing.

Child Commands

  • None

Explained

Plays another <que> inside the same script.

    <que name="Start" loop="no">
        <play name="Reset"/>
        <wait trigger="resetDone"/>
        <print>Reseted. Ready for action</print>
    </que>
    <que name="Reset" loop="no">
        <print>Executing Reset</print>
        <trigger>resetDone</trigger>
    </que>

When <que> 'Start' is played, first thing it will start playing <que> 'Reset' and <wait> for a trigger called 'resetDone'. When <que> 'Reset' plays, it first <print>s out the message 'Executing Reset' and then sends a <trigger>-message 'resetDone'. Which the <wait> cmd inside 'Start' will pickup and carry on with <print>ing 'Reseted. Ready for action'.