1 # parameter settings file for the infobot
2 # kevin lenzo (lenzo@cs.cmu.edu)
3 # modified by xk <xk@leguin.openprojects.net>
6 # [str] Interface: [IRC/CLI]
12 set ircName blootbot experimental bot
14 ###set ircHost vh.virtualhost.org
18 # nickserv/chanserv support.
19 ###set nickServ_pass PASSWORD
21 # default quit message
22 set quitMsg BEE RICHT BAK
31 # [file] where to put logging info. comment out to disable.
32 set logfile log/$ircUser.log
34 # [str] Type of logging.
35 # DAILY -- Create a new log each day.
36 # DEFAULT -- One continuous log file.
39 # [int] Maximum log size, if logfile is defined, in bytes.
40 set maxLogSize 10000000
43 # Factoid DB Configuration
46 # [str] Ability to remember/tell factoids
49 # pgsql -- postgresql (NOT SUPPORTED)
50 # dbm -- berkeley dbm (SHOULD WORK 95%)
53 # [str] DBM filename prefix // MYSQL/PGSQL database.
54 # eg: blootbot-factoids, blootbot-seen
55 # eg: /var/db/mysql/blootbot/factoids.*
58 # [str] Hostname of database server
61 # [str] mysql user allowed to insert,update,delete stuff from tables.
64 # [str] mysql password.
67 # [str] sql debug file.
68 ###set SQLDebug SQL_debug.log
71 # factoid-related configuration
74 # [bool] Factoid support.
77 # [days] After what time will deleted factoids will be deleted.
78 set factoidDeleteDelay 0
80 # [int] maximum length of factoid key.
83 # [int] maximum length of factoid value.
86 # [int] minimum length of unaddressed (message) question without question
87 # before it is answered involuntarily.
88 # This ignores the 'addressing' setting.
90 set minVolunteerLength 0
92 # [str] when should the bot bother learning new factoids.
93 # ADDRESSED -- only learn when addressed.
94 # HUNGRY -- learn irrelevent of addressing. this will catch
95 # _everything_, use at your own risk. I tried this ages
96 # ago and it caught quite funny responses but who knows
97 # if my modifications will prevent this or not, perhaps
98 # IsInvalid must be disabled?
101 # [str] different behaviour with URLs.
102 # REQUIRE -- means it will need to be a url type (e.g. file:, http:)
103 # OPTIONAL -- will take anything
104 # REJECT -- will not accept any urls. this makes it easy to
105 # run 2 with different nicks and styles.
106 # ^^^ what's the point of this???
107 set acceptUrl OPTIONAL
109 # [bool] profanity checking.
110 set profanityCheck false
112 # [str] other bots to ask for factoids which they may have.
113 #set friendlyBots url purl script mrapi
116 # factoid related and unrelated features, mainly Extras.
119 # [str] addressing is when you name the bot. FIXME
120 # REQUIRE -- the bot only does something if addressed.
121 # OPTIONAL -- the bot responds (does not learn) irrelevent of
123 set addressing REQUIRE
125 # should work. FIXME.
126 set addressCharacter ~
128 # [str] how the bot should send messages.
129 # PRIVATE -- reply to private messages only, rejecting public msgs.
130 # DEFAULT -- reply to public _and_ private queries.
131 set talkMethod DEFAULT
133 # [str] how long the output string should be before it is changed from
135 # "+" before bot commands overrides this option temporarily.
136 ###set minLengthBeforePrivate 192
138 # [int] maximum length of reply for Extras function before popping list to
139 # reduce number of elements.
140 set maxListReplyLength 300
142 # [int] maximum number of elements in list allowed for Extras function
143 # before popping elements to reduce total count.
144 set maxListReplyCount 15
146 # [0/1] allow people outside any channels the bot is on to use the bot
147 # for factoids and commands.
148 set disallowOutsiders 1
150 # [int] Amount of time for auto-ignore (flooding) to expire.
151 set ignoreAutoExpire 5
153 # [int] Amount of time for forced-online ignore to expire. minutes.
154 set ignoreTempExpire 60
157 # Internal (simple) bot commands
160 # [0/1] Forking... disable for non-nix OS or to reduce mem usage.
161 # Disabling should make the bot work on Win32 and MacOS.
164 # [int] Backlog... ideal to see what happened to the bot on console.
165 # maximum number of lines to backlog.
172 # [int] Display a bit too much info about stuff.
178 # [0/1] Warn messages.
181 # [0/1] Debugging messages.
184 # [0/1] Work In Progress...
189 ###set dumpvarsAtExit 1
190 # log to specific file or global log file.
191 ###set dumpvarsLogFile dumpvars.log
193 # [0/1] allow 'use strict', makes bot unreliable.
200 # [str] anything which requires LWP + http proxy.
201 set httpProxy http://router.home.org:3128/
204 #### now modify blootbot.chans for per-channel specific configuration
205 #### see sample.chans for info.