D-0 has asked for the wisdom of the Perl Monks concerning the following question:
I want if (nick) type !about 2timeif($text =~ /!about/gi) { &snd_msg("About"); } sub snd_msg { my($msg) = @_; print $sock "privmsg ",$channel," \:",$msg,"\n"; }
2006-06-07 Retitled by holli, as per Monastery guidelines
Original title: 'Stop flood'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Preventing IRC flood
by rminner (Chaplain) on Jun 07, 2006 at 07:17 UTC | |
by bart (Canon) on Jun 07, 2006 at 08:10 UTC | |
by D-0 (Initiate) on Jun 07, 2006 at 07:56 UTC | |
by rminner (Chaplain) on Jun 07, 2006 at 08:14 UTC |