Was thinking about the very close problem. I think you'd be advised with a 
better solution, since I'm a total newbie, but try this one:

Filtered List Variable Assignment

This form of the set variable widget evaluates the filter and assigns the 
result to the variable as a space-separated list (using double square 
brackets for titles containing spaces).

<$set name="myVariable" filter="[tag[HelloThere]]">
<$text text=<<myVariable>>/>
</$set>


Source: https://tiddlywiki.com/#SetWidget

for if/then - just insert your filter. for me it was:

<$set name="myVariable" filter="[title[tiddler2]state[value1]then[good 
result]else[bad result]]">
<$text text=<<myVariable>>/>
</$set>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ec872e97-c1ce-41a6-8bb2-10735cb53d3do%40googlegroups.com.

Reply via email to