root/tags/release_0_0_3/README

Revision 2, 7.9 KB (checked in by jamesoff, 6 years ago)

Initial revision

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1README for bMotion
2------------------
3
4http://bmotion.sourceforge.net
5
6Thanks for trying out bMotion... if you encounter problems please
7check the bug tracker on sourceforge before reporting them. The
8bugtracker is the best place to report problems.
9
10You can also get limited assistance from #bmotion on EFNet -- note
11I do this in my spare time so if I'm not around to help, don't take
12it personally :) Perhaps a community of other people who can help
13will spring up.
14
15There's also a sourceforge mailing list you may want to join for
16discussing bMotion (as well as a low-traffic announements list).
17
18Below are the instructions for installing bMotion, taken from the manual.
19The full manual (currently a work in progress) is available from:
20
21http://bmotion.sourceforge.net/docs/bMotion.pdf
22
23Have fun!
24
25James "Off" Seward
26Developer, bMotion
27
28---------------------------------------------------------------------
29HOW TO INSTALL
30
31(This assumes a working knowledge of eggdrop. If you're having problems
32installing due to problems with eggdrop or your configuration, please
33take them to the proper place rather than bringing them to me :)
34
35You'll need the following:
36
37* bMotion's code
38* An eggdrop, already set up and working. (If you don't know
39how to do this, or what I'm talking about, stop reading right here.)
40* A cup of
41coffee
42
43To get the latest bMotion release source, download it from
44http://bmotion.sourceforge.net
45
46If you're feeling daring, you can run the CVS code. The CVS version is always
47the latest version, but it may have half-complete features and may even crash
48your bot (however, I'm not in the habit of knowingly commiting code that kills
49eggdrop to CVS... after all, it's what my bot runs).
50
51
52
53Installing the files
54
55Once you have your bMotion code, eggdrop, and coffee do the following:
56
57Put the bmotion...tar.gz file in your eggdrop's scripts directory (usually
58.../scripts). Run tar zxvf bmotion...tar.gz (substituting the proper filename).
59This extracts the bMotion code to .../scripts/bmotion/. If you want to move the
60code somewhere else, do so now. Change into the bmotion directory, and edit
61bMotion.tcl with your favourite editor. The first two lines of code should look
62like this:
63
64set bMotionModules “scripts/bmotion/modules” set bMotionPlugins
65“scripts/bmotion/plugins”
66
67
68
69If you put bmotion somewhere else, edit these two variables to match. Close and
70save the file.
71
72Now change into the modules directory. Fire up your editor and open settings.tcl
73This file contains (brace yourself) all the settings for bMotion. You WILL want
74to change these, so pay attention:
75
76set bMotionInfo(gender) “male” This sets the bot's gender. Choose from “male” or
77“female”
78
79set bMotionInfo(balefire) 1 A somewhat traditionally-named setting. This
80determines if the bot responds to things not directly addressed to it that you
81wouldn't want more than one bot to answer. If you have only one bMotion bot on a
82channel, set it to 1, else set it to 0 on all but one of the bots.
83
84set bMotionInfo(randomChannels) { “#molsoft” “#ags” “#exeter” “#namcoarcade”
85“#startrek” } This is the list of the channels bMotion should be active on. If
86the bot's on a channel not listed here, it will ignore all bMotion
87commands/events there. Putting a channel in here that the bot isn't on will
88likely cause TCL to strop, so get it right. Remember, bMotion can be annoying,
89so only put it in channels where you have the right to, and where it will be
90welcome.
91
92set bMotionInfo(orientation) “straight” Set the bot's sexual orientation. Choose
93“straight”, “bi”, “gay”, or “lesbian”
94
95set bMotionSettings(needI) 1 Set this to one to require users to have the global
96I (that's capital i) flag for most of bMotion to respond to them. This flag
97isn't used much now anyway. Set it to 0 to have the bot treat all users equally.
98
99set bMotionSettings(melMode) 0 Set this to 1 to make the bot ignore its morals
100and sleep with anyone, regardless of gender or orientation.
101
102set bMotionSettings(botnicks) “nt|bots|the bots” This is an important one. It
103defines the names your bot understands as referring to itself. (My bot is called
104NoTopic, so the first field is nt). List all the names it should respond to,
105separating them with a | (shift-\ on my keyboard). Case doesn't matter. Don't
106use parentheses — ( and ). You don't need to include the bot's IRC nick, it will
107always respond to that.
108
109set bMotionSettings(typos) 7 A factor affecting how many typos the bot should
110make. 100 will make the bot make typos almost continuously, 0 will stop it.
111(This is used by the output_typos plugin. See the section on Managing bMotion
112for more information about turning plugins on and off.)
113
114set bMotionSettings(colloq) 10 A factor affecting how much the bot will use
115(English) colloquialisms (common expressions). Values are 0 to 100 as above.
116
117set bMotionSettings(noPlugin) “simple:huk,complex:wb” If you don't want bMotion
118to load a plugin ever, but don't want to delete the file, list them here using
119<type>:<name>. You can list more than one by separating them with commas. See
120the Managing bMotion chapter for more information.
121
122
123
124set bMotionInfo(minRandomDelay) 20 set bMotionInfo(maxRandomDelay) 120 These two
125settings control how often the bot does random things (like going “lalala” and
126stuff). The first sets the minimum length of the gap between events, and the
127latter sets the longest delay. bMotion will pick a value between the two. These
128values are both in minutes.
129
130set bMotionInfo(maxIdleGap) 45 This setting stops the bot talking to itself.
131During bMotion's early days, it was common for it to chatter (“lalala”) to
132itself overnight even though everyone else in the channel was idle. If there has
133been no activity on a channel for more than this many minutes, bMotion will keep
134quiet (or set itself away until people start talking again).
135
136set bMotionInfo(brigDelay) 30 This is the number of seconds someone should be
137kept in the brig before being tried by the courtmartial plugin.
138
139set bMotionSettings(leetRandom) 0.5 How often the bot should say something in
1401337-speak randomly. Values are 0-100.
141
142set bMotionSettings(languages) “en,nl” set bMotionInfo(language) “en” Choose the
143languages bMotion thinks it can speak. Changing these won't actually make the
144bot speak a different language; they change which plugins it loads. Currently,
145bMotion ships with just English plugins (and about 2 Dutch ones). Don't change
146this unless you know you have other languages available. See the Managing
147bMotion chapter for more information.
148
149Save and close settings.tcl
150
151Back up to your eggdrop directory and open your bot's config file. Scroll to the
152end section where the source ... statements are to load scripts, and add:
153
154source scripts/bmotion/bMotion.tcl
155
156(If you put bMotion somewhere else, adjust this.)
157
158Save and close the configuration file.
159
160Optional bMotion saves some information about users in the userfile, and you may
161want to set/edit these directly (indeed, you'll need to make this change in
162order to take advantage of the feature in bMotion).
163
164Change to your scripts directory, and open userinfo.tcl (the filename may be
165slightly different).
166
167Find the line that looks like this: set userinfo-fields “URL BF GF IRL EMAIL DOB
168PHONE ICQ”
169
170Add “GENDER IRL” to the list. Save the file.
171(End optional section).
172
173
174Ok. Now for the important bit. Rehash your bot (/msg <botnick> rehash
175<password>, or .rehash on the partyline). If all goes well, you should see
176something like:
177
178[21:13] bMotion v 1.19 2002/11/19 19:54:55 james AI online (randoms file: $Id:
179abstracts.tcl,v 1.25 2002/11/18 23:28:58 james Exp $)
180
181...as your bot starts up.
182
183If you get an error, refer to the currently non-existent Troubleshooting
184section. (Sorry, until I get feedback on what goes wrong for people I can't
185really write that bit.)
186
187If you do require assistance, try me in #bmotion on EFNet. Don't ask for help in
188any of my other channels because I shall taunt you.
189
190To check it's working, try typing .bmadmin status on the partyline.
191
192Drink the coffee.
Note: See TracBrowser for help on using the browser.