Open piousdeer opened 1 year ago
RULE_CONDITION
i guess don't is exactly a value, its just a way to detect control blocks and creating actions for loop if condition is true/false
and skip
actions.
An short work-around is creating an macro with these conditions and reevaluating the macro in waitUntill
action.
#!define myRuleTrigger (w and (x or y or z))
rule "do something":
@Condition myRuleTrigger
# do stuff
# ...
# wait untill trigger is not executed.
waitUntill(not myRuleTrigger, 9999)
# cleanup
# ...
When not used in the currently supported contexts, it should compile to the current rule's conditions, joined with
and
s. This would be especially useful for use withwaitUntil
: