Bot::Cobalt::IRC::Event::Nick - IRC Event subclass for nick changes
my $old = $nchg_ev->old_nick; my $new = $nchg_ev->new_nick; if ( $nchg_ev->equal ) { ## Case change only } my $common_chans = $nchg_ev->channels;
This is the Bot::Cobalt::IRC::Event subclass for nickname changes.
Returns the new nickname, after the nick change.
Returns the previous nickname, prior to the nick change.
Returns an arrayref containing the list of channels we share with the user that changed nicks (at the time of the nickname change).
Returns a boolean value indicating whether or not this was simply a case change (as determined via the server's announced casemapping and "eq_irc" in IRC::Utils)
Jon Portnoy <avenj@cobaltirc.org>
http://www.cobaltirc.org
To install Bot::Cobalt, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bot::Cobalt
CPAN shell
perl -MCPAN -e shell install Bot::Cobalt
For more information on module installation, please visit the detailed CPAN module installation guide.