Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

[Harlowe] Managing multiple variable at once

Hello,

I need to do something like:

(if: $cross or $shield is "yes" and $sword or $stake is "yes")[You prepare to slay the vampire.](else:)[Bravely, you open the coffin.]

In other words, I need to check if either variable A or variable B are positive and if ar the same time either variable C or variable D are positive.

Could you please help me?
Thanks!

Comments

  • What you've got is close. The following will do what you want:
    (if: ($cross is "yes" or $shield is "yes") and ($sword is "yes" or $stake is "yes"))[You prepare to [[slay the vampire]].](else:)[Bravely, you [[open the coffin]].]
    
  • Thanks a million.
Sign In or Register to comment.