I don't really know how to phrase things probably, sorry.
So I kinda want the link to loop back and appear new texts for the story
Thursday, 9:30pm
You're at the
Red Cherries on Carol street, right around the corner.
So after you clicked the link, it will direct you to a new passage, correct? So I'll put another link in that new passage, telling another bit of the story. Then put a link to loop it back to the start with the two sentences above with the new sentence below. Like, when you pressed the
You feel nostalgic, how do you make it connect to the first passage plus showing the new texts?
Comments
There are a number of ways you can do this, each of them has their own pros and cons. The two most common ways are: 1. use a Boolean $variable to track that the reader has visited the relevant passage; and 2. check to see if the name of the relevant passage is in the Array returned by the (history: ) macro.
Generally I recommend using method 1 because I believe they allow more flexibility but in this case I suggest do method 2, both methods use an (if: ) macro to determine what gets shown to the reader.
You did not state the name of the first passage so I will name it Red Cherries in the following example, which consists of two passages.
1. The Red Cherries passage: ... note the usage of the Text->Passage format of a markup link to allow the target passage name to be different that the link text, as well as using backslash to control the line-breaks that appear in the output.
2. The Red Cherries summary passage: ... note again the usage of the Text->Passage format of a markup link.