If statement with and/or


#1

Hi All,

I think this will end up being a simple one but for the life of me I can work it out. I want to have an if statement with an and/or. Is this possible or so I approach in another way? The statement would be

If MS1 and MS2 are active
or
If DS1 and DS2 are open
and
Location mode is Dawn
Then…

When I try to change the logic operator it changes it for the entire statement?

Sorry for the noob question.


#2

Yes, I have also had a little difficulty figuring this one out. Maybe someone has a better option, but here is how I do it.

image


#3

Pantheon explained well (I didn’t know how it was done either, thank you)

Since I didn’t know, I was using something like this so far, maybe it works for you…
IF within IF


#4

I am a fan of Ike’s method since that gives me more granular control, without adding more triggers.


Pro Tip:

This structure works if the first two match each other. (both triggers, or both conditions)
The third one must be a condition