Brian Moseley > Bot-ICB > Bot::ICB

Download:
Bot-ICB-0.12.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.12   Source  

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.

syntax highlighting: