I’m using Sugarcube 2, so I’m using the documentation here for reference:
https://www.motoslave.net/sugarcube/2/docs/
I’m trying to use the “either” function to show varying text pulled from a list. The Twine markup seems to think <<either("word1","word2","word3")>>
is valid syntax, but it doesn’t work as a macro; I get a “macro does not exist” type error when I try to run the story.
The documentation describes it as just a function, with this as an example:
either("Blueberry", "Cherry", "Pecan")
But I can’t just insert it like that, because it doesn’t evaluate it; it just displays it as-is in the text. How do I use the either function? Why doesn’t the documentation give an actual example of it in text?