5
__copyright__ = 'this file is in the public domain'
7
the bot main program can have multiple irc and or jabber bots. this is done
8
by making a list of bots.
10
Get a list of the bots in the fleet
11
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15
< gozerbot> fleet = ['main']
17
Add a irc bot to the fleet
18
~~~~~~~~~~~~~~~~~~~~~~~~~~
21
< dunker> !fleet-addirc ircnet gozertest irc.xs4all.nl
22
< gozerbot> ircnet started
29
< gozerbot> fleet = ['main', 'ircnet']
33
(this can only be done on a jabber bot because of password
34
passing .. irc is not save, use a private chat to the jabberbot)
37
< dunker> !fleet-addjabber test jabber.xs4all.nl jtest@jabber.xs4all.nl xwe23
39
(15:36:09) dunker@jabber.xs4all.nl/Gaim: !fleet-addjabber test
40
jabber.xs4all.nl jtest@jabber.xs4all.nl AweQS23
41
(15:36:11) jtest: test started
43
Make another bot join a channel
44
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
47
< dunker> !cmnd ircnet join #dunkbots
49
same goes for part and other commands you want to do. use the all argument
50
to do a command on all other bots.
56
< dunker> !fleet-del ircnet
57
< gozerbot> ircnet deleted