How to repeatedly check a value if its true?

I want to make it that it repeatedly checks the code if its true (or false), even in other passages. How can I do that? Any help is appreciated, Thanks.

Hi there,

you can add the code:

(if:$var is true)[Your Text/Code Here]

to a passaged tagged header or footer (it will load with every passage)

There are probably multiple ways to do it.

But you could put an (if:) macro in each passage you want to check.

There’s also a macro called (rerun:) you could check out.