source: tags/release-0-0-4/README @ 1143

Revision 41, 7.9 KB checked in by anonymous, 9 years ago (diff)

This commit was manufactured by cvs2svn to create tag
'release-0-0-4'.

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