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.
9 set ircName blootbot experimental bot
10 # if your irc network requires a password to get on the servers
11 #set ircPasswd SomePassword
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
20 # nickserv/chanserv support.
21 ###set nickServ_pass PASSWORD
22 ###set chanServ_ops #chan1 #chan2
24 # default quit message.
25 set quitMsg adios amigos
27 # path to a temporary directory which blootbot can use.
28 set tempDir /home/blootbot/Temp
31 # Factoid database configuration
34 # [str] Ability to remember/tell factoids
37 # SQLite -- SQLite (libdbd-sqlite-perl)
38 # pgsql -- postgresql (NOT SUPPORTED)
39 ### REQUIRED by factoids,freshmeat,karma,seen,...
42 # [str] SQLite filename prefix // MYSQL/PGSQL database.
43 # eg: blootbot-factoids, blootbot-seen
44 # eg: /var/db/mysql/blootbot/factoids.*
47 # [str] Hostname of database server (unset for SQLite)
50 # [str] SQL user allowed to insert,update,delete stuff from tables. (unset for SQLite)
53 # [str] SQL password. (unset for SQLite)
56 # [str] SQL debug file. "-" for stdout may work on some platforms
57 ###set SQLDebug SQL_debug.log
60 # Logfile configuration
63 # [file] where to put logging info. comment out to disable.
64 set logfile log/$ircUser.log
66 # [str] Type of logging.
67 # DAILY -- Create a new log each day.
68 # DEFAULT -- One continuous log file.
71 # [int] Maximum log size, if logfile is defined, in bytes.
72 set maxLogSize 10000000
75 # Factoid-related configuration
78 # [bool] Factoid support.
81 # [days] if not 0, number of days until factoid is deleted for good.
82 set factoidDeleteDelay 0
84 # [int] maximum length of factoid key.
87 # [int] maximum length of factoid value.
90 # [int] minimum length of unaddressed (message) question without question
91 # before it is answered involuntarily.
92 # This ignores the 'addressing' setting.
94 set minVolunteerLength 0
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?
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
113 # [bool] profanity checking.
114 set profanityCheck false
116 # [0/1] tell so-and-so about such-and-such of a factoid.
119 # [str] other bots to ask for factoids which they may have.
120 #set friendlyBots url purl script mrapi
123 # Factoid related and unrelated features, mainly Extras.
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
130 set addressing REQUIRE
132 # [char] One-character easy recognition.
133 set addressCharacter ~
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
140 # [str] how long the output string should be before it is changed from
142 # "+" before bot commands overrides this option temporarily.
143 ###set minLengthBeforePrivate 192
145 # [int] maximum length of reply for Extras function before popping list to
146 # reduce number of elements.
147 set maxListReplyLength 400
149 # [int] maximum number of elements in list allowed for Extras function
150 # before popping elements to reduce total count.
151 set maxListReplyCount 15
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
157 # [int] Amount of time for auto-ignore (flooding) to expire.
158 set ignoreAutoExpire 5
160 # [int] Amount of time for forced-online ignore to expire. minutes.
161 set ignoreTempExpire 60
164 # Internal (simple) bot commands
167 # [0/1] irc-cli calculator.
173 # [0/1] do you want to allow DNS lookup
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.
180 # [int] Backlog... ideal to see what happened to the bot on console.
181 # maximum number of lines to backlog.
188 # [str] anything which requires LWP + http proxy.
189 ###set httpProxy http://HOSTNAME:PORT/
191 # [0/1] babelfish translator. jdf++.
194 # [0/1] offer free factoid cookies
197 # [0/1] Countdown to specific dates
200 # [0/1] Debian file and package search.
202 # [int] how often to update the debian table, in days.
203 set debianRefreshInterval 1
204 # [0/1] extra stuff...
207 # [0/1] Frontend to dict.org's wordnet.
212 # [int] how often to update the freshmeat table, in hours.
213 set freshmeatRefreshInterval 24
215 # [bool] if factoid does not exist, check freshmeat for it.
216 set freshmeatForFactoid false
218 # [0/1] insult server
224 # [0/1] Frontend to kernel.org
233 # [0/1] Frontend to the stock market.
236 # [0/1] Display random text in the channel.
239 # [0/1] Display random text in the channel.
240 set randomFactoid true
242 # [0/1] Warn users about root.
244 # passive -- be polite plus stuff, compliant to OPN, heh.
246 set rootWarnMode passive
248 # [0/1] Factoid search.
251 # [0/1] keeps stats on individual commands
254 # [0/1] slashdot headlines.
257 # [0/1] frontend to ispell.
260 # [0/1] Advanced topic management.
263 # [0/1] User Information Services.
266 # [0/1] Uptime daemon
269 # [0/1] Wingate checking and banning mechanism. FIXME:
271 # [int] seconds. minimum time to check.
272 set wingateInterval 60
276 set wingateKick Please don't use wingate
278 # [0/1] google search.. simon++. requires libwww-search-perl + 5lines of
282 # [0/1] Unit conversion tool.
286 # Miscellaneous configuration options
289 # [int] Display a bit too much info about stuff.
295 # [0/1] Warn messages.
298 # [0/1] Debugging messages.
301 # [0/1] Work In Progress...
309 ###set dumpvarsAtExit 1
310 # log to specific file or global log file.
311 ###set dumpvarsLogFile dumpvars.log
313 # [str] Interface: [IRC/CLI]
314 # IRC -- Internet Relay Chat
315 # CLI -- Command Line Interface
319 # Now modify blootbot.chan for per-channel specific configuration see
320 # sample.chans for info.