It looks like you're new here. If you want to get involved, click one of these buttons!
(if: $Wama is not 0)[Waschmaschine aus dem Weg räumen. (click: "räumen")[(set: $Zeit to $Zeit +5)(if:$Meister is 1)[(set: $Wama to $Wama - 10)](else:)[(set: $Wama to $Wama - 5)]]]
Comments
eg. Change (click: "räumen")[ to be (link-repeat: "räumen")[
But the passage stays unaffected by the change until I refresh it somehow.
When $Wama reaches 0 it does not display the text.
You example needs to contain everything to wanted to happen.
To do what you want you first have to indicate where you want the text to be displayed and secondly check the variable each time you change it's value so you know when to display the text.
Try something like the following which uses a combination of a named hook and a (replace: ) macro. ... I added line-breaks and indentation to make the example slightly more readable.
In the end I used this code and created a loop with the passage.