User Tools

Site Tools


twine1:visitedtag

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

twine1:visitedtag [2017/10/09 20:39] (current)
Line 1: Line 1:
 +====visitedTag(string,​ string...)====
 +
 +Has a value equal to the number of times you've visited passages with the given tags. If you use tags to delineate parts of your story, this can be a useful variant of visited().
 +
 +<​code>​Hard to believe you spent <<​print visitedTag("​Swamp"​)>>​ turns inside the swamp!
 +
 +<<if visitedTag("​church","​death"​)>>​\
 +You died in the church, for some reason.
 +<<​endif>>​\
 +</​code>​
  
twine1/visitedtag.txt ยท Last modified: 2017/10/09 20:39 (external edit)