As I understand it, what you really want here is a widget. Simply referring to a variable’s name will return whatever that variable is currently set to. You’ll need something that will set that variable and output the result:
Place this widget (changing the values in the ‘either’ function to whatever you actually need them to be) in a passage with the tag ‘widget’. Then, where you need the random value to appear, simply call the widget: <<var1>>
Thanks mate. This does exactly what I wanted. I can’t seem to tag a passage as ‘widget’. It seems to be an invalid tag, producing an error. But the code works regardless, so thanks again!
Additionally, make sure you aren’t including the ‘’ around the word ‘widget’. I only included those to seperate it from the other text; sorry about the confusion if that was your issue.