This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.default.ini
243 lines (213 loc) · 8.92 KB
/
config.default.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# ======================================================================
# SimBot Configuration File
# ======================================================================
# The config.default.ini file should be copied to config.ini when you
# first set up the bot. You should edit config.ini to contain the
# desired configuration settings for your bot. You should not need to
# edit simbot.pl unless the path to perl is not correct for your system.
# This file is called config.default.ini so that you can download and
# dump a new version with a clean config template into the same
# directory without overwriting your existing configuration, while still
# giving you the chance to see if someone stuck anything new and/or
# useful in here.
[global]
# This is the path to the rules database we will use. In most cases the
# default, which is to put a rules.db file in the current directory, is
# fine.
rules=./rules.db
# This is the prefix that the bot will look for to identify commands
# sent to it in the channel. You do not want this to be something that
# freqently gets typed at the begging of a line. The default, %, is
# reasonable. Sane alternatives are _, #, !, @, ^, and probably not any
# letters or numbers.
command_prefix=%
# This is the default nickname that the bot should use when it connects
# to the server. If the nickname is not available the bot will rotate
# the letters in the nickname to the right, (so "MyBot" becomes "tMybo")
# until it finds a nickname that is not in use.
nickname=MyBot
# The bot will respond to this tag if it is specified in addition to the
# default nickname and its current nickname.
alt_tag=MB
# This is the bot's gender. M (for his, himself, etc), F (her, herself),
# or I (its, itself)
gender=I
[network]
# This is a list of servers you want the bot to try. It will select a
# server randomly from this list each time it attempts to connect. Add
# each server on its own line as in the format below. Make sure the
# servers you choose allow bots. Don't pick "random server" hosts, such
# as irc.undernet.org. There's a chance that these will put your bot
# where it is not welcome, and you don't want it or you being killed by
# IRC ops because it's breaking server rules.
# SimBot will connect on port 6667. If you need to connect to another
# port, add :7000 (or whatever the port number is) to the end of the
# server name. (server=miami.fl.us.undernet.org:7000 for example)
# Undernet -- Verified Bot Friendly (Non-abusive bots)
server=mesa.az.us.undernet.org
server=oslo1.no.eu.undernet.org
server=fairfax.va.us.undernet.org
server=Carouge.CH.EU.undernet.org
# Undernet (These could put you on an bot-unfriendly server. Avoid using them.)
#server=us.undernet.org
#server=eu.undernet.org
# The username below will be passed to the IRC network as the bot's
# IRC name.
username=mybot
# This is the channel that you want the bot to join when it connects to
# one of the specified servers.
channel=#MyChannel
# This is the default message that will be used when the bot quits. If
# it is defined, the bot will use it on an interrupt signal, unless
# quit_prompt is set to 1. Setting quit prompt to 1 will cause the bot
# to prompt on an interrupt for a quit message. Pressing enter at this
# prompt will result in no message.
quit_default=Bye everyone!
quit_prompt=0
[services]
# This specifies the type of services this network has. The services
# type must match the name of a services plugin. We presently ship
# with three different options: "undernet", "dalnet", and "chanserv"
# Additional services plugins can be added in the same way as normal
# plugins, but must be named "services.[type].pl" to be recognized.
# Leave the services type value blank or commented out to disable
# authentication to services.
#type=undernet
user=mybot
pass=
[chat]
# This is the percent chance of the bot appending an extra sentence to
# the end of its reply. 10% tends to work decently. Going too close to
# 100% will annoy users waiting several minutes for replies.
new_sentence_chance=10
# This sets the maximum number of uses a word can have before you can
# no longer delete it. If you set this to 0, the user will be able
# to delete any word that has ever been seen. This is possible, but
# generally a pretty bad idea. Set this to -1 to disable the delete
# command entirely.
delete_usage_max=5
# This option lets you set the default to the snooze control, letting you
# decide if simbot should learn and respond to chat or not.
# Valid values:
# off: learning and sentence generation allowed. This is the default.
# on: learning and sentence generation disabled.
# never: off, plus don't allow users to change with the %snooze command
# always: on, plus don't allow users to change with the %snooze command
#snooze=off
# The bot will use one of these greetings when a user greets it with the
# word "Hi." The user's nickname is appended to the end of the message.
# Hawaiian, English, English, English, Spanish, English, French,
# English, Cowboy, Swedish, German, Navajo, Sioux, Klingon, Romanian, Santa
greeting=Aloha,
greeting=Hi there,
greeting=Good to see you,
greeting=Hello,
greeting=¡Hola,
greeting=Greetings,
greeting=Bonjour,
greeting=Welcome,
greeting=Howdy,
greeting=God dag,
greeting=Guten tag,
greeting=Yá'át'ééh,
greeting=Dakota,
greeting=nuqneH,
greeting=Salut,
#greeting=Ho ho ho,
[filters]
# This is the list of words and expressions that should not be allowed
# in the database. In the conversation parser this will filter whole
# lines, however plugins may use this list at their own discretion.
# This set is built from words that I've seen and wanted to block, but
# there are certainly more that could go here. These are in the form of
# single-word precompiled regular expressions or whole words. "match"
# lines will expect a regular expression and "word" lines will expect a
# whole word.
match=(ph|f)u+ck
match=shi+t
match=(^|\b)dick
match=(^|\b)clit
match=(^|\b)cock
match=(^|\b)pen[ei]s
match=(^|\b)tits
match=goatse
match=goat\.cx
match=tubgirl
match=(^|\b)jackoff
match=(^|\b)queer
match=(^|\b)gay
match=(^|\b)wank
match=(^|\b)http\/\/
match=(^|\b)ftp\/\/
match=(^|\b)irc\/\/
match=(^|\b)sodom
match=(^|\b)titf
match=(^|\b)cunt
match=(^|\b)twat
match=nigg
match=qq
match=(^|\b)(pw[pw]*$|pwn)
match=(ph|f)ux
match=ghe[iy]
match=(^|\b)(ph|f)ag
match=(^|\b)nigs?(\b|$)
match=(^|\b)[a-z]+=(\b|$)
word=hump
word=cum
word=asshole
[plugin.rss.feeds]
# This is a list of feeds the RSS plugin should download once an hour
# and make available to be checked with the %rss command.
# This is in the form of <key>=<url>. Keys must be unique.
slashdot=http://slashdot.org/index.rss
fark=http://www.fark.com/fark.rss
ala=http://www.alistapart.com/rss.xml
[plugin.rss]
# Set this to a comma delimited list of feeds (defined in a
# plugin.rss.feeds section) to be announced by the rss plugin when they
# update.
# No feeds are announced if this is unset.
#announce=slashdot,ala
# This defines the length of time in seconds an RSS feed will be considered
# current before it is "expired." A timer is run after this many seconds
# to fetch updates and at startup feeds older than this will be automatically
# refreshed. Some feeds may ban you from accessing their feed if you attempt
# to fetch it too often. Slashdot, for example, allows you to fetch their
# feed only a few times every 30 minutes (1800 seconds). The default expire
# time is 1 hour (3600 seconds) if unset.
#expire=3600
# If you want the RSS feed titles to be displayed in color or with
# style, specify it here. Use one or more of:
# %navy%, %green%, %red%, %maroon%, %purple%, %orange%, %yellow%,
# %ltgreen%, %teal%, %cyan%, %blue%, %magenta%, %gray%, %silver%,
# %bold%, %underline%
# If unset, no style will be used.
title_style=%green%
[plugin.aspell]
# Set this to the language you want the spelling plugin to check by default
# users can override this with %spell <word> <lang>
# you can get a list of languages by running `aspell dump dicts`
# users can get a list of languages by trying to use an unknown one
# the default is 'en', which covers both American and British spellings.
lang=en
[plugin.time]
# default_zones is the selection of time zones to display when someone calls
# %time with no arguments. The default is UTC. Local time is always shown.
# use commas for multiple, like default_zones=UTC,America/New_York
default_zones=UTC
[plugin.httpd]
# port sets what port the web server should listen on. This probably
# should be 8000 or 80. The default is 8000.
port=8000
# admin_user sets the username for the administrative page.
# If not set or blank, the administrative page is unavailable.
# The default is unset. If set, must be 5 or more characters.
#admin_user=admin
# admin_pass sets the password for the administrative page.
# If not set or blank, the administrative page is unavailable.
# The default is unset. If set, must be 5 or more characters.
# ### SECURITY WARNING:
# ### You should make sure the configuration file is not readable to other
# ### users!
#admin_pass=
# End of Config