or something like this
input "time in seconds ";counter
sync on:sync rate 40
make object sphere 1,1
counter=counter*1000
counter=counter+timer()
do
if timer()>counter
delete object 1
sync
for i=1 to 10
for l=1 to 20
text i*60,l*20,"bang!"
next l
next i
sync
wait 1000
counter=timer()+100000000000000
endif
sync
loop
all you need to do is add the delay to the current timer value (the delay is in 1000ths of a second) then check for when the timer is greater than that, then trigger the event, hope thats some help.
Mentor.
PC1: P4 hyperthreading 3ghz, 1gig mem, 2x160gig hd`s, Nvidia FX5900 gfx, 6 way surround sound, PC2: AMD 1.2ghz, 512mb ram, FX5200 ultra gfx, stereo 16 bit soundblaster, ups.