NAME

Irssi::Bot::BasicBot::Pluggable::Module - Run Bot::BasicBot::Pluggable::Module_s in Irssi

SYNOPSIS

Loading the bot

# in Irssi
/script load bbbpm

Configure the storage

# in the shell
mkdir /home/user/botconfig.sto

# in irssi
/set bbbpm_store Storable:dir=/home/user/botconfig.sto
# reload the bot to activate new storage
/script load bbbpm

Correcting error in the storage config

/reload
/script load bbbpm
# now configure it again

Check loaded/available modules

!list

Load module

!load Karma

Silence log level

/set bbbpm_loglevel warn

MULTINET SUPPORT

To keep compatibility with other implementations:

if ($self->bot->can('MULTINET') && $self->bot->MULTINET) {
    ...
}

Configure active network for upcoming commands:

local $self->bot->{conn_tag} = $network;

Check active network in said hander:

my $network = $self->bot->{conn_tag};

SEE ALSO