Why not use:
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.