The summer sun warms you as you stare at the five-story tower in front of you. Though the windows, guarded by bars and a thick layer of muck, don't reveal much of the interior, this tower has always given you an odd sensation.
Today is the day you alleviate it by venturing inside.
The front door is warped and rotted, the knob scuffed and dull. You reach out, a chill running up your spine.
[[Open the door.|Foyer]]
(set: $key1 to false)
(set: $key2 to false)
(set: $light to false)
(set: $code1 to false)
(set: $code2 to false)
(set: $code3 to false)
(set: $code4 to false)
(set: $keyb to false)(if: $light is true)[
(if: $key1 is false)[
Though the room appeared empty, you now see a copper key on the ground.
Items:
(link: "Pick up copper key.")[(set: $key1 to true)You have found a key.]
]
(else:)[
There is nothing here.
]
]
(else:)[
It's too dark to see anything in here.
]
[[Go forward.|Hallway 3]]
[[Go back.|Foyer]](if: $light is true)[
The hall is completely empty, save a note on the ground.
<div class="googleFont">This tower has been the home of many and it will be the home of many more, but it is mine for now and it will serve my purposes. Hopefully the basement is large enough to hold what I need it to.</div>
]
(else:)[
It's too dark to see anything in here.
]
[[Go forward.|Hallway 2]]
[[Go back.|Foyer]](if: $light is false)[
The room is dark, but as you feel along the wall, your hand bumps into a tiny lever.
(link: "Flip switch.")[(set: $light to true)The light above flickers for a moment before igniting with a "pop." The lights in the other rooms are now on, too.]
]
(else:)[
There is nothing here.
]
[[Go forward.|Coat Room]]
[[Go back.|Sun Room]](if: $light is true)[
There are several coats in here, ancient designs and fabrics. Moving them aside, you find a closet.
[[Open closet.|Closet]]
]
(else:)[
It's too dark to see anything in here.
]
[[Go left.|Lobby]]
[[Go back.|Hallway 3]](if: $light is true)[
The room is empty save a door on the left.
(if: $key1 is true)[
[[Stairway]]
]
(else:)[
*Locked Door*
]
]
(else:)[
It's too dark to see anything in here.
]
[[Go back.|Coat Room]]You enter into a stairwell. There is a door below and a door above.
(if: $keyb is true)[
[[Basement Landing]]
]
(else:)[
*Locked Door*
]
[[Climb.|Hallway 4]](if: $light is true)[
The hall is empty except for a painting. You decide to investigate and find a safe behind the painting.
(if: $code1 is true)[
You open the safe with the combination to find a piece of paper.
<div class="googleFont"> X S | s
Q SQ | sQ
Q SQ | sQ </div>
]
(else:)[
*Locked Safe*
]
]
(else:)[
It's too dark to see anything in here.
]
[[Go forward.|Storage]]
[[Go back.|Hallway 1]](if: $light is true)[
(if: $code1 is false)[
There is a sheet of paper on the ground. Pick it up?
Items:
(link: "Pick up paper.")[(set: $code1 to true)You have found a combination.
<div class="googleFont">21-0-0</div>]
]
(else:)[
There is nothing here.
]
]
(else:)[
It's too dark to see anything in here.
]
[[Go back.|Hallway 2]]The door opens, light pouring into the dark foyer.
A thick layer of dust billows at your feet with each step. You leave the door open so you can search the room, but see nothing of interest.
[[Go right.|Sun Room]]
[[Go left.|Hallway 1]]You find a sheet of paper with a strange grid of letters on it.
<div class="googleFont">* a b c d e f g h i j k l m n o p q r s t u v w x y z
a a b c d e f g h i j k l m n o p q r s t u v w x y z
b b c d e f g h i j k l m n o p q r s t u v w x y z a
c c d e f g h i j k l m n o p q r s t u v w x y z a b
d d e f g h i j k l m n o p q r s t u v w x y z a b c
e e f g h i j k l m n o p q r s t u v w x y z a b c d
f f g h i j k l m n o p q r s t u v w x y z a b c d e
g g h i j k l m n o p q r s t u v w x y z a b c d e f
h h i j k l m n o p q r s t u v w x y z a b c d e f g
i i j k l m n o p q r s t u v w x y z a b c d e f g h
j j k l m n o p q r s t u v w x y z a b c d e f g h i
k k l m n o p q r s t u v w x y z a b c d e f g h i j
l l m n o p q r s t u v w x y z a b c d e f g h i j k
m m n o p q r s t u v w x y z a b c d e f g h i j k l
n n o p q r s t u v w x y z a b c d e f g h i j k l m
o o p q r s t u v w x y z a b c d e f g h i j k l m n
p p q r s t u v w x y z a b c d e f g h i j k l m n o
q q r s t u v w x y z a b c d e f g h i j k l m n o p
r r s t u v w x y z a b c d e f g h i j k l m n o p q
s s t u v w x y z a b c d e f g h i j k l m n o p q r
t t u v w x y z a b c d e f g h i j k l m n o p q r s
u u v w x y z a b c d e f g h i j k l m n o p q r s t
v v w x y z a b c d e f g h i j k l m n o p q r s t u
w w x y z a b c d e f g h i j k l m n o p q r s t u v
x x y z a b c d e f g h i j k l m n o p q r s t u v w
y y z a b c d e f g h i j k l m n o p q r s t u v w v
z z a b c d e f g h i j k l m n o p q r s t u v w v y
</div>
[[Go back.|Coat Room]](set: $keyg to false)
(set: $fun to (either: 1,2,3,4))
The door shuts behind you with a deafening clang. You can hear a low growl in the distance. what could it be?
[[Go forward.|Randomizer]]
[[Go right.|Randomizer]]
[[Go left.|Randomizer]][[Turn left.|Hallway 5]]
[[Go downstairs.|Stairway]](if: $fun is 1)[You cautiously move on, careful to avoid the creature in the darkness. Your foot hits something. Kneeling down to pick it up, you find you now have a torch!
[[Press on.|Basement Lit]]
]
(if: $fun is 2)[You stumble along in the darkness, but everything seems safe so far. Well, except for that growling monster.
[[Press on.|Basement]]
]
(if: $fun is 3)[You come to a metal door. Could this be your escape?
[[Try the door.|Basement Door]]
]
(if: $fun is 4)[You bump into a creature, the same growling creature you heard before. You look up to find glowing red eyes that meet yours. It screeches and you fall back. It begins to devour you.
[[Game Over.|Credits]]
](set: $fun to (either: 1,2,3,4,5,6,7,8))
Even with the basement now lit, there's no telling how far you've wandered in this cavern. You feel almost as blind with the torch as you were without it.
[[Go forward.|Randomizer 2]]
[[Go right.|Randomizer 2]]
[[Go left.|Randomizer 2]](set: $fun to (either: 1,2,3,4))
The basement is still dark, but you feel a little safer now.
[[Go forward.|Randomizer]]
[[Go right.|Randomizer]]
[[Go left.|Randomizer]](set: $fun to (either: 1,2,3,4))
Is this truly it? Is this your escape?
(if: $keyg is true)[
[[The door can be opened!|Congrats]]
]
(else:)[
*The door is locked*
[[Keep searching.|Randomizer]]
]<div class="title">
{
(live: 1s)[
(stop:)
(css: "font-size: 250%;")[''Quetzal'']
is produced and distributed by Quetzalcoatl 2100 Productions
]
}
{
(live: 3s)[
(stop:)
Story by...
Quetzalcoatl 2100
]
}
{
(live: 5s)[
(stop:)
Game design by...
Quetzalcoatl 2100
]
}
{
(live: 7s)[
(stop:)
Game made with...
Twine Text-Based Game Engine
]
}
{
(live: 9s)[
(stop:)
[[Go to Menu?|Menu]]
]
}
</div>(if: $fun is 2)[You stumble along in the darkness, but everything seems safe so far. Well, except for that growling monster.
[[Press on.|Basement 2]]
]
(if: $fun is 3)[You come to a metal door. Could this be your escape?
[[Try the door.|Basement Door 2]]
]
(if: $fun is 4)[You bump into a creature, the same growling creature you heard before. You look up to find glowing red eyes that meet yours. It screeches and you fall back. It begins to devour you.
[[Game Over.|Credits]]
]
(if: $fun is 1)[
(if: $keyg is false)[
There seems to be a golden key on the ground.
Items:
(link: "Pick up golden key.")[(set: $keyg to true)You have found a key.]
]
(else:)[
There is nothing here.
]
[[Keep looking.|Basement 2]]
]
(if: $fun is 5)[You stumble along in the darkness, but everything seems safe so far. Well, except for that growling monster.
[[Press on.|Basement 2]]
]
(if: $fun is 6)[You come to a metal door. Could this be your escape?
[[Try the door.|Basement Door 2]]
]
(if: $fun is 7)[
(if: $keyg is false)[
There seems to be a golden key on the ground.
Items:
(link: "Pick up golden key.")[(set: $keyg to true)You have found a key.]
]
(else:)[
There is nothing here.
]
[[Keep looking.|Basement 2]]
]
(if: $fun is 8)[You stumble along in the darkness, but everything seems safe so far. Well, except for that growling monster.
[[Press on.|Basement 2]]
]Congratulations! You've won!
{
(live: 5s)[
(stop:)
You are the 0100101s
<div class="title">1110010tth
0010101st
010100010sthhhths</div>
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
]
}
{
(live: 10s)[
(stop:)
<div class="googleFont">Yoooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooouuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuo
Arreeeeerrrrrrerrrrrrrrree</div>eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeerrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrereeeeeeeeeeerrrrrrrrrrrrre
TTTTTTTTTTTTTTTTTTTThhhhheeeeeeeeeeeeeeeeeeeheeeeeeeeeeeeeeeeeeeeeeehhhhhhhhhhhhhhhhhhhhhhhhhhhehTTTTTTTTTTTTTTTTTTTTTTTehhhhhhhhheeeeeeeeeeeeeeeeeeeeeeeeee
set: playernumber == var 6 6 <div class="title">66666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666
tootootoooooooooooooo</div>ttttttttttttttttttttoooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooootttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt
wwwwwwwwwwiwiiiiiiiiiiiiiwwwwwwwwwnnnnnnnnnnnnnnnnnwnnnnnnnnnnnnnnnnnnwwwwwwwwwwwiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiww
]
}
{
(live: 14.75s)[
(stop:)
@@@@@@@@@<div class="googleFont">@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
~~ABCDEFGHIJKLMNOPQRSTUVWXYZ
a b c d e f g h i j </div>k l m n o p q r s t u v w x y z~~
<div class="title">@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
"Quetzal" is pr00</div>010d 01 d001ribute1 b1 Q001za010oat1 2100 01oduc101000s
]
}
{
(live: 15.75s)[
(stop:)
[[Sirzqaekfemhoyi! Ssn aelj nlx uioui ktle. Nxygd shp SX gtre qel qr dmlyf egc spdx qx shp mivw Pupjtee eoc oiyk ortpy!|Reset]]
]
}
{
(live: 16.75s)[
(stop:)
<div class="googleFont">[[Sirzqaekfemhoyi! Ssn aelj nlx uioui ktle. Nxygd shp SX gtre qel qr dmlyf egc spdx qx shp mivw Pupjtee eoc oiyk ortpy!|Reset]]
]
}
{
(live: 17.75s)[
(stop:)
[[Sirzqaekfemhoyi! Ssn aelj nlx uioui ktle. Nxygd shp SX gtre qel qr dmlyf egc spdx qx shp mivw Pupjtee eoc oiyk ortpy!|Reset]]</div>
]
}
{
(live: 18.75s)[
(stop:)
<div class="title">[[Sirzqaekfemhoyi! Ssn aelj nlx uioui ktle. Nxygd shp SX gtre qel qr dmlyf egc spdx qx shp mivw Pupjtee eoc oiyk ortpy!|Reset]]
]
}
{
(live: 19.75s)[
(stop:)
[[Sirzqaekfemhoyi! Ssn aelj nlx uioui ktle. Nxygd shp SX gtre qel qr dmlyf egc spdx qx shp mivw Pupjtee eoc oiyk ortpy!|Reset]]
]
}
{
(live: 20.75s)[
(stop:)
[[Sirzqaekfemhoyi! Ssn aelj nlx uioui ktle. Nxygd shp SX gtre qel qr dmlyf egc spdx qx shp mivw Pupjtee eoc oiyk ortpy!|Reset]]</div>
]
}
{
(live: 21.75s)[
(stop:)
<div class="googleFont">[[Sirzqaekfemhoyi! Ssn aelj nlx uioui ktle. Nxygd shp SX gtre qel qr dmlyf egc spdx qx shp mivw Pupjtee eoc oiyk ortpy!|Reset]]
]
}
{
(live: 22.75s)[
(stop:)
[[Sirzqaekfemhoyi! Ssn aelj nlx uioui ktle. Nxygd shp SX gtre qel qr dmlyf egc spdx qx shp mivw Pupjtee eoc oiyk ortpy!|Reset]]
]
}
{
(live: 23.75s)[
(stop:)
[[Sirzqaekfemhoyi! Ssn aelj nlx uioui ktle. Nxygd shp SX gtre qel qr dmlyf egc spdx qx shp mivw Pupjtee eoc oiyk ortpy!|Reset]]
]
}
{
(live: 24.75s)[
(stop:)
[[Sirzqaekfemhoyi! Ssn aelj nlx uioui ktle. Nxygd shp SX gtre qel qr dmlyf egc spdx qx shp mivw Pupjtee eoc oiyk ortpy!|Reset]]
]
}
{
(live: 25.75s)[
(stop:)
[[Sirzqaekfemhoyi! Ssn aelj nlx uioui ktle. Nxygd shp SX gtre qel qr dmlyf egc spdx qx shp mivw Pupjtee eoc oiyk ortpy!|Reset]]</div>
]
}
{
(live: 26.75s)[
(stop:)
<div class="title">[[Sirzqaekfemhoyi! Ssn aelj nlx uioui ktle. Nxygd shp SX gtre qel qr dmlyf egc spdx qx shp mivw Pupjtee eoc oiyk ortpy!|Reset]]</div>
]
}
{
(live: 27.75s)[
(stop:)
[[Sirzqaekfemhoyi! Ssn aelj nlx uioui ktle. Nxygd shp SX gtre qel qr dmlyf egc spdx qx shp mivw Pupjtee eoc oiyk ortpy!|Reset]]
]
}(set: $fun to (either: 1,2,3,4,5,6,7,8))
The basement is still disorienting, but you feel a little safer now.
[[Go forward.|Randomizer 2]]
[[Go right.|Randomizer 2]]
[[Go left.|Randomizer 2]](set: $fun to (either: 1,2,3,4,5,6,7,8))
Is this truly it? Is this your escape?
(if: $keyg is true)[
[[The door can be opened!|Escape]]
]
(else:)[
*The door is locked*
[[Keep searching.|Randomizer 2]]
]<div class="title">Welcome to...
<div class="title">
{
(live: 1s)[
(stop:)
(css: "font-size: 250%;")[Quetzal]
[[Start|Outdoors]]
[[How to Play|Info]]
[[Disclaimer]]
[[Credits|Credits]]
]
}
</div>There are two safes in the room.
(if: $code2 is true)[
You open the safe with the combination to find a piece of paper.
<div class="googleFont">I saw her again today. This time, I waved. She even waved back, I think. I should go to the town more often...</div>
]
(else:)[
*Locked Safe*
]
(if: $code3 is true)[
You open the safe with the combination to find a piece of paper.
<div class="googleFont"> //y^^2^^=a^^2^^+b^^2^^
y^^2^^=25+81
Y^^2^^=106
y=~~?~~
~~''THIS SHOULD BE SIMPLE!!!''~~//</div>
]
(else:)[
*Locked Safe*
]
[[Turn left.|Hallway 6]]
[[Go back.|Hallway 4]]There is a note on the ground.
<div class="googleFont">The bird keeps trying to escape its cage. Almost did, but I bound it iwth wire. It's mischevious and troublesome. Hopefully that won't transfer.</div>
[[Go forward.|Study]]
[[Go back.|Hallway 5]](if: $key2 is false)[
You see a bronze key on the ground of this otherwise empty room.
Items:
(link: "Pick up bronze key.")[(set: $key2 to true)You have found a key.]
]
(else:)[
There is nothing here.
]
[[Turn left.|Hallway 7]]
[[Go back.|Hallway 6]](if: $code3 is false)[
There is a sheet of paper on the ground. Pick it up?
Items:
(link: "Pick up paper.")[(set: $code3 to true)You have found a combination.
<div class="googleFont">2-1-00</div>]
]
(else:)[
There is nothing here.
]
[[Go forward.|Hallway 8]]
[[Go back.|Study]]There is a note on the ground and a safe in the wall. The note reads:
<div class="googleFont">It's quite lonely here, except for the bird and the snakes. I need human interaction, but town is so far away. ~~I'm losing my mind here~~ It's so lonely.</div>
(if: $code4 is true)[
You open the safe with the combination to find a piece of paper.
<div class="googleFont">//Dear Evangeline,
You are to beauty as the sun is to light;
That is, you create it in every respite;
~~The world is far more empty, quite right,
for without you, all life is a blight;~~
//^^I don't want her to see me as a sociopath^^//
~~For you are~~
~~Your beauty~~
~~I~~
~~You~~
~~Love~~
~~I love you, Evaneline~~//
This is pointless</div>
]
(else:)[
*Locked Safe*
]
[[Turn left.|Hallway 9]]
[[Go back.|Hallway 7]](if: $code4 is false)[
There is a sheet of paper on the ground. Pick it up?
Items:
(link: "Pick up paper.")[(set: $code4 to true)You have found a combination.
<div class="googleFont">2-10-0</div>]
]
(else:)[ ]
(if: $key2 is true)[
[[Third Floor]]
]
(else:)[
*Locked Door*
]
[[Go back.|Hallway 8]]You arrive at a giant, open labratory. Several beakers are full of liquid and there is a bird's cage sitting open at the end. A brightly colored quetzal rests on top, staring at you.
The bird squawks with pleasure and flits away, over to a pile of paper on a [[desk|Desk]].
You look around some more and notice the filing cabinets. Should you [[open|Cabinets]] them?
Looking even furhter, you notice a [[skeleton|Body]] clutching a piece of paper in his hand.
Then again, this place is giving you the creeps. Maybe going back [[downstairs|Hallway 9]] would be best.<div class="title">''"Quetzal"'' is a text-based adventure game.
Explore rooms within the Tower to discover new things about the building's dark history.
Find notes that reveal secrets about the history or about the house.
The goal of the game is to find everything you can inside the house and make it out alive.
You accomplish this task by making choices that may or may not decide your outcomes. Each choice has a different influence on the story's ending. Will you escape alive?
[[Back to menu.|Menu]]
</div>You open the door, the light blinding you for a moment just as the monster nears your feet. You get a quick glimpse at it before you shut the metal door:
Red eyes set in a scaly snake head glare at you before the door clangs shut. It was brightly colored, like the quetzal that had accompanied you within the house, and it had wings that were just as beautiful.
Still, the monster's snarls would haunt you forever.
[[Game over.|Congrats]]<div class="title">......"Quetzal.html" has stopped working.......
...............................................
...............................................
.[[Wait|Credits1]]...............[[Reset|Menu]].
...............................................</div>The bird pecks at you with curiosity, but flees the moment you wave your hand. You open the desk.
(if: $keyb is false)[
You see a golden key at the bottom of the drawer alongside a note.
<div class="googleFont">//''To do''
1. Reinforce steel doors.
~~2. Isolate genome~~
3. Find antidote ^^(does it even exist?)^^
4. find that damned quetzal//
</div>
Items:
(link: "Pick up golden key.")[(set: $keyb to true)You have found a key.]
]
(else:)[
There is nothing here except a note.
<div class="googleFont">//''To do''
1. Reinforce steel doors.
~~2. Isolate genome~~
3. Find antidote ^^(does it even exist?)^^
4. find that damned quetzal//
</div>
]
[[Go back.|Third Floor]]You open the filing cabinets with a great yank. They had rusted shut, it seems. What could be inside?
(if: $code2 is false)[
There is a combination and a note.
<div class="googleFont">That bird got loose from its cage again. I'm going to have to go find it, but first I need to see about this viper venom...</div>
Items:
(link: "Pick up paper.")[(set: $code2 to true)You have found a combination.
<div class="googleFont">21-00</div>]
]
(else:)[<div class="googleFont">That bird got loose from its cage again. I'm going to have to go find it, but first I need to see about this viper venom...</div>
]
[[Go back.|Third Floor]]Investigating the skeleton's grip, you notice it's not just one paper; it's three sheets, each with something different written on it.
<div class="googleFont">{
(set: $notes to (a: "~~''//I've fed the beast, finally. Evangleine was given a more than beffiting end//''~~
What have I done?","She said no ~~but that's okay~~ ~~I have to accept~~
''//HUMANKIND IS A SCOURGE THAT NEEDS TO BE ERADICATED//''", "~~It's growing larger each day. I need to kill it before it's too late, but~~
//''I have created God''//", "~~What have I created? This isn't natural! I need to find a way to reverse this. I must attone~~
//''IT IS DONE''//", "What have I done? I feel like I'm losing my mind!", "help me"))
(link-repeat: "[(print: $notes's 1st)]<band|")[(replace: ?band)[(set: $notes to (rotated: -1, ...$notes))(print: $notes's 1st)]]
}</div>
[[Go back.|Third Floor]]<div class="title">//"Quetzal" is a text-based adventure game that features some horror elements. Though there are no jumpscares, the music and content may not be appropriate for all players.//
[[Menu]]</div><div class="title">''"Quetzal"'' is produced and distributed by Quetzalcoatl 2100 Productions
Story by...
Quetzalcoatl 2100
Game design by...
Quetzalcoatl 2100
Game made with...
Twine Text-Based Game Engine
[[Go to Menu?|Menu]]
</div>{
(live: 1s)[
(stop:)
<div class="title">Quetzalcoatl 2100 Studios presents...</div>
]
}
{
(live: 5s)[
(stop:)
(goto: "Loading 2")
]
}<div class="title">A game created with Twine...</div>
<div class="title">(css: "font-size: 500%;")[
{
(live: 3s)[
(stop:)
<!-- Set the text to show -->
(set: $textToShow to "Quetzal")
<!-- Display (call) the Typewriter passage -->
(display: "Title")
]
}
]
{
(live: 12s)[
(stop:)
[[Start|Menu]]
]
}
</div>{
<!-- Create an empty array -->
(set: $textArray to (a:) )
<!-- Convert the string into an array -->
(for: each _item, ...$textToShow)[
(set: $textArray to it + (a: _item) )
]
<!-- Harlowe arrays start at index 1 -->
(set: $textArrayLength to 1)
<!-- Set a delay of 1 second per loop -->
(live: 1s)[
<!-- Test if textArrayLength is length of textArray yet -->
(if: $textArrayLength >= $textArray's length)[
<!-- Stop the looping and show textToShow -->
(stop:)
$textToShow
]
(else:)[
<!-- Show substring of textToShow -->
(substring: $textToShow, 1, $textArrayLength)
<!-- Update the index to next value -->
(set: $textArrayLength to it + 1)
]
]
}