Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Everything else in the on_public is working, just not the actions.
I tried looking on Google but it doesn't say anything about reading user actions. Any ideas?sub on_public { my ($conn, $event) = @_; my $nick = $event->{nick}; . . . elsif ($text =~ m/slaps Wizard/i) { $conn->privmsg($conn->{channel}, "Hey, don't slap me!"); } . . . }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: using Net::IRC for actions
by friedo (Prior) on May 03, 2005 at 01:12 UTC | |
|
Re: using Net::IRC for actions
by eibwen (Friar) on May 03, 2005 at 00:28 UTC | |
by Anonymous Monk on May 03, 2005 at 00:47 UTC | |
by iblech (Friar) on May 03, 2005 at 15:48 UTC | |
|
Re: using Net::IRC for actions
by Steve_p (Priest) on May 03, 2005 at 13:28 UTC |