zbot.pl

Summary
zbot.pl
Variables
$botObject of Net::Jabber::Bot class
Functions
backgroundChecksIs called in regular intervals defined at Configs “loop_sleep_time” in seconds (standard 15 seconds)
newMessageIs called when Bot gets a message Should react on message, call plugins and answer
initIs called at startup.

Variables

$bot

my $bot

Object of Net::Jabber::Bot class

Functions

backgroundChecks

sub backgroundChecks

Is called in regular intervals defined at Configs “loop_sleep_time” in seconds (standard 15 seconds)

The idle function of every plugin is called here (if defined and registered)

newMessage

sub newMessage

Is called when Bot gets a message Should react on message, call plugins and answer

Parameters

Are set by instance of bot

init

sub init

Is called at startup.  Loads modules and plugins.  Initialises bot.

my $bot
Object of Net::Jabber::Bot class
sub backgroundChecks
Is called in regular intervals defined at Configs “loop_sleep_time” in seconds (standard 15 seconds)
sub newMessage
Is called when Bot gets a message Should react on message, call plugins and answer
sub init
Is called at startup.
Close