Originally Posted By: Locoweed
Think this is closer to what you want.

Code:
var framesCheck = 0;
var secondsCheck = total_secs;

while(1)
{
if(framesCheck == 10) // after 10 frames have passed
{
  framesCheck = 0;
  beep();
}
if(total_secs >= (secondsCheck+5)) // after 5 seconds have passed
{
  secondsCheck = total_secs;
  beep();
}

framesCheck++;
wait(1);
}



Loco


Almost, but it will beep every 5 seconds.

I may have to re-think my logic on this mechanism...