ah ty smile, ya i knew i could do a loop i was just hoping their would be something simpler lol, like a good ol flag lol.


*edit* btw, regex scares the f00k out of me! lol. is regex more effective than doing a loop just doing like (roughly)
Code:
next_timer {
if ($1 == $null) halt
var %i = 1
while $timer($1 $+ %i) != $null {
inc %i
}
return $1 $+ %i
}
 

Last edited by Zeusbwr; 13/04/04 12:03 AM.