Another thing you could do is add a loop like this:
Just replace 69 with the number of frames you wish to pass until the next part of the script runs (1 second is around 60 frames; you may need to do this more than once for values above 255).
What kind of event would it be?