I want a script so that if a count hits 10 then the background flashes.
A popup appears that requires a Y or y to reset the count to zero and stop flashing.
if count >9
then
switch background 1
wait .2 seconds
switch background 2
wait .2 seconds
set question to pop up 'Do you wish to reset the system state? Press Y or y' and get input
if question = Y or question = y
set count to zero
It works so far, but when the input is entered it always asks twice and it doesn't seem to matter what is entered.
aaagh
Offline
Hi, please post a link to your project and I'll have a look at the logic.
Offline