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