All I want to do is check ONCE if Timer==20 or any other number. I'll show you what I am working on it will explain better than I can.
#ReStart
Timer=30
#Timer
~1
timer=timer-1
?(timer==20): goto "Infantry"
?(timer==10): goto "Armor"
?(timer==1): goto "Air"
?(timer<=0): goto "ReStart"
goto "timer"
The actual timer will count down as desired but the check for "Infantry" hits every second. When 10 seconds hits I can get it to go to armor once and same with Air. I predict either I have the syntax wrong or (and this is probly the case) the == command only works to make Parameters equal to Parameters, and apparently numbers are not parameters. I read some interesting stuff that can be done in the Decription and I have read about a few other scripts that are Timers but with all that effort toward creating all these Boolean variables there isn't a simple way to check to see if a number is equal to another number? I even went as far as to try Reverse phsycology on it
#ReStart
Timer=30
#Timer
~1
timer=timer-1
?((timer>=21) AND (timer<=23)): goto "Infantry"
?((timer>=11) AND (timer<=13)): goto "Armor"
?((timer>=1) AND (timer<=3)): goto "Air"
?(timer<=0): goto "ReStart"
goto "timer"
This actually produces the same result as before... So I guess the question is.. How do I make parameters equal to numbers?