QML - Create Your Own Adventure

Name Topic Used in Type
text Branching input attribute
The input text is the question the user will get to read when asked for input. If you want to use double quotes in the text, you need to wrap the attribute-value with single quotes.
Sample:
<input text='"Do you know what I am?" she asks you.'/>
<if check="[qmlInput] = 'unicorn'">
   <text>"Oh, you do know me!" she cries.
   </text>

   <state name="knows unicorn"/>
   <choice station="back">Continue</choice>
</if>
<else>
   <text>"So that's what you take me for?" she sighs.
   </text>

   <choice station="back">Continue</choice>
</else>