Greetings Collective and Members,

How would I add a timer to this code to enable the reading of a sizeable text file back to a remote user via a whisper to them without flooding out the script in doing so?

on *:TEXT:!item*:#:{ if ( $read(items.txt,s,$$2-) != $null ) { msg # $nick $ifmatch }
else {
msg # $nick Item " $+ $$2- $+ " not found.
}
}


Thanks for your time and consideration,

Regards,
MDA