TicketQuest: type: assignment interact scripts: - 10 TicketStart TicketStart: type: interact steps: 1: click trigger: script: - chat "Hello there ..." - wait 1 - chat "Would you like to show me the ticket, please?" - wait 2 - chat "#Hint# Type Yes/No in the chat." chat trigger: 1: trigger: /Yes/, here you go. &5Conductor reaches for the ticket in ´s hand. script: - wait 2 - chat "Thank you! I will check this right away." - zap step:2 2: trigger: /No/, I will not give you the ticket. script: - chat "Oh darn, you will not get passed me without a ticket." - wait 1 - chat "Come back when you´ve got a ticket..." 2: click trigger: script: - if { - take paper qty:1 - chat "Thanks for your cooperation, sir." - wait 1 - chat "Have a great time here" - wait 2 - teleport } else { - chat "Seems like you dont have my ticket, come back when you´ve got it!" - wait 1 - narrate " frows at you." }