Timers.
set %timer #sCnt
repeat
if #sCnt > %timer
gosub dothisthing
wait 1
until #false
sub dothisthing
finditem XXX ; the colored block, you may need a findcol in here too, don't remember and I'm at work
if #findCnt > 0
{
display OK Lets do this thing!!!!
set %timer ( #sCnt + 60 ) ; one minute
}
return ; or put in your click stuff here