The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Bot::ICB - Provides a simple Net::IRC-like interface to ICB

SYNOPSIS

  use Bot::ICB;

  my $bot = Bot::ICB->newconn();

  my $on_connect = sub {
    my $bot = shift;
    $bot->sendcmd("g", "unga");    
  };

  $bot->add_handler('connect', $on_connect);

  $bot->login(user => 'dum');
  $bot->start();

DESCRIPTION

This module provides a simple Net::IRC-like interface to the ICB chat protocol.

Sorry for the lack of documentation. See eg/samplebot.pl for a trivial example of usage.

AUTHOR

Brian Moseley <bcm-nospam@maz.org<gt>

SEE ALSO

Net::ICB, perl.