When starting many timers at once (I'm trying with 80-100), mIRC hangs for 5-20 seconds while the timers are being added. I'm trying to use the timers in place of a sleep command. Here's roughly what I'm trying to do below, it creates many timers at once to delay running socketalias for 5 seconds after each run. Does anyone know if there's a better way to implement a delay without mIRC hanging?


while (%looptimeout < 500) {
timer 1 %looptimeout socketalias $read(nicklist,1) | write -dl1 nicklist
inc -zs %looptimeout 5
}