Why not use:
Code:
on *:text:!tsearch*:#:
 if (!%noo.flood) {
 set %no.flood 1
 tsearch $nick $strip($2-)
 .timer 1 20 unset %noo.flood
}

If the variable %noo.flood is set, then the script wont trigger. change the value 20 to what ever you want, now you can use the script every 20 seconds.

Last edited by sparta; 10/12/08 12:14 PM.

if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }