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
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 vh.virtualhost.org
21 # nickserv/chanserv support.
22 ###set nickServ_pass PASSWORD
23 ###set chanServ_ops #chan1 #chan2
25 # default quit message.
26 set quitMsg adios amigos
28 # path to a temporary directory which blootbot can use.
32 # Factoid database configuration
35 # [str] Ability to remember/tell factoids
38 # SQLite -- SQLite (libdbd-sqlite-perl) (might be version 2 or 3)
39 # SQLite2 -- SQLite (libdbd-sqlite-perl) (force version 2)
40 # pgsql -- postgresql (NOT SUPPORTED)
41 ### REQUIRED by factoids,freshmeat,karma,seen,...
44 # [str] SQLite filename prefix // MYSQL/PGSQL database.
45 # eg: blootbot-factoids, blootbot-seen
46 # eg: /var/db/mysql/blootbot/factoids.*
49 # [str] Hostname of database server (unset for SQLite)
52 # [str] SQL user allowed to insert,update,delete stuff from tables. (unset for SQLite)
55 # [str] SQL password. (unset for SQLite)
58 # [str] SQL debug file. "-" for stdout may work on some platforms
59 ###set SQLDebug SQL_debug.log
62 # Logfile configuration
65 # [file] where to put logging info. comment out to disable.
66 #set logfile log/$ircUser.log
69 # [str] Type of logging.
70 # DAILY -- Create a new log each day.
71 # DEFAULT -- One continuous log file.
74 # [int] Maximum log size, if logfile is defined, in bytes.
75 set maxLogSize 10000000
78 # Factoid-related configuration
81 # [bool] Factoid support.
84 # [days] if not 0, number of days until factoid is deleted for good.
85 set factoidDeleteDelay 0
87 # [int] maximum length of factoid key.
90 # [int] maximum length of factoid value.
93 # [str] when should the bot bother learning new factoids.
94 # ADDRESSED -- only learn when addressed.
95 # HUNGRY -- learn irrelevent of addressing. this will catch
96 # _everything_, use at your own risk. I tried this ages
97 # ago and it caught quite funny responses but who knows
98 # if my modifications will prevent this or not, perhaps
99 # IsInvalid must be disabled?
102 # [str] different behaviour with URLs.
103 # REQUIRE -- means it will need to be a url type (e.g. file:, http:)
104 # OPTIONAL -- will take anything
105 # REJECT -- will not accept any urls. this makes it easy to
106 # run 2 with different nicks and styles.
107 # ^^^ what's the point of this???
108 set acceptUrl OPTIONAL
110 # [bool] profanity checking.
111 set profanityCheck false
113 # [0/1] tell so-and-so about such-and-such of a factoid.
116 # [str] other bots to ask for factoids which they may have.
117 #set friendlyBots url purl script mrapi
120 # Factoid related and unrelated features, mainly Extras.
123 # [str] addressing is when you name the bot. FIXME:
124 # REQUIRE -- the bot only does something if addressed.
125 # OPTIONAL -- the bot responds (does not learn) irrelevent of
127 set addressing REQUIRE
129 # [str] how the bot should send messages.
130 # PRIVATE -- reply to private messages only, rejecting public msgs.
131 # DEFAULT -- reply to public _and_ private queries.
132 set talkMethod DEFAULT
134 # [str] how long the output string should be before it is changed from
136 # "+" before bot commands overrides this option temporarily.
137 ###set minLengthBeforePrivate 192
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
143 # [int] Amount of time for auto-ignore (flooding) to expire.
144 set ignoreAutoExpire 5
146 # [int] Amount of time for forced-online ignore to expire. minutes.
147 set ignoreTempExpire 60
150 # Internal (simple) bot commands
153 # [0/1] Forking... disable for non-nix OS or to reduce mem usage.
154 # Disabling should make the bot work on Win32 and MacOS.
157 # [int] Backlog... ideal to see what happened to the bot on console.
158 # maximum number of lines to backlog.
165 # [str] anything which requires LWP + http proxy.
166 ###set httpProxy http://HOSTNAME:PORT/
168 # [0/1] countdown to specific dates
171 # [0/1] Debian file and package search.
172 # FIXME: should be a channel option
177 # [int] how often to update the freshmeat table, in hours.
178 set freshmeatRefreshInterval 24
180 # [bool] if factoid does not exist, check freshmeat for it.
181 set freshmeatForFactoid false
187 # Miscellaneous configuration options
190 # [int] Display a bit too much info about stuff.
196 # [0/1] Warn messages.
199 # [0/1] Debugging messages.
202 # [0/1] Work In Progress...
210 ###set dumpvarsAtExit 1
211 # log to specific file or global log file.
212 ###set dumpvarsLogFile dumpvars.log
215 ###set symdumpLogFile log/dumpvars2.log
217 # [str] Interface: [IRC/CLI]
218 # IRC -- Internet Relay Chat
219 # CLI -- Command Line Interface
223 # Now modify blootbot.chan for per-channel specific configuration see
224 # sample.chans for info.