I´m working in two timers that repeat a number of times depending on the variable... I want that the first timer start and count down 20 seconds then the second start and count down 10 seconds.
After that I want that process repeat for the times that the variable says.
this is my card code, Can you help me?
Code: Select all
on StartTimers NumberRepeats
if NumberRepeats = 0 then exit to top
if fld 1 = 0 then
put 20 into fld "1"
subtract 1 from NumberRepeats
end if
subtract 1 from fld "1"
send "StartTimers" && NumberRepeats to me in 1 second
send "TimerTwo" to me in 1 second
end StartTimers
on TimerTwo
if fld "2" = 0 then
put 10 into fld "2"
end if
subtract 1 from fld "2"
end TimerTwo