From what I’ve read this seems like it needs a workaround or I need a better understanding of how the History system works. Trying to update $theBool so I can turn off a passage appearing more than once.
::Main Passage
<<set $theBool = false>>
@@#chat;
@@
@@#links;
<<link "Passage 1">><<include "Passage1">><</link>>
<<link "Passage 2">><<include "Passage2">><</link>>
<<link "Passage 3">><<include "Passage3">><</link>>
@@
::Passage1
<<append "#chat">>
Lots of text
<</append>>
<<replace "#links" t8n>>
@@#links;
<<if $theBool == false>>
<<link "Passage2">><<set $theBool = true>><<include "Passage2">><</link>>
<</if>>
<<link "Passage3">><<include "Passage3">>
<</link>>
@@
<</replace>>
::Passage2
<<append "#chat">>
Even more text, but this time I only want to have the option to play it once, specifically by changing a variable if possible.
<</append>>
<<replace "#links" t8n>>
@@#links;
<<link "Passage1">><<include "Passage1">>
<</link>>
<<link "Passage3">><<include "Passage3">>
<</link>>
@@
<</replace>>
::Passage3
<<append "#chat">>
Other boring text
<</append>>
<<replace "#links" t8n>>
@@#links;
<<link "Passage1">><<include "Passage1">>
<</link>>
<<if $theBool == false>>
<<link "Passage2">><<set $theBool = true>><<include "Passage2">><</link>>
<</if>>
@@
<</replace>>
Just trying to find some way to gate off parts of the conversation as the conversation is explored.
Also sorry if this isn’t how the post is supposed to be formatted, first post here.