Boucherot - The Boucherot IRC bot
use Boucherot;
my $bot=new Boucherot; $bot->start();
# Usually, this code won't be executed... The bot will be on, until # it crash
Boucherot is a bot for IRC. It was using Net::IRC at the beginning, but now, it's independant.
The goal of boucherot is to make something at least as powerful as eggdrop, but in perl.
class Boucherot
Attributs:
+$ CRLF : Scalar -$ instance : Boucherot
- _set_of_connections : Boucherot::SetOfConnections
Methods:
+$ new() : Boucherot + set_of_connections() : Boucherot::SetOfConnections + start() : - _init() :
+$ new() : Boucherot
Create a new instane of Boucherot. Note that ONLY ONE instance can exists. Creating two instances will crash!
+ set_of_connections() : Boucherot::SetOfConnections
Acces to the auto-created instance of SetOfConnections for the bot.
+ start() :
Start the bot. Never end...
- _init() :
Initialize the bot. That method is auto-called when creating a new instance.
This section deels with unix's signals, not with xchat-like signals.
For xchat-like signals, please see Boucherot::signal
.
Those siganls have been overridden:
Signal Function Why
INT exit To let the objects be safely destroyed. TERM exit To let the objects be safely destroyed.
This class was written by Arthibus Gissehel <gissehel@vachefolle.com> in 2000.
This class is part of the Boucherot project.