Troubleshooting
Double condition (if x=1 and y=1 then z=1)
Started by thopa on .
Sign in or create an account to join the conversation.
Hi!
I think the tittle says it all.
I had solved this problem before but cannot find the template i was using it on.
So basically i want a script or action to get executed only when two other conditions or rules are true.
Help!
I think the tittle says it all.
I had solved this problem before but cannot find the template i was using it on.
So basically i want a script or action to get executed only when two other conditions or rules are true.
Help!
I know it is late, but for the others (and this is in the manual!)
Note the == for comparing. && means and, || means or.
if (x==1 && y==1){
z = 1;
}
You need to declare X, Y and Z somewhere.Note the == for comparing. && means and, || means or.
Hi! Thanks a lot!
This is in the manual? I get confused with what manual to use!
Anyway this is great info, i can go back to implementing double button presses and combos, had to do it with sone old bomes template!
Much apreciated!
This is in the manual? I get confused with what manual to use!
Anyway this is great info, i can go back to implementing double button presses and combos, had to do it with sone old bomes template!
Much apreciated!