After configuring the bot you can just run it with: ./bot.pl
Owner functions are sent as a chat message via the jabber server. They allways start with pls and then the command. (Your JID have to be $owner)
Adds jid to the roster.
This sends a subscribe request to jid (Just use it if someone has not allowed the bot to see his online status.)
This basically calls rosteradd and subscribe. So you should allways call add not rosteradd
Like rosteradd you shouldn't use it.
Sends a unsubscribe to jid. (You shouldn't use it without rosterremove)
Basically just calls rosterremove and unsubscribe. Normally You should allways use this command to remove a jid.
Opens $savefile and calls every save() method of every module.
Opens $savefile and calls every load() method of every module.
Calls the save method and exits then.
Sets the flags of jid to flags
Connects to server. If there is no nick the bot will connect as $stdIRCnick. (The bot can connect to multiple servers.)
Disconnects from the active server. (May there is more documentation at the IRC module)
Joins channel on the active IRC server
Parts from channel on the active IRC server