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