Multiple conditions
Posted: Sat Nov 22, 2008 3:47 pm
Hi, i know this has been posted before somewhere, but i couldn't seem to find it.
anyways, how do you script something so as that it requires mulitple things to be true for the actions to be performed?
AKA,
if (var1==1)
if(var2==1)
{
do a bunch of stuff
}
...but how do i get it to include BOTH variables in it's check?
anyways, how do you script something so as that it requires mulitple things to be true for the actions to be performed?
AKA,
if (var1==1)
if(var2==1)
{
do a bunch of stuff
}
...but how do i get it to include BOTH variables in it's check?