]> git.donarmstrong.com Git - infobot.git/blob - files/sample.config
changed email address
[infobot.git] / files / sample.config
1 # parameter settings file for the infobot
2 # kevin lenzo (lenzo@cs.cmu.edu)
3 # modified by dms
4 ###
5
6 # [str] Interface: [IRC/CLI]
7 set Interface           IRC
8
9 # IRC.
10 set ircNick             blootbot
11 set ircUser             blootbot
12 set ircName             blootbot experimental bot
13 set ircUMode            +iw
14 ###set ircHost          vh.virtualhost.org
15 set join_channels       #DEBIAN-bots
16
17 # nickserv/chanserv support.
18 ###set nickServ_pass    PASSWORD
19 ###set chanServ_ops     #chan1 #chan2
20
21 # default quit message
22 set quitMsg             adios amigos
23
24 #####
25 # logfile
26 #####
27
28 # [file] where to put logging info. comment out to disable.
29 set logfile             log/$ircUser.log
30
31 # [str] Type of logging.
32 #   DAILY       -- Create a new log each day.
33 #   DEFAULT     -- One continuous log file.
34 set logType             DAILY
35
36 # [int] Maximum log size, if logfile is defined, in bytes.
37 set maxLogSize          10000000
38
39 #####
40 # Factoid DB Configuration
41 #####
42
43 # [str] Ability to remember/tell factoids
44 #       none    -- disable.
45 #       mysql   -- MySQL
46 #       pgsql   -- PostGreSQL (NOT SUPPORTED YET)
47 #       dbm     -- Berkeley DBM
48 ### REQUIRED by factoids,freshmeat,karma,seen,...
49 set DBType              mysql
50
51 # [str] DBM filename prefix // MYSQL/PGSQL database.
52 #       eg: blootbot-factoids, blootbot-seen
53 #       eg: /var/db/mysql/blootbot/factoids.*
54 set DBName              blootbot
55
56 # [str] Hostname of database server
57 set SQLHost             localhost
58
59 # [str] mysql user allowed to insert,update,delete stuff from tables.
60 set SQLUser             blootbot
61
62 # [str] mysql password.
63 set SQLPass             PASSWORD
64
65 #####
66 # factoid-related configuration
67 #####
68
69 # [bool] Factoid support.
70 set factoids            true
71
72 # [int] maximum length of factoid key.
73 set maxKeySize          32
74
75 # [int] maximum length of factoid value.
76 set maxDataSize         450
77
78 # [int] minimum length of unaddressed (message) question without question
79 #       before it is answered involuntarily.
80 #       This ignores the 'addressing' setting.
81 #       0 to disable.
82 set minVolunteerLength  0
83
84 # [str] when should the bot bother learning new factoids.
85 #   ADDRESSED   -- only learn when addressed.
86 #   HUNGRY      -- learn irrelevent of addressing. this will catch
87 #                  _everything_, use at your own risk. I tried this ages
88 #                  ago and it caught quite funny responses but who knows
89 #                  if my modifications will prevent this or not, perhaps
90 #                  IsInvalid must be disabled?
91 set learn               ADDRESSED
92
93 # [str] different behaviour with URLs.
94 #   REQUIRE     -- means it will need to be a url type (e.g. file:, http:)
95 #   OPTIONAL    -- will take anything
96 #   REJECT      -- will not accept any urls.  this makes it easy to
97 #                  run 2 with different nicks and styles.
98 #                  ^^^ what's the point of this???
99 set acceptUrl           OPTIONAL
100
101 # [bool] profanity checking.
102 set profanityCheck      false
103
104 # [0/1] tell so-and-so about such-and-such of a factoid.
105 set allowTelling        1
106
107 # [str] other bots to ask for factoids which they may have.
108 #set friendlyBots       url purl script mrapi
109
110 #####
111 # factoid related and unrelated features, mainly Extras.
112 #####
113
114 # [str] addressing is when you name the bot. FIXME
115 #   REQUIRE     -- the bot only does something if addressed.
116 #   OPTIONAL    -- the bot responds (does not learn) irrelevent of
117 #                  addressing.
118 set addressing          REQUIRE
119
120 # [char] One-character easy recognition.
121 set addressCharacter    ~
122
123 # [str] how the bot should send messages.
124 #   PRIVATE     -- reply to private messages only, rejecting public msgs.
125 #   DEFAULT     -- reply to public _and_ private queries.
126 set talkMethod          DEFAULT
127
128 # [str] how long the output string should be before it is changed from
129 #       public to private. Value of '1' has same behaviour as superseeded
130 #       option 'preferReply PRIVATE'.
131 #       "+" before bot commands overrides this option temporarily.
132 ###set minLengthBeforePrivate 192
133
134 # [int] maximum length of reply for Extras function before popping list to
135 #       reduce number of elements.
136 set maxListReplyLength  450
137
138 # [int] maximum number of elements in list allowed for Extras function
139 #       before popping elements to reduce total count.
140 set maxListReplyCount   15
141
142 # [0/1] allow people outside any channels the bot is on to use the bot
143 #       for factoids and commands.
144 set disallowOutsiders   1
145
146 # [int] time, in seconds. (different messages)
147 set floodMessages       10:30
148 # [int] same messages.
149 set floodRepeat         2:10
150
151 # [int] Amount of time for auto-ignore (flooding) to expire.
152 set ignoreAutoExpire    5
153
154 # [int] Amount of time for forced-online ignore to expire. minutes.
155 set ignoreTempExpire    60
156
157 #####
158 # Internal (simple) bot commands
159 #####
160
161 # [0/1] irc-cli calculator.
162 set perlMath            1
163
164 # [0/1] ord/chr etc
165 set allowConv           1
166
167 # [0/1] do you want to allow DNS lookup
168 set allowDNS            1
169
170 # [0/1] Forking... enable for non-nix OS or to reduce mem usage.
171 #       This should work for Win32 and MacOS. About time, hey :)
172 set forking             1
173
174 # [int] Backlog... ideal to see what happened to the bot on console.
175 #       maximum number of lines to backlog.
176 set backlog             24
177
178 #####
179 # Miscellaneous...
180 #####
181
182 # [bool] Display a bit too much info about stuff.
183 #   0   -- disable.
184 #   1   -- minimal.
185 #   2   -- extra.
186 set VERBOSITY           1
187
188 # [0/1] Warn messages.
189 set WARN                1
190
191 # [0/1] Debugging messages.
192 set DEBUG               0
193
194 # [0/1] Work In Progress...
195 set WIP                 0
196
197 # debugging...
198 ###set dumpvars         1
199 ###set dumpvarsAtExit   1
200 # log to specific file or global log file.
201 ###set dumpvarsLogFile  dumpvars.log
202
203 # [0/1] allow 'use strict', makes bot unreliable.
204 set useStrict           0
205
206 #####
207 # Extras
208 #####
209
210 # [str] anything which requires LWP + http proxy.
211 ###set httpProxy                http://HOSTNAME:PORT/
212
213 # [0/1] babelfish translator.  jdf++. FIXME [DOES NOT WORK]
214 set babelfish           false
215
216 # [0/1] offer free factoid cookies
217 set cookie              true
218
219 # [0/1] Countdown to specific dates
220 set countdown           true
221
222 # [0/1] Debian file and package search.
223 set debian              false
224 # [int] how often to update the debian table, in days.
225 set debianRefreshInterval 1
226 # [0/1] extra stuff...
227 set debianExtra         true
228
229 # [0/1] Frontend to dict.org's wordnet.
230 set dict                false
231
232 # [0/1] Freshmeat
233 set freshmeat           false
234 # [int] how often to update the freshmeat table, in hours.
235 set freshmeatRefreshInterval 24
236 # [chans|all] 10items/hour, might be annoying.
237 ###set freshmeatAnnounce        #debian-bots
238 # [bool] if factoid does not exist, check freshmeat for it.
239 set freshmeatForFactoid         false
240
241 # [0/1] insult server
242 set insult              false
243
244 # [0/1] karma
245 set karma               true
246
247 # [0/1] Frontend to kernel.org
248 set kernel              false
249 ###set kernelAnnounce   #debian-bots
250
251 # [0/1] LART.
252 set lart                true
253
254 # [array] Channel limit adjuster. List of channels.
255 ###set limitcheck               #debian-bots
256 # [int] Interval (or more than), in minutes.
257 set limitcheckInterval  10
258 # [int] Adjust channel limit to 10 above total users in channel.
259 set limitcheckPlus      10
260
261 # [0/1] nickometer
262 set nickometer          true
263
264 # [0/1] Frontend to the stock market.
265 set quote               false
266
267 # [0/1] Display random text in the channel.
268 set randomQuote         true
269 # [str] Channels.
270 set randomQuoteChannels #debian-bots
271 # [int] Interval (or more than), in minutes.
272 set randomQuoteInterval 60
273
274 # [0/1] Display random text in the channel.
275 set randomFactoid       true
276 # [str] Channels.
277 set randomFactoidChannels       #debian-bots
278 # [int] Interval (or more than), in minutes.
279 set randomFactoidInterval       60
280
281 # [0/1] Warn users about root.
282 set rootWarn            false
283 #   passive     -- be polite plus stuff, compliant to OPN, heh.
284 #   aggressive  -- ...
285 set rootWarnMode        passive
286
287 # [0/1] Factoid search.
288 set search              false
289
290 # [0/1] persistant "seen".
291 set seen                true
292 # [0/1] seen statistics for online users like idle time, total message
293 #       count.
294 set seenStats           true
295 # [int] if someone's been away for more than xx days, delete their info.
296 #       info.
297 set seenMaxDays         30
298 # [int] interval to flush cached seen info. in minutes.
299 set seenFlushInterval   60
300
301 # [0/1] slashdot headlines.
302 set slashdot            false
303 ###set slashdotAnnounce #debian-bots
304
305 # [0/1] frontend to ispell.
306 set spell               false
307
308 # [0/1] Advanced topic management.
309 set topic               true
310
311 # [0/1] User Information Services.
312 set userinfo            true
313
314 # [0/1] Uptime daemon
315 set uptime              true
316
317 # [0/1] weather.com. FIXME
318 set weather             false
319
320 # [0/1] Wingate checking and banning mechanism. FIXME.
321 ###set wingate          false
322 # [int] seconds. minimum time to check.
323 set wingateInterval     60
324 # [str] Wingate.
325 set wingateBan          true
326 # [str] Wingate.
327 set wingateKick         DIE DIE DIE
328
329 # [0/1] google search.. simon++. requires libwww-search-perl + 5lines of
330 #       modifications.
331 set wwwsearch           false
332
333 # [0/1] Unit conversion tool.
334 set units               true