I’m having trouble with figuring out how to make a selectable_if check if a bolean variable is false, not true.
The error I’m getting is: Error: prologue line 327: Couldn’t parse the line after *selectable_if: not (aloof)
My code looks like this: choice
¨¨selectable_if not (aloof)
¨¨¨¨#Aloof
¨¨¨¨¨¨set aloof true
¨¨¨¨¨¨goto sheet_trait
(Okay, I give up on making it look right in here. I’m using a danish keyboard, so some things don’t translate, and I don’t know which buttons to use. The code has stars in the right places…)
Is that a boolean test to check if a variable named randomvar returns a value of true ? I think it needs to be *selectable_if (randomvar) #option in a case like that.
Outside of #options, it’s also possible to check *if foo without parentheses. Parentheses are only mandated in the case of *selectable_if because there needs to be an end to the equation before the actual #option.