SourceForge Logo

NAME

Boucherot::command - Package for non OO usual command for Boucherot.

SYNOPSIS

  use Boucherot;

  Boucherot::command::add_message_handler("PRIVMSG",privmsg_handler);
  my $bot=new Boucherot;
  $bot->start();

  sub privmsg_handler {
    my $line=shift;
    printf "Oh, this is a PRIVMSG message : <%s>", $line;
  }

DESCRIPTION

This package contains some usefull non OO function to control Boucherot. Notice that the best way to control Boucherot is to use some plugins.

The philosophy of this package look like the XChat one, because all the XChat emulation use Boucherot::xchat that use Boucherot::command.

Boucherot::command contains some functions that doesn't exists in XChat Perl API like add_ctcp_handler.

FUNCTIONS

AUTHORS

This class was written by Arthibus Gissehel <gissehel@vachefolle.com> in 2000.

NOTES

This class is part of the Boucherot project.