FLEET

__copyright__ = ‘this file is in the public domain’

the bot main program can have multiple irc and or jabber bots. this is done by making a list of bots.

Get a list of the bots in the fleet

< dunker> !fleet-list
< gozerbot> fleet = ['main']

Add a irc bot to the fleet

< dunker> !fleet-addirc ircnet gozertest irc.xs4all.nl
< gozerbot> ircnet started

Check

< dunker> !fleet-list
< gozerbot> fleet = ['main', 'ircnet']

Add jabber bot

(this can only be done on a jabber bot because of password passing .. irc is not save, use a private chat to the jabberbot)

< dunker> !fleet-addjabber test jabber.xs4all.nl jtest@jabber.xs4all.nl xwe23

(15:36:09) dunker@jabber.xs4all.nl/Gaim: !fleet-addjabber test
jabber.xs4all.nl jtest@jabber.xs4all.nl AweQS23
(15:36:11) jtest: test started

Make another bot join a channel

< dunker> !cmnd ircnet join #dunkbots

same goes for part and other commands you want to do. use the all argument to do a command on all other bots.

Delete a bot

< dunker> !fleet-del ircnet
< gozerbot> ircnet deleted

Table Of Contents

Previous topic

FAQ

Next topic

FLOW

This Page