Page 1 of 1

a small question about scripting logic

Posted: 07 Sep 2015 10:45
by MURTUMA
Is it possible of how it is possible to use IF operator like this: if ("xx" OR "yy AND zz"?

Either only xx should be true or both yy and zz. I have trouble finding correct syntax.

Re: a small question about scripting logic

Posted: 07 Sep 2015 13:26
by colabi
if (xx OR (zz AND yy) == true)?

Re: a small question about scripting logic

Posted: 07 Sep 2015 17:08
by jarlerb
If xx, yy and zz has the value true or false:
if (xx || (yy && zz))
else:
if (xx== "something" || (yy =="something" && zz=="something"))

Regards, Jarle