QML - Create Your Own Adventure

Name Topic Used in Type
input States station element
"Input" will provoke a user text prompt. One use of the input is if you want the player to do something to solve a riddle, but giving the player a choice of answers would give away the riddle. The input is not case-sensitive. Another use, when combined with strings, is to let the player input names for things.
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>

Attributes: text | name