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!
Double condition (if x=1 and y=1 then z=1)
Re: Double condition (if x=1 and y=1 then z=1)
I know it is late, but for the others (and this is in the manual!)
You need to declare X, Y and Z somewhere.
Note the == for comparing. && means and, || means or.
Code: Select all
if (x==1 && y==1){
z = 1;
}
Note the == for comparing. && means and, || means or.
Re: Double condition (if x=1 and y=1 then z=1)
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!