I can use if statements but for some reason i cant use else if or else statements at all in my scripts. I've tried so many different ways to solve this. here is my sample code.
if (message == "Add 1 to green" && count == 0)
green_count += 1;
count += 1;
llSetText("Green: " +(string)green_count,<1.0,1.0,1.0>,1.0);
else
count -= 1;
I'm constantly getting an error on the else command line.