root/tags/release-0-0-8/README

Revision 115, 8.6 KB (checked in by jamesoff, 6 years ago)

Updated

  • 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 coffee
41
42Version requirements:
43* eggdrop 1.6.x (where x is reasonably high)
44* TCL 8.3 or better
45
46(bMotion may work to a varying degree on older versions, but you'll get
47errors probably. If you're using older versions (check .status) then
48I strongly recommend you upgrade.)
49
50To get the latest bMotion release source, download it from
51http://bmotion.sourceforge.net
52
53If you're feeling daring, you can run the CVS code. The CVS version is always
54the latest version, but it may have half-complete features and may even crash
55your bot (however, I'm not in the habit of knowingly commiting code that kills
56eggdrop to CVS... after all, it's what my bot runs).
57
58
59Installing the files
60
61Once you have your bMotion code, eggdrop, and coffee do the following:
62
63Put the bmotion...tar.gz file in your eggdrop's scripts directory (usually
64.../scripts). Run tar zxvf bmotion...tar.gz (substituting the proper filename).
65This extracts the bMotion code to .../scripts/bmotion/. If you want to move the
66code somewhere else, do so now. Change into the bmotion directory, and edit
67bMotion.tcl with your favourite editor. The first two lines of code should look
68like this:
69
70set bMotionModules "scripts/bmotion/modules"
71set bMotionPlugins "scripts/bmotion/plugins"
72
73If you put bmotion somewhere else, edit these two variables to match. Close and
74save the file.
75
76(bMotion will try to load customised versions of certain files (see the manual for
77more on customising), and the settings file is one of them. For easier upgrades,
78copy modules/settings.tcl to modules/settings_BOTNETNICK.tcl (where BOTNETNICK is
79the value from the 'set botnetnick ...' line in your eggdrop's config). Edit that
80file instead of settings.tcl below.)
81
82Now change into the modules directory. Fire up your editor and open settings.tcl
83This file contains (brace yourself) all the settings for bMotion. You WILL want
84to change these, so pay attention:
85
86set bMotionInfo(gender) "male"
87This sets the bot's gender. Choose from "male" or "female"
88
89set bMotionInfo(balefire) 1
90A somewhat traditionally-named setting. This
91determines if the bot responds to things not directly addressed to it that you
92wouldn't want more than one bot to answer. If you have only one bMotion bot on a
93channel, set it to 1, else set it to 0 on all but one of the bots.
94
95set bMotionInfo(randomChannels) { "#molsoft" "#ags" "#exeter" "#namcoarcade"
96"#startrek" }
97This is the list of the channels bMotion should be active on. If
98the bot's on a channel not listed here, it will ignore all bMotion
99commands/events there. Putting a channel in here that the bot isn't on will
100likely cause TCL to strop, so get it right. Remember, bMotion can be annoying,
101so only put it in channels where you have the right to, and where it will be
102welcome.
103
104set bMotionInfo(orientation) "straight"
105Set the bot's sexual orientation. Choose
106"straight", "bi", "gay", or "lesbian"
107
108set bMotionSettings(needI) 1
109Set this to one to require users to have the global
110I (that's capital i) flag for most of bMotion to respond to them. This flag
111isn't used much now anyway. Set it to 0 to have the bot treat all users equally.
112
113set bMotionSettings(melMode) 0
114Set this to 1 to make the bot ignore its morals
115and sleep with anyone, regardless of gender or orientation.
116
117set bMotionSettings(botnicks) "nt|bots|the bots"
118This is an important one. It
119defines the names your bot understands as referring to itself. (My bot is called
120NoTopic, so the first field is nt). List all the names it should respond to,
121separating them with a | (shift-\ on my keyboard). Case doesn't matter. Don't
122use parentheses — ( and ). You don't need to include the bot's IRC nick, it will
123always respond to that.
124
125set bMotionSettings(typos) 7
126A factor affecting how many typos the bot should
127make. 100 will make the bot make typos almost continuously, 0 will stop it.
128(This is used by the output_typos plugin. See the section on Managing bMotion
129for more information about turning plugins on and off.)
130
131set bMotionSettings(colloq) 10
132A factor affecting how much the bot will use
133(English) colloquialisms (common expressions). Values are 0 to 100 as above.
134
135set bMotionSettings(noPlugin) "simple:huk,complex:wb"
136If you don't want bMotion
137to load a plugin ever, but don't want to delete the file, list them here using
138<type>:<name>. You can list more than one by separating them with commas. See
139the Managing bMotion chapter for more information.
140
141
142
143set bMotionInfo(minRandomDelay) 20
144set bMotionInfo(maxRandomDelay) 120
145These two
146settings control how often the bot does random things (like going "lalala" and
147stuff). The first sets the minimum length of the gap between events, and the
148latter sets the longest delay. bMotion will pick a value between the two. These
149values are both in minutes.
150
151set bMotionInfo(maxIdleGap) 45
152This setting stops the bot talking to itself.
153During bMotion's early days, it was common for it to chatter ("lalala") to
154itself overnight even though everyone else in the channel was idle. If there has
155been no activity on a channel for more than this many minutes, bMotion will keep
156quiet (or set itself away until people start talking again).
157
158set bMotionInfo(brigDelay) 30
159This is the number of seconds someone should be
160kept in the brig before being tried by the courtmartial plugin.
161
162set bMotionSettings(leetRandom) 0.5
163How often the bot should say something in
1641337-speak randomly. Values are 0-100.
165
166set bMotionSettings(languages) "en,nl"
167set bMotionInfo(language) "en"
168Choose the
169languages bMotion thinks it can speak. Changing these won't actually make the
170bot speak a different language; they change which plugins it loads. Currently,
171bMotion ships with just English plugins (and about 2 Dutch ones). Don't change
172this unless you know you have other languages available. See the Managing
173bMotion chapter for more information.
174
175Save and close settings.tcl
176
177Back up to your eggdrop directory and open your bot's config file. Scroll to the
178end section where the source ... statements are to load scripts, and add:
179
180source scripts/bmotion/bMotion.tcl
181
182(If you put bMotion somewhere else, adjust this.)
183
184Save and close the configuration file.
185
186Optional bMotion saves some information about users in the userfile, and you may
187want to set/edit these directly (indeed, you'll need to make this change in
188order to take advantage of the feature in bMotion).
189
190Change to your scripts directory, and open userinfo.tcl (the filename may be
191slightly different).
192
193Find the line that looks like this: set userinfo-fields "URL BF GF IRL EMAIL DOB
194PHONE ICQ"
195
196Add "GENDER IRL" to the list. Save the file.
197(End optional section).
198
199
200Ok. Now for the important bit. Rehash your bot (/msg <botnick> rehash
201<password>, or .rehash on the partyline). If all goes well, you should see
202something like:
203
204[21:13] bMotion v 1.19 2002/11/19 19:54:55 james AI online (randoms file: $Id:
205abstracts.tcl,v 1.25 2002/11/18 23:28:58 james Exp $)
206
207...as your bot starts up.
208
209If you get an error, refer to the currently non-existent Troubleshooting
210section. (Sorry, until I get feedback on what goes wrong for people I can't
211really write that bit.)
212
213If you do require assistance, try me in #bmotion on EFNet. Don't ask for help in
214any of my other channels because I shall taunt you.
215
216To check it's working, try typing .bmadmin status on the partyline.
217
218You can also do "!bmadmin <botnick> parse hello" in a channel and it should say hello.
219
220Drink the coffee.
Note: See TracBrowser for help on using the browser.