~ubuntu-branches/ubuntu/precise/gozerbot/precise

« back to all changes in this revision

Viewing changes to doc/FLEET

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Malcolm
  • Date: 2008-06-02 19:26:39 UTC
  • mfrom: (1.1.3 upstream) (3.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080602192639-3rn65nx4q1sgd6sy
Tags: 0.8.1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
=====
2
 
Fleet
3
 
=====
4
 
 
5
 
__copyright__ = 'this file is in the public domain'
6
 
 
7
 
the bot main program can have multiple irc and or jabber bots. this is done
8
 
by making a list of bots. 
9
 
 
10
 
Get a list of the bots in the fleet
11
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12
 
::
13
 
 
14
 
  < dunker> !fleet-list
15
 
  < gozerbot> fleet = ['main']
16
 
 
17
 
Add a irc bot to the fleet
18
 
~~~~~~~~~~~~~~~~~~~~~~~~~~
19
 
::
20
 
 
21
 
  < dunker> !fleet-addirc ircnet gozertest irc.xs4all.nl
22
 
  < gozerbot> ircnet started
23
 
 
24
 
Check
25
 
~~~~~
26
 
::
27
 
 
28
 
  < dunker> !fleet-list
29
 
  < gozerbot> fleet = ['main', 'ircnet']
30
 
 
31
 
Add jabber bot
32
 
~~~~~~~~~~~~~~
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)
35
 
::
36
 
 
37
 
  < dunker> !fleet-addjabber test jabber.xs4all.nl jtest@jabber.xs4all.nl xwe23
38
 
  
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
42
 
 
43
 
Make another bot join a channel
44
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
45
 
::
46
 
 
47
 
  < dunker> !cmnd ircnet join #dunkbots
48
 
 
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.
51
 
 
52
 
Delete a bot
53
 
~~~~~~~~~~~~
54
 
::
55
 
 
56
 
  < dunker> !fleet-del ircnet
57
 
  < gozerbot> ircnet deleted