__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.
< dunker> !fleet-list
< gozerbot> fleet = ['main']
< dunker> !fleet-addirc ircnet gozertest irc.xs4all.nl
< gozerbot> ircnet started
< dunker> !fleet-list
< gozerbot> fleet = ['main', 'ircnet']
(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
< 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.
< dunker> !fleet-del ircnet
< gozerbot> ircnet deleted