1 |
simple |
1.1 |
#! /path/to/executable/eggdrop |
2 |
|
|
# ^- This should contain a fully qualified path to your Eggdrop executable. |
3 |
|
|
# |
4 |
thommey |
1.15 |
# $Id: eggdrop.conf,v 1.14 2014/10/03 20:49:44 thommey Exp $ |
5 |
simple |
1.1 |
# |
6 |
|
|
# This is a sample Eggdrop configuration file which includes all possible |
7 |
|
|
# settings that can be used to configure your bot. |
8 |
|
|
# |
9 |
|
|
# The pound signs (#) that you see at the beginning of some lines mean that |
10 |
|
|
# the remainder of that line is a comment, or just for your information. By |
11 |
|
|
# adding or deleting pound signs, you can comment or uncomment a setting, |
12 |
|
|
# respectively. |
13 |
|
|
# |
14 |
|
|
# Arguments for a command or setting may be inclosed in <>'s or []'s in the |
15 |
|
|
# example/description. Arguments in <>'s are required, while [] means optional. |
16 |
|
|
# |
17 |
|
|
# More detailed descriptions of all these settings can be found in |
18 |
|
|
# doc/settings/. |
19 |
|
|
|
20 |
|
|
|
21 |
|
|
|
22 |
|
|
##### BASIC SETTINGS ##### |
23 |
|
|
|
24 |
|
|
# This setting defines the username the bot uses on IRC. This setting has |
25 |
|
|
# no effect if an ident daemon is running on your bot's machine. |
26 |
|
|
set username "lamest" |
27 |
|
|
|
28 |
|
|
# This setting defines which contact person should be shown in .status, |
29 |
|
|
# /msg help, and other places. You really should include this information. |
30 |
|
|
set admin "Lamer <email: lamer@lamest.lame.org>" |
31 |
|
|
|
32 |
|
|
# This setting is used only for info to share with others on your botnet. |
33 |
|
|
# Set this to the IRC network your bot is connected to. |
34 |
|
|
set network "I.didn't.edit.my.config.file.net" |
35 |
|
|
|
36 |
|
|
# This setting defines which timezone is your bot in. It's used for internal |
37 |
|
|
# routines as well as for logfile timestamping and scripting purposes. |
38 |
|
|
# The timezone string specifies the name of the timezone and must be three |
39 |
|
|
# or more alphabetic characters. For example, Central European Time(UTC+1) |
40 |
|
|
# should be "CET". |
41 |
|
|
set timezone "EST" |
42 |
|
|
|
43 |
|
|
# The offset setting specifies the time value to be added to the local |
44 |
|
|
# time to get Coordinated Universal Time (UTC aka GMT). The offset is |
45 |
|
|
# positive if the local timezone is west of the Prime Meridian and |
46 |
|
|
# negative if it is east. The value (in hours) must be between -23 and |
47 |
|
|
# 23. For example, if the timezone is UTC+1, the offset is -1. |
48 |
|
|
set offset "5" |
49 |
|
|
|
50 |
|
|
# If you don't want to use the timezone setting for scripting purposes only, |
51 |
|
|
# but instead everywhere possible, un-comment the following line. |
52 |
thommey |
1.3 |
#set env(TZ) "$timezone$offset" |
53 |
simple |
1.1 |
|
54 |
|
|
# If you're using virtual hosting (your machine has more than 1 IP), you |
55 |
|
|
# may want to specify the particular IP to bind to. You can specify either |
56 |
pseudo |
1.2 |
# by hostname or by IP. Note that this is not used for listening. Use the |
57 |
|
|
# 'listen-addr' variable to specify the listening address. |
58 |
|
|
#set vhost4 "virtual.host.com" |
59 |
|
|
#set vhost4 "99.99.0.0" |
60 |
|
|
|
61 |
|
|
# IPv6 vhost to bind to for outgoing IPv6 connections. You can set it |
62 |
|
|
# to any valid IPv6 address or hostname, resolving to an IPv6 address. |
63 |
|
|
# Note that this is not used for listening. Use the 'listen-addr' |
64 |
|
|
# variable to specify the listening address. |
65 |
|
|
#set vhost6 "my.ipv6.host.com" |
66 |
|
|
#set vhost6 "2001:db8::c001:b07" |
67 |
|
|
|
68 |
|
|
# IPv4/IPv6 address (or hostname) to bind for listening. If you don't set |
69 |
|
|
# this variable, eggdrop will listen on all available IPv4 or IPv6 interfaces, |
70 |
|
|
# depending on the 'prefer-ipv6' variable (see below). |
71 |
pseudo |
1.5 |
# Note that eggdrop will accept IPv4 connections with IPv6 sockets too. |
72 |
pseudo |
1.2 |
#set listen-addr "99.99.0.0" |
73 |
|
|
#set listen-addr "2001:db8:618:5c0:263::" |
74 |
|
|
#set listen-addr "virtual.host.com" |
75 |
|
|
|
76 |
|
|
# Prefer IPv6 over IPv4 for connections and dns resolution? |
77 |
|
|
# If the preferred protocol family is not supported, the other one |
78 |
|
|
# will be tried. |
79 |
|
|
set prefer-ipv6 0 |
80 |
simple |
1.1 |
|
81 |
|
|
# If you want to have your Eggdrop messages displayed in a language other |
82 |
|
|
# than English, change this setting to match your preference. An alternative |
83 |
|
|
# would be to set the environment variable EGG_LANG to that value. |
84 |
|
|
# |
85 |
|
|
# Languages included with Eggdrop: Danish, English, French, Finnish, German. |
86 |
|
|
#addlang "english" |
87 |
|
|
|
88 |
|
|
|
89 |
|
|
##### LOG FILES ##### |
90 |
|
|
|
91 |
|
|
# Eggdrop is capable of logging various things, from channel chatter to |
92 |
|
|
# commands people use on the bot and file transfers. Logfiles are normally |
93 |
|
|
# kept for 24 hours. Afterwards, they will be renamed to "(logfile).yesterday". |
94 |
|
|
# After 48 hours, they will be overwritten by the logfile of the next day. |
95 |
|
|
# |
96 |
|
|
# Events are logged by certain categories. This way, you can specify |
97 |
|
|
# exactly what kind of events you want sent to various logfiles. |
98 |
|
|
# |
99 |
|
|
# Logfile flags: |
100 |
|
|
# b - information about bot linking and userfile sharing |
101 |
|
|
# c - commands |
102 |
|
|
# d - misc debug information |
103 |
|
|
# h - raw share traffic |
104 |
|
|
# j - joins, parts, quits, and netsplits on the channel |
105 |
|
|
# k - kicks, bans, and mode changes on the channel |
106 |
|
|
# m - private msgs, notices and ctcps to the bot |
107 |
|
|
# o - misc info, errors, etc (IMPORTANT STUFF) |
108 |
|
|
# p - public text on the channel |
109 |
|
|
# r - raw incoming server traffic |
110 |
|
|
# s - server connects, disconnects, and notices |
111 |
|
|
# t - raw botnet traffic |
112 |
|
|
# v - raw outgoing server traffic |
113 |
|
|
# w - wallops (make sure the bot sets +w in init-server) |
114 |
|
|
# x - file transfers and file-area commands |
115 |
|
|
# |
116 |
|
|
# Note that modes d, h, r, t, and v can fill disk quotas quickly. There are |
117 |
|
|
# also eight user-defined levels (1-8) which can be used by Tcl scripts. |
118 |
|
|
# |
119 |
|
|
# Each logfile belongs to a certain channel. Events of type 'k', 'j', and 'p' |
120 |
|
|
# are logged to whatever channel they happened on. Most other events are |
121 |
|
|
# currently logged to every channel. You can make a logfile belong to all |
122 |
|
|
# channels by assigning it to channel "*". |
123 |
|
|
|
124 |
|
|
# This is the maximum number of logfiles allowed. This setting can be |
125 |
|
|
# increased; however, don't decrease it. |
126 |
|
|
set max-logs 5 |
127 |
|
|
|
128 |
|
|
# This is the maximum size of your logfiles. Set it to 0 to disable. |
129 |
|
|
# This value is in kilobytes, so '550' would mean cycle logs when it |
130 |
|
|
# reaches the size of 550 kilobytes. Note that this only works if you |
131 |
|
|
# have keep-all-logs 0 (OFF). |
132 |
|
|
set max-logsize 0 |
133 |
|
|
|
134 |
|
|
# This could be good if you have had problem with the logfile filling |
135 |
|
|
# your quota/hard disk or if you log +p and publish it to the web and |
136 |
|
|
# need more up-to-date info. Note that this setting might increase the |
137 |
|
|
# CPU usage of your bot (on the other hand it will decrease your mem usage). |
138 |
|
|
set quick-logs 0 |
139 |
|
|
|
140 |
|
|
# This setting allows you the logging of raw incoming server traffic via |
141 |
|
|
# console/log flag 'r', raw outgoing server traffic via console/log mode 'v', |
142 |
|
|
# raw botnet traffic via console/log mode 't', and raw share traffic via |
143 |
|
|
# console/log mode 'h'. These flags can create a large security hole, |
144 |
|
|
# allowing people to see user passwords. This is now restricted to +n users |
145 |
|
|
# only. Please choose your owners with care. |
146 |
|
|
set raw-log 0 |
147 |
|
|
|
148 |
|
|
# This creates a logfile named eggdrop.log containing private msgs/ctcps, |
149 |
|
|
# commands, errors, and misc. info from any channel. |
150 |
|
|
logfile mco * "logs/eggdrop.log" |
151 |
|
|
|
152 |
|
|
# This creates a logfile named lamest.log containing joins, parts, |
153 |
|
|
# netsplits, kicks, bans, mode changes, and public chat on the |
154 |
|
|
# channel #lamest. |
155 |
|
|
#logfile jpk #lamest "logs/lamest.log" |
156 |
|
|
|
157 |
|
|
# Use this feature to timestamp entries in the log file. |
158 |
|
|
set log-time 1 |
159 |
|
|
|
160 |
|
|
# Set the following to the timestamp for the logfile entries. Popular times |
161 |
|
|
# might be "[%H:%M]" (hour, min), or "[%H:%M:%S]" (hour, min, sec). |
162 |
|
|
# Read `man strftime' for more formatting options. Keep it below 32 chars. |
163 |
|
|
set timestamp-format {[%H:%M:%S]} |
164 |
|
|
|
165 |
|
|
# If you want to keep your logfiles forever, turn this setting on. All |
166 |
|
|
# logfiles will get suffix ".[day, 2 digits][month, 3 letters][year, 4 digits]". |
167 |
|
|
# Note that your quota/hard-disk might be filled by this, so check your |
168 |
|
|
# logfiles often and download them. |
169 |
|
|
set keep-all-logs 0 |
170 |
|
|
|
171 |
|
|
# If keep-all-logs is 1, this setting will define the suffix of the logfiles. |
172 |
|
|
# The default will result in a suffix like "04May2000". "%Y%m%d" will produce |
173 |
|
|
# the often used yyyymmdd format. Read the strftime manpages for more options. |
174 |
|
|
# NOTE: On systems which don't support strftime, the default format will |
175 |
|
|
# be used _always_. |
176 |
|
|
set logfile-suffix ".%d%b%Y" |
177 |
|
|
|
178 |
|
|
# You can specify when Eggdrop should switch logfiles and start fresh. You |
179 |
|
|
# must use military time for this setting. 300 is the default, and describes |
180 |
|
|
# 03:00 (AM). |
181 |
|
|
set switch-logfiles-at 300 |
182 |
|
|
|
183 |
|
|
# "Writing user file..." and "Writing channel file..." messages won't be logged |
184 |
|
|
# anymore if this option is enabled. If you set it to 2, the "Backing up user |
185 |
|
|
# file..." and "Backing up channel file..." messages will also not be logged. |
186 |
|
|
# In addition to this, you can disable the "Switching logfiles..." and the new |
187 |
|
|
# date message at midnight, by setting this to 3. |
188 |
|
|
set quiet-save 0 |
189 |
|
|
|
190 |
|
|
|
191 |
|
|
##### CONSOLE ##### |
192 |
|
|
|
193 |
|
|
# This is the default console mode. It uses the same event flags as the log |
194 |
|
|
# files do. The console channel is automatically set to your "primary" channel, |
195 |
|
|
# which is set in the modules section of the config file. Masters can change |
196 |
|
|
# their console channel and modes with the '.console' command. |
197 |
|
|
|
198 |
|
|
set console "mkcobxs" |
199 |
|
|
|
200 |
|
|
|
201 |
|
|
##### FILES AND DIRECTORIES ##### |
202 |
|
|
|
203 |
|
|
# Specify here the filename your userfile should be saved as. |
204 |
|
|
set userfile "LamestBot.user" |
205 |
|
|
|
206 |
|
|
# Specify here the filename Eggdrop will save its pid to. If no pidfile is |
207 |
|
|
# specified, pid.(botnet-nick) will be used. |
208 |
|
|
#set pidfile "pid.LamestBot" |
209 |
|
|
|
210 |
|
|
# Specify here where Eggdrop should look for help files. Don't modify this |
211 |
|
|
# setting unless you know what you're doing! |
212 |
|
|
set help-path "help/" |
213 |
|
|
|
214 |
|
|
# Specify here where Eggdrop should look for text files. This is used for |
215 |
|
|
# certain Tcl and DCC commands. |
216 |
|
|
set text-path "text/" |
217 |
|
|
|
218 |
|
|
# Set here a place to store temporary files. |
219 |
|
|
set temp-path "/tmp" |
220 |
|
|
|
221 |
|
|
# The MOTD (Message Of The day) is displayed when people dcc chat or telnet |
222 |
|
|
# to the bot. Look at doc/TEXT-SUBSTITUTIONS for options. |
223 |
|
|
set motd "text/motd" |
224 |
|
|
|
225 |
|
|
# This banner will be displayed on telnet connections. Look at |
226 |
|
|
# doc/TEXT-SUBSTITUTIONS for options. |
227 |
|
|
set telnet-banner "text/banner" |
228 |
|
|
|
229 |
|
|
# This specifies what permissions the user, channel, and notes files should |
230 |
|
|
# be set to. The octal values are the same as for the chmod system command. |
231 |
|
|
# |
232 |
|
|
# To remind you: |
233 |
|
|
# |
234 |
|
|
# u g o u g o u g o |
235 |
|
|
# 0600 rw------- 0400 r-------- 0200 -w------- u - user |
236 |
|
|
# 0660 rw-rw---- 0440 r--r----- 0220 -w--w---- g - group |
237 |
|
|
# 0666 rw-rw-rw- 0444 r--r--r-- 0222 -w--w--w- o - others |
238 |
|
|
# |
239 |
|
|
# Note that the default 0600 is the most secure one and should only be changed |
240 |
|
|
# if you need your files for shell scripting or other external applications. |
241 |
|
|
set userfile-perm 0600 |
242 |
|
|
|
243 |
|
|
|
244 |
|
|
##### BOTNET/DCC/TELNET ##### |
245 |
|
|
|
246 |
|
|
# Settings in this section should be unimportant for you until you deal |
247 |
|
|
# with botnets (multiple Eggdrops connected together to maximize efficiency). |
248 |
|
|
# You should read doc/BOTNET before modifying these settings. |
249 |
|
|
|
250 |
|
|
# If you want to use a different nickname on the botnet than you use on |
251 |
|
|
# IRC (i.e. if you're on an un-trusted botnet), un-comment the next line |
252 |
|
|
# and set it to the nick you would like to use. |
253 |
|
|
#set botnet-nick "LlamaBot" |
254 |
|
|
|
255 |
|
|
# This opens a telnet port by which you and other bots can interact with the |
256 |
|
|
# Eggdrop by telneting in. |
257 |
|
|
# |
258 |
|
|
# There are more options for the listen command in doc/tcl-commands.doc. Note |
259 |
|
|
# that if you are running more than one bot on the same machine, you will want |
260 |
|
|
# to space the telnet ports at LEAST 5 apart, although 10 is even better. |
261 |
|
|
# |
262 |
|
|
# Valid ports are typically anything between 1025 and 65535 assuming the |
263 |
|
|
# port is not already in use. |
264 |
|
|
# |
265 |
|
|
# If you would like the bot to listen for users and bots in separate ports, |
266 |
|
|
# use the following format: |
267 |
|
|
# |
268 |
|
|
# listen 3333 bots |
269 |
|
|
# listen 4444 users |
270 |
|
|
# |
271 |
|
|
# If you wish to use only one port, use this format: |
272 |
|
|
# |
273 |
|
|
# listen 3333 all |
274 |
|
|
# |
275 |
pseudo |
1.5 |
# You can setup a SSL port by prepending a plus sign to it: |
276 |
|
|
# |
277 |
|
|
# listen +5555 all |
278 |
|
|
# |
279 |
simple |
1.1 |
# You need to un-comment this line and change the port number in order to open |
280 |
|
|
# the listen port. You should not keep this set to 3333. |
281 |
|
|
#listen 3333 all |
282 |
|
|
|
283 |
|
|
# This setting defines whether or not people can boot users on the Eggdrop |
284 |
|
|
# from other bots in your botnet. Valid settings are: |
285 |
|
|
# 0 - allow *no* outside boots |
286 |
|
|
# 1 - allow boots from sharebots |
287 |
|
|
# 2 - allow any boots |
288 |
|
|
set remote-boots 2 |
289 |
|
|
|
290 |
thommey |
1.14 |
# This setting allows remote bots to tell your Eggdrop to unlink from |
291 |
simple |
1.1 |
# share bots. |
292 |
|
|
set share-unlinks 1 |
293 |
|
|
|
294 |
|
|
# This setting will drop telnet connections not matching a known host. |
295 |
|
|
set protect-telnet 0 |
296 |
|
|
|
297 |
|
|
# This setting will make the bot ignore DCC chat requests which appear to |
298 |
|
|
# have bogus information on the grounds that the user may have been trying |
299 |
|
|
# to make the bot connect to somewhere that will get it into trouble, or |
300 |
|
|
# that the user has a broken client, in which case the connect wouldn't work |
301 |
|
|
# anyway. |
302 |
|
|
set dcc-sanitycheck 0 |
303 |
|
|
|
304 |
pseudo |
1.9 |
# This setting defines the time in seconds the bot should wait for ident reply |
305 |
|
|
# before the lookup fails. The default ident on timeout is 'telnet'. |
306 |
simple |
1.1 |
set ident-timeout 5 |
307 |
|
|
|
308 |
|
|
# Define here whether or not a +o user still needs the +p flag to dcc the bot. |
309 |
|
|
set require-p 1 |
310 |
|
|
|
311 |
|
|
# If you want people allow to telnet in and type 'NEW' to become a new user, |
312 |
|
|
# set this to 1. This is similar to the 'hello' msg command. The protect-telnet |
313 |
|
|
# setting must be set to 0 to use this. |
314 |
|
|
set open-telnets 0 |
315 |
|
|
|
316 |
|
|
# If you don't want Eggdrop to identify itself as an eggdrop on a telnet |
317 |
|
|
# connection, set this setting to 1. Eggdrop will display 'Nickname' instead. |
318 |
|
|
set stealth-telnets 0 |
319 |
|
|
|
320 |
|
|
# If you want Eggdrop to display a banner when telneting in, set this setting |
321 |
|
|
# to 1. The telnet banner is set by 'set telnet-banner'. |
322 |
|
|
set use-telnet-banner 0 |
323 |
|
|
|
324 |
pseudo |
1.9 |
# This setting defines a time in seconds that the bot should wait before |
325 |
simple |
1.1 |
# a dcc chat, telnet, or relay connection times out. |
326 |
|
|
set connect-timeout 15 |
327 |
|
|
|
328 |
|
|
# Specify here the number of lines to accept from a user on the partyline |
329 |
|
|
# within 1 second before they are considered to be flooding and therefore |
330 |
|
|
# get booted. |
331 |
|
|
set dcc-flood-thr 3 |
332 |
|
|
|
333 |
|
|
# Define here how many telnet connection attempts in how many seconds from |
334 |
|
|
# the same host constitute a flood. The correct format is Attempts:Seconds. |
335 |
|
|
set telnet-flood 5:60 |
336 |
|
|
|
337 |
|
|
# If you want telnet-flood to apply even to +f users, set this setting to 1. |
338 |
|
|
set paranoid-telnet-flood 1 |
339 |
|
|
|
340 |
|
|
# Set here the amount of seconds before giving up on hostname/address |
341 |
|
|
# lookup (you might want to increase this if you are on a slow network). |
342 |
|
|
set resolve-timeout 7 |
343 |
|
|
|
344 |
|
|
|
345 |
pseudo |
1.5 |
##### SSL SETTINGS ##### |
346 |
|
|
|
347 |
|
|
# Settings in this section take effect when eggdrop is compiled with TLS |
348 |
|
|
# support. |
349 |
|
|
|
350 |
|
|
# File containing your private key, needed for the SSL certificate |
351 |
|
|
# (see below). You can create one issuing the following command: |
352 |
|
|
# |
353 |
|
|
# openssl genrsa -out eggdrop.key 2048 |
354 |
|
|
# |
355 |
|
|
# It will create a 2048 bit RSA key, strong enough for eggdrop. |
356 |
|
|
# This is required for SSL hubs/listen ports, secure file transfer and |
357 |
|
|
# /ctcp botnick schat |
358 |
|
|
# For your convenience, you can type 'make sslcert' after 'make install' |
359 |
|
|
# and you'll get a key and a certificate in your DEST directory. |
360 |
|
|
#set ssl-privatekey "eggdrop.key" |
361 |
|
|
|
362 |
|
|
# Specify the filename where your SSL certificate is located. If you |
363 |
|
|
# don't set this, eggdrop will not be able to act as a server in SSL |
364 |
|
|
# connections, as with most ciphers a certificate and a private key |
365 |
|
|
# are required on the server side. Must be in PEM format. |
366 |
|
|
# If you don't have one, you can create it using the following command: |
367 |
|
|
# |
368 |
|
|
# openssl req -new -key eggdrop.key -x509 -out eggdrop.crt -days 365 |
369 |
|
|
# |
370 |
|
|
# This is required for SSL hubs/listen ports, secure file transfer and |
371 |
|
|
# /ctcp botnick schat |
372 |
|
|
# For your convenience, you can type 'make sslcert' after 'make install' |
373 |
|
|
# and you'll get a key and a certificate in your DEST directory. |
374 |
|
|
#set ssl-certificate "eggdrop.crt" |
375 |
|
|
|
376 |
|
|
# Sets the maximum depth for the certificate chain verification that will |
377 |
|
|
# be allowed for ssl. When certificate verification is enabled, any chain |
378 |
|
|
# exceeding this depth will fail verification. |
379 |
|
|
#set ssl-verify-depth 9 |
380 |
|
|
|
381 |
|
|
# Specify the location at which CA certificates for verification purposes |
382 |
|
|
# are located. These certificates are trusted. If you don't set this, |
383 |
|
|
# certificate verification will not work. |
384 |
|
|
set ssl-capath "/etc/ssl/" |
385 |
|
|
#set ssl-cafile "" |
386 |
|
|
|
387 |
|
|
# Specify the list of ciphers (in order of preference) allowed for use with |
388 |
|
|
# ssl. The cipher list is one or more cipher strings separated by colons, |
389 |
|
|
# commas or spaces. Unavailable ciphers are silently ignored unless no useable |
390 |
|
|
# cipher could be found. For the list of possible cipher strings and their |
391 |
|
|
# meanings, please refer to the ciphers(1) manual. |
392 |
|
|
# Note: if you set this, the value replaces any ciphers OpenSSL might use by |
393 |
|
|
# default. To include the default ciphers, you can put DEFAULT as a cipher |
394 |
|
|
# string in the list. |
395 |
|
|
# For example: |
396 |
|
|
# |
397 |
|
|
# set ssl-ciphers "DEFAULT ADH" |
398 |
|
|
# |
399 |
|
|
# This will make eggdrop allow the default OpenSSL selection plus anonymous |
400 |
|
|
# DH ciphers. |
401 |
|
|
# |
402 |
|
|
# set ssl-ciphers "ALL" |
403 |
|
|
# |
404 |
|
|
# This will make eggdrop allow all ciphers supported by OpenSSL, in a |
405 |
|
|
# reasonable order. |
406 |
|
|
#set ssl-ciphers "" |
407 |
|
|
|
408 |
|
|
# Enable certificate authorization. Set to 1 to allow users and bots to |
409 |
|
|
# identify automatically by their certificate fingerprints. Setting it |
410 |
|
|
# to 2 to will force fingerprint logins. With a value of 2, users without |
411 |
|
|
# a fingerprint set or with a certificate UID not matching their handle |
412 |
|
|
# won't be allowed to login on SSL enabled telnet ports. Fingerprints |
413 |
|
|
# must be set in advance with the .fprint and .chfinger commands. |
414 |
|
|
# NOTE: this setting has no effect on plain-text ports. |
415 |
|
|
#set ssl-cert-auth 0 |
416 |
|
|
|
417 |
|
|
# You can control SSL certificate verification using the following variables. |
418 |
|
|
# All of them are flag-based. You can set them by adding together the numbers |
419 |
|
|
# for all exceptions you want to enable. By default certificate verification |
420 |
|
|
# is disabled and all certificates are assumed to be valid. The numbers are |
421 |
|
|
# the following: |
422 |
|
|
# |
423 |
|
|
# Enable certificate verification - 1 |
424 |
|
|
# Allow self-signed certificates - 2 |
425 |
|
|
# Don't check peer common or alt names - 4 |
426 |
|
|
# Allow expired certificates - 8 |
427 |
|
|
# Allow certificates which are not valid yet - 16 |
428 |
|
|
# Allow revoked certificates - 32 |
429 |
|
|
# A value of 0 disables verification. |
430 |
|
|
|
431 |
|
|
# Control certificate verification for DCC chats (only /dcc chat botnick) |
432 |
|
|
#set ssl-verify-dcc 0 |
433 |
|
|
|
434 |
|
|
# Control certificate verification for linking to hubs |
435 |
|
|
#set ssl-verify-bots 0 |
436 |
|
|
|
437 |
|
|
# Control cerfificate verification for SSL listening ports. This includes |
438 |
|
|
# leaf bots connecting, users telneting in and /ctcp bot chat. |
439 |
|
|
#set ssl-verify-clients 0 |
440 |
|
|
|
441 |
|
|
|
442 |
simple |
1.1 |
##### MORE ADVANCED SETTINGS ##### |
443 |
|
|
|
444 |
|
|
# Set this to your socks host if your Eggdrop sits behind a firewall. If |
445 |
|
|
# you use a Sun "telnet passthru" firewall, prefix the host with a '!'. |
446 |
|
|
#set firewall "!sun-barr.ebay:3666" |
447 |
|
|
|
448 |
|
|
# If you have a NAT firewall (you box has an IP in one of the following |
449 |
|
|
# ranges: 192.168.0.0-192.168.255.255, 172.16.0.0-172.31.255.255, |
450 |
|
|
# 10.0.0.0-10.255.255.255 and your firewall transparently changes your |
451 |
|
|
# address to a unique address for your box) or you have IP masquerading |
452 |
|
|
# between you and the rest of the world, and /dcc chat, /ctcp chat or |
453 |
|
|
# userfile sharing aren't working, enter your outside IP here. This IP |
454 |
pseudo |
1.2 |
# is used for transfers only, and has nothing to do with the vhost4/6 |
455 |
|
|
# or listen-addr settings. You may still need to set them. |
456 |
simple |
1.1 |
#set nat-ip "127.0.0.1" |
457 |
|
|
|
458 |
|
|
# If you want all dcc file transfers to use a particular portrange either |
459 |
|
|
# because you're behind a firewall, or for other security reasons, set it |
460 |
|
|
# here. |
461 |
|
|
#set reserved-portrange 2010:2020 |
462 |
|
|
|
463 |
|
|
# Set the time in minutes that temporary ignores should last. |
464 |
|
|
set ignore-time 15 |
465 |
|
|
|
466 |
|
|
# Define here what Eggdrop considers 'hourly'. All calls to it, including such |
467 |
|
|
# things as note notifying or userfile saving, are affected by this. |
468 |
|
|
# For example: |
469 |
|
|
# |
470 |
|
|
# set hourly-updates 15 |
471 |
|
|
# |
472 |
|
|
# The bot will save its userfile 15 minutes past every hour. |
473 |
|
|
set hourly-updates 00 |
474 |
|
|
|
475 |
|
|
# Un-comment the next line and set the list of owners of the bot. |
476 |
|
|
# You NEED to change this setting. |
477 |
|
|
#set owner "MrLame, MrsLame" |
478 |
|
|
|
479 |
|
|
# Who should a note be sent to when new users are learned? |
480 |
|
|
set notify-newusers "$owner" |
481 |
|
|
|
482 |
|
|
# Enter the flags that all new users should get by default. See '.help whois' |
483 |
|
|
# on the partyline for a list of flags and their descriptions. |
484 |
|
|
set default-flags "hp" |
485 |
|
|
|
486 |
|
|
# Enter all user-defined fields that should be displayed in a '.whois'. |
487 |
|
|
# This will only be shown if the user has one of these extra fields. |
488 |
|
|
# You might prefer to comment this out and use the userinfo1.0.tcl script |
489 |
|
|
# which provides commands for changing all of these. |
490 |
|
|
set whois-fields "url birthday" |
491 |
|
|
|
492 |
|
|
# Uncomment these two lines if you wish to disable the .tcl and .set commands. |
493 |
|
|
# If you select your owners wisely, you should be okay enabling these. |
494 |
|
|
#unbind dcc n tcl *dcc:tcl |
495 |
|
|
#unbind dcc n set *dcc:set |
496 |
|
|
|
497 |
|
|
# If you enable this setting, only permanent owners (owner setting) will be |
498 |
|
|
# able to use .tcl and .set. Moreover, if you want only let permanent owners |
499 |
|
|
# use .dump, then set this to 2. |
500 |
|
|
# WARNING: setting this to 0 is a security risk, don't do it unless you trust |
501 |
|
|
# your owners enough to give them shell access to the account the bot is |
502 |
|
|
# running on. |
503 |
|
|
set must-be-owner 1 |
504 |
|
|
|
505 |
|
|
# Comment out this line to add the 'simul' partyline command (owners can |
506 |
|
|
# manipulate other people on the party line). Please select owners wisely |
507 |
|
|
# and use this command ethically! |
508 |
|
|
unbind dcc n simul *dcc:simul |
509 |
|
|
|
510 |
|
|
# Set here the maximum number of socket connections you will allow. You can |
511 |
|
|
# increase this later, but never decrease it below current usage. |
512 |
|
|
# If you're using Tcl threads, this is a per-thread maximum. |
513 |
|
|
set max-socks 100 |
514 |
|
|
|
515 |
|
|
# Enable this setting if you want +d & +k users to use commands bound as -|-. |
516 |
|
|
set allow-dk-cmds 1 |
517 |
|
|
|
518 |
|
|
# If your Eggdrop rejects bots that actually have already disconnected from |
519 |
|
|
# another hub, but the disconnect information has not yet spread over the |
520 |
|
|
# botnet due to lag, use this setting. The bot will wait dupwait-timeout |
521 |
|
|
# seconds before it checks again and then finally reject the bot. |
522 |
|
|
set dupwait-timeout 5 |
523 |
|
|
|
524 |
|
|
# Set this to 0 if you want the bot to strip '~+-^=' characters from user@hosts |
525 |
|
|
# before matching them. |
526 |
|
|
# This setting is currently kept for compatibility, but will be removed from |
527 |
|
|
# the next release. Please leave it set to 1 to avoid problems with your user |
528 |
|
|
# files in the future. |
529 |
|
|
set strict-host 1 |
530 |
|
|
|
531 |
|
|
# Enable cidr support for b/e/I modes. This means the bot will understand |
532 |
|
|
# and match modes in cidr notation, and will be able to put and enforce such |
533 |
|
|
# bans or unban itself, if banned with a cidr mask. |
534 |
|
|
# Do NOT set this, if your network/server does not support cidr! |
535 |
|
|
set cidr-support 0 |
536 |
|
|
|
537 |
|
|
# You MUST remove this line for your bot to start. This has been added to |
538 |
|
|
# prevent you from starting up a bot that is not fully configured. Bots |
539 |
|
|
# that have not been fully configured may join the wrong IRC network, the |
540 |
|
|
# wrong channels, or generally do things that you do not want. Please make |
541 |
|
|
# sure that you have double-checked every setting. There's also a similar line |
542 |
|
|
# lower down, just to make sure you're reading :) |
543 |
|
|
die "Please make sure you edit your config file completely." |
544 |
|
|
|
545 |
|
|
|
546 |
|
|
##### MODULES ##### |
547 |
|
|
|
548 |
|
|
# Below are various settings for the modules included with Eggdrop. |
549 |
|
|
# PLEASE READ AND EDIT THEM CAREFULLY, even if you're an old hand at |
550 |
|
|
# Eggdrop, things change. |
551 |
|
|
|
552 |
|
|
# This path specifies the path were Eggdrop should look for its modules. |
553 |
|
|
# If you run the bot from the compilation directory, you will want to set |
554 |
|
|
# this to "". If you use 'make install' (like all good kiddies do ;), this |
555 |
|
|
# is a fine default. Otherwise, use your head :) |
556 |
|
|
set mod-path "modules/" |
557 |
|
|
|
558 |
|
|
|
559 |
|
|
#### BLOWFISH MODULE #### |
560 |
|
|
|
561 |
|
|
# IF YOU DON'T READ THIS YOU MAY RENDER YOUR USERFILE USELESS LATER |
562 |
|
|
# Eggdrop encrypts its userfile, so users can have secure passwords. |
563 |
|
|
# Please note that when you change your encryption method later (i.e. |
564 |
|
|
# using other modules like a md5 module), you can't use your current |
565 |
|
|
# userfile anymore. Eggdrop will not start without an encryption module. |
566 |
|
|
loadmodule blowfish |
567 |
|
|
|
568 |
|
|
|
569 |
|
|
#### DNS MODULE #### |
570 |
|
|
|
571 |
|
|
# This module provides asynchronous dns support. This will avoid long |
572 |
|
|
# periods where the bot just hangs there, waiting for a hostname to |
573 |
|
|
# resolve, which will often let it timeout on all other connections. |
574 |
|
|
loadmodule dns |
575 |
|
|
|
576 |
pseudo |
1.4 |
# In case your bot has trouble finding dns servers or you want to use |
577 |
|
|
# specific ones, you can set them here. The value is a list of dns servers. |
578 |
|
|
# The order doesn't matter. You can also specify a non-standard port. |
579 |
|
|
# The default is to use the system specified dns servers. You don't need to |
580 |
|
|
# modify this setting normally. |
581 |
|
|
#set dns-servers "8.8.8.8 8.8.4.4" |
582 |
|
|
|
583 |
|
|
# Specify how long should the DNS module cache replies at maximum. The value |
584 |
|
|
# must be in seconds. |
585 |
|
|
# Note that it will respect the TTL of the reply and this is just an upper |
586 |
|
|
# boundary. |
587 |
|
|
set dns-cache 86400 |
588 |
|
|
|
589 |
|
|
# Specify how long should the DNS module cache negative replies (NXDOMAIN, |
590 |
|
|
# DNS Lookup failed). The value must be in seconds. |
591 |
|
|
set dns-negcache 600 |
592 |
|
|
|
593 |
|
|
# How many times should the DNS module resend the query for a given domain |
594 |
|
|
# if it receives no reply? |
595 |
|
|
set dns-maxsends 4 |
596 |
|
|
|
597 |
|
|
# Specify how long should the DNS module wait for a reply before resending the |
598 |
|
|
# query. The value must be in seconds. |
599 |
|
|
set dns-retrydelay 3 |
600 |
simple |
1.1 |
|
601 |
|
|
#### CHANNELS MODULE #### |
602 |
|
|
|
603 |
|
|
# This module provides channel related support for the bot. Without it, |
604 |
|
|
# you won't be able to make the bot join a channel or save channel |
605 |
|
|
# specific userfile information. |
606 |
|
|
loadmodule channels |
607 |
|
|
|
608 |
|
|
# Enter here the filename where dynamic channel settings are stored. |
609 |
|
|
set chanfile "LamestBot.chan" |
610 |
|
|
|
611 |
|
|
# Set this setting to 1 if you want your bot to expire bans/exempts/invites set |
612 |
|
|
# by other opped bots on the channel. |
613 |
|
|
set force-expire 0 |
614 |
|
|
|
615 |
|
|
# Set this setting to 1 if you want your bot to share user greets with other |
616 |
|
|
# bots on the channel if sharing user data. |
617 |
|
|
set share-greet 0 |
618 |
|
|
|
619 |
|
|
# Set this setting to 1 if you want to allow users to store an info line. |
620 |
|
|
set use-info 1 |
621 |
|
|
|
622 |
|
|
# Set this setting to 1 if you want to allow both +p and +s channel modes |
623 |
|
|
# to be enforced at the same time by the chanmode channel setting. |
624 |
|
|
# Make sure your server supports +ps mixing or you may get endless mode |
625 |
|
|
# floods. |
626 |
|
|
set allow-ps 0 |
627 |
|
|
|
628 |
|
|
# The following settings are used as default values when you .+chan #chan or .tcl |
629 |
|
|
# channel add #chan. Look below for explanation of every option. |
630 |
|
|
|
631 |
|
|
set global-flood-chan 15:60 |
632 |
|
|
set global-flood-deop 3:10 |
633 |
|
|
set global-flood-kick 3:10 |
634 |
|
|
set global-flood-join 5:60 |
635 |
|
|
set global-flood-ctcp 3:60 |
636 |
|
|
set global-flood-nick 5:60 |
637 |
|
|
set global-aop-delay 5:30 |
638 |
|
|
set global-idle-kick 0 |
639 |
|
|
set global-chanmode "nt" |
640 |
|
|
set global-stopnethack-mode 0 |
641 |
|
|
set global-revenge-mode 0 |
642 |
|
|
set global-ban-type 3 |
643 |
|
|
set global-ban-time 120 |
644 |
|
|
set global-exempt-time 60 |
645 |
|
|
set global-invite-time 60 |
646 |
|
|
|
647 |
|
|
set global-chanset { |
648 |
|
|
-autoop -autovoice |
649 |
|
|
-bitch +cycle |
650 |
|
|
+dontkickops +dynamicbans |
651 |
|
|
+dynamicexempts +dynamicinvites |
652 |
|
|
-enforcebans +greet |
653 |
|
|
-inactive -nodesynch |
654 |
|
|
-protectfriends +protectops |
655 |
|
|
-revenge -revengebot |
656 |
|
|
-secret -seen |
657 |
|
|
+shared -statuslog |
658 |
|
|
+userbans +userexempts |
659 |
|
|
+userinvites -protecthalfops |
660 |
|
|
-autohalfop -static |
661 |
|
|
} |
662 |
|
|
|
663 |
|
|
# chanmode +/-<modes> |
664 |
|
|
# This setting makes the bot enforce channel modes. It will always add |
665 |
|
|
# the +<modes> and remove the -<modes> modes. |
666 |
|
|
# |
667 |
|
|
# idle-kick 0 |
668 |
|
|
# This setting will make the bot check every minute for idle |
669 |
|
|
# users. Set this to 0 to disable idle check. |
670 |
|
|
# |
671 |
|
|
# stopnethack-mode 0 |
672 |
|
|
# This setting will make the bot de-op anyone who enters the channel |
673 |
|
|
# with serverops. There are seven different modes for this settings: |
674 |
|
|
# 0 turn off |
675 |
|
|
# 1 isoptest (allow serverop if registered op) |
676 |
|
|
# 2 wasoptest (allow serverop if op before split) |
677 |
|
|
# 3 allow serverop if isop or wasop |
678 |
|
|
# 4 allow serverop if isop and wasop. |
679 |
|
|
# 5 If the channel is -bitch, see stopnethack-mode 3 |
680 |
|
|
# If the channel is +bitch, see stopnethack-mode 1 |
681 |
|
|
# 6 If the channel is -bitch, see stopnethack-mode 2 |
682 |
|
|
# If the channel is +bitch, see stopnethack-mode 4 |
683 |
|
|
# |
684 |
|
|
# revenge-mode 0 |
685 |
|
|
# This settings defines how the bot should punish bad users when |
686 |
|
|
# revenging. There are four possible settings: |
687 |
|
|
# 0 Deop the user. |
688 |
|
|
# 1 Deop the user and give them the +d flag for the channel. |
689 |
|
|
# 2 Deop the user, give them the +d flag for the channel, and kick them. |
690 |
|
|
# 3 Deop the user, give them the +d flag for the channel, kick, and ban them. |
691 |
|
|
# |
692 |
|
|
# ban-type 3 |
693 |
|
|
# This setting defines what type of bans should eggdrop place for +k users or |
694 |
|
|
# when revenge-mode is 3. |
695 |
|
|
# Available types are: |
696 |
|
|
# 0 *!user@host |
697 |
|
|
# 1 *!*user@host |
698 |
|
|
# 2 *!*@host |
699 |
|
|
# 3 *!*user@*.host |
700 |
|
|
# 4 *!*@*.host |
701 |
|
|
# 5 nick!user@host |
702 |
|
|
# 6 nick!*user@host |
703 |
|
|
# 7 nick!*@host |
704 |
|
|
# 8 nick!*user@*.host |
705 |
|
|
# 9 nick!*@*.host |
706 |
|
|
# You can also specify types from 10 to 19 which correspond to types |
707 |
|
|
# 0 to 9, but instead of using a * wildcard to replace portions of the |
708 |
|
|
# host, only numbers in hostnames are replaced with the '?' wildcard. |
709 |
|
|
# Same is valid for types 20-29, but instead of '?', the '*' wildcard |
710 |
|
|
# will be used. |
711 |
|
|
# |
712 |
|
|
# ban-time 120 |
713 |
|
|
# Set here how long temporary bans will last (in minutes). If you |
714 |
|
|
# set this setting to 0, the bot will never remove them. |
715 |
|
|
# |
716 |
|
|
# exempt-time 60 |
717 |
|
|
# Set here how long temporary exempts will last (in minutes). If you |
718 |
|
|
# set this setting to 0, the bot will never remove them. The bot will |
719 |
|
|
# check the exempts every X minutes, but will not remove the exempt if |
720 |
|
|
# a ban is set on the channel that matches that exempt. Once the ban is |
721 |
|
|
# removed, then the exempt will be removed the next time the bot checks. |
722 |
|
|
# Please note that this is an IRCnet feature. |
723 |
|
|
# |
724 |
|
|
# invite-time 60 |
725 |
|
|
# Set here how long temporary invites will last (in minutes). If you |
726 |
|
|
# set this setting to 0, the bot will never remove them. The bot will |
727 |
|
|
# check the invites every X minutes, but will not remove the invite if |
728 |
|
|
# a channel is set to +i. Once the channel is -i then the invite will be |
729 |
|
|
# removed the next time the bot checks. Please note that this is an IRCnet |
730 |
|
|
# feature. |
731 |
|
|
# |
732 |
|
|
# aop-delay (minimum:maximum) |
733 |
|
|
# This is used for autoop, autohalfop, autovoice. If an op or voice joins a |
734 |
|
|
# channel while another op or voice is pending, the bot will attempt to put |
735 |
|
|
# both modes on one line. |
736 |
|
|
# aop-delay 0 No delay is used. |
737 |
|
|
# aop-delay X An X second delay is used. |
738 |
|
|
# aop-delay X:Y A random delay between X and Y is used. |
739 |
|
|
# |
740 |
|
|
# need-op { putserv "PRIVMSG #lamest :op me cos i'm lame!" } |
741 |
|
|
# This setting will make the bot run the script enclosed in brackets |
742 |
|
|
# if it does not have ops. This must be shorter than 120 characters. |
743 |
|
|
# If you use scripts like getops.tcl or botnetop.tcl, you don't need |
744 |
|
|
# to set this setting. |
745 |
|
|
# |
746 |
|
|
# need-invite { putserv "PRIVMSG #lamest :let me in!" } |
747 |
|
|
# This setting will make the bot run the script enclosed in brackets |
748 |
|
|
# if it needs an invite to the channel. This must be shorter than 120 |
749 |
|
|
# characters. If you use scripts like getops.tcl or botnetop.tcl, you |
750 |
|
|
# don't need to set this setting. |
751 |
|
|
# |
752 |
|
|
# need-key { putserv "PRIVMSG #lamest :let me in!" } |
753 |
|
|
# This setting will make the bot run the script enclosed in brackets |
754 |
|
|
# if it needs the key to the channel. This must be shorter than 120 |
755 |
|
|
# characters. If you use scripts like getops.tcl or botnetop.tcl, you |
756 |
|
|
# don't need to set this setting |
757 |
|
|
# |
758 |
|
|
# need-unban { putserv "PRIVMSG #lamest :let me in!" } |
759 |
|
|
# This setting will make the bot run the script enclosed in brackets |
760 |
|
|
# if it needs to be unbanned on the channel. This must be shorter than |
761 |
|
|
# 120 characters. If you use scripts like getops.tcl or botnetop.tcl, |
762 |
|
|
# you don't need to set this setting |
763 |
|
|
# |
764 |
|
|
# need-limit { putserv "PRIVMSG #lamest :let me in!" } |
765 |
|
|
# This setting will make the bot run the script enclosed in brackets |
766 |
|
|
# if it needs the limit to be raised on the channel. This must be |
767 |
|
|
# shorter than 120 characters. If you use scripts like getops.tcl or |
768 |
|
|
# botnetop.tcl, you don't need to set this setting |
769 |
|
|
# |
770 |
|
|
# flood-chan 15:60 |
771 |
|
|
# Set here how many channel messages in how many seconds from one |
772 |
|
|
# host constitutes a flood. Setting this to 0 or 0:0 disables |
773 |
|
|
# flood protection for the channel. |
774 |
|
|
# |
775 |
|
|
# flood-deop 3:10 |
776 |
|
|
# Set here how many deops in how many seconds from one host constitutes |
777 |
|
|
# a flood. Setting this to 0 or 0:0 disables deop flood protection for |
778 |
|
|
# the channel. |
779 |
|
|
# |
780 |
|
|
# flood-kick 3:10 |
781 |
|
|
# Set here how many kicks in how many seconds from one host constitutes |
782 |
|
|
# a flood. Setting this to 0 or 0:0 disables kick flood protection for |
783 |
|
|
# the channel. |
784 |
|
|
# |
785 |
|
|
# flood-join 5:60 |
786 |
|
|
# Set here how many joins in how many seconds from one host constitutes |
787 |
|
|
# a flood. Setting this to 0 or 0:0 disables join flood protection for |
788 |
|
|
# the channel. |
789 |
|
|
# |
790 |
|
|
# flood-ctcp 3:60 |
791 |
|
|
# Set here how many channel ctcps in how many seconds from one host |
792 |
|
|
# constitutes a flood. Setting this to 0 or 0:0 disables ctcp flood |
793 |
|
|
# protection for the channel. |
794 |
|
|
# |
795 |
|
|
# flood-nick 5:60 |
796 |
|
|
# Set here how many nick changes in how many seconds from one host |
797 |
|
|
# constitutes a flood. Setting this to 0 or 0:0 disables nick flood |
798 |
|
|
# protection for the channel. |
799 |
|
|
# |
800 |
|
|
# A complete list of all available channel settings: |
801 |
|
|
# |
802 |
|
|
# enforcebans |
803 |
|
|
# When a ban is set, kick people who are on the channel and match |
804 |
|
|
# the ban? |
805 |
|
|
# |
806 |
|
|
# dynamicbans |
807 |
|
|
# Only activate bans on the channel when necessary? This keeps |
808 |
|
|
# the channel's ban list from getting excessively long. The bot |
809 |
|
|
# still remembers every ban, but it only activates a ban on the |
810 |
|
|
# channel when it sees someone join who matches that ban. |
811 |
|
|
# |
812 |
|
|
# userbans |
813 |
|
|
# Allow bans to be made by users directly? If turned off, the bot |
814 |
|
|
# will require all bans to be made through the bot's console. |
815 |
|
|
# |
816 |
|
|
# dynamicexempts |
817 |
|
|
# Only activate exempts on the channel when necessary? This keeps |
818 |
|
|
# the channel's exempt list from getting excessively long. The bot |
819 |
|
|
# still remembers every exempt, but it only activates a exempt on |
820 |
|
|
# the channel when it sees a ban set that matches the exempt. The |
821 |
|
|
# exempt remains active on the channel for as long as the ban is |
822 |
|
|
# still active. |
823 |
|
|
# |
824 |
|
|
# userexempts |
825 |
|
|
# Allow exempts to be made by users directly? If turned off, the |
826 |
|
|
# bot will require all exempts to be made through the bot's console. |
827 |
|
|
# |
828 |
|
|
# dynamicinvites |
829 |
|
|
# Only activate invites on the channel when necessary? This keeps |
830 |
|
|
# the channel's invite list from getting excessively long. The bot |
831 |
|
|
# still remembers every invite, but the invites are only activated |
832 |
|
|
# when the channel is set to invite only and a user joins after |
833 |
|
|
# requesting an invite. Once set, the invite remains until the |
834 |
|
|
# channel goes to -i. |
835 |
|
|
# |
836 |
|
|
# userinvites |
837 |
|
|
# Allow invites to be made by users directly? If turned off, the |
838 |
|
|
# bot will require all invites to be made through the bot's console. |
839 |
|
|
# |
840 |
|
|
# autoop |
841 |
|
|
# Op users with the +o flag as soon as they join the channel? |
842 |
|
|
# This is insecure and not recommended. |
843 |
|
|
# |
844 |
|
|
# autohalfop |
845 |
|
|
# Halfop users with the +l flag as soon as they join the channel? |
846 |
|
|
# This is insecure and not recommended. |
847 |
|
|
# |
848 |
|
|
# bitch |
849 |
|
|
# Only let users with +o) flag be opped on the channel? |
850 |
|
|
# |
851 |
|
|
# greet |
852 |
|
|
# Say a user's info line when they join the channel? |
853 |
|
|
# |
854 |
|
|
# protectops |
855 |
|
|
# Re-op a user with the +o flag if they get deopped? |
856 |
|
|
# |
857 |
|
|
# protecthalfops |
858 |
|
|
# Re-halfop a user with the +l flag if they get dehalfopped? |
859 |
|
|
# |
860 |
|
|
# protectfriends |
861 |
|
|
# Re-op a user with the +f flag if they get deopped? |
862 |
|
|
# |
863 |
|
|
# statuslog |
864 |
|
|
# Log the channel status line every 5 minutes? This shows the bot's |
865 |
|
|
# status on the channel (op, voice, etc.), the channel's modes, and |
866 |
pseudo |
1.11 |
# the total number of members, ops, voices, regular users, and +b, |
867 |
|
|
# +e, and +I modes on the channel. A sample status line follows: |
868 |
simple |
1.1 |
# |
869 |
|
|
# [01:40] @#lamest (+istn) : [m/1 o/1 v/4 n/7 b/1 e/5 I/7] |
870 |
|
|
# |
871 |
|
|
# revenge |
872 |
|
|
# Remember people who deop/kick/ban the bot, valid ops, or friends |
873 |
|
|
# and punish them? Users with the +f flag are exempt from revenge. |
874 |
|
|
# |
875 |
|
|
# revengebot |
876 |
|
|
# This is similar to to the 'revenge' option, but it only triggers |
877 |
|
|
# if a bot gets deopped, kicked or banned. |
878 |
|
|
# |
879 |
|
|
# autovoice |
880 |
|
|
# Voice users with the +v flag when they join the channel? |
881 |
|
|
# |
882 |
|
|
# secret |
883 |
|
|
# Prevent this channel from being listed on the botnet? |
884 |
|
|
# |
885 |
|
|
# shared |
886 |
|
|
# Share channel-related user info for this channel? |
887 |
|
|
# |
888 |
|
|
# cycle |
889 |
|
|
# Cycle the channel when it has no ops? |
890 |
|
|
# |
891 |
|
|
# dontkickops |
892 |
|
|
# Do you want the bot not to be able to kick users who have the +o |
893 |
|
|
# flag, letting them kick-flood for instance to protect the channel |
894 |
|
|
# against clone attacks. |
895 |
|
|
# |
896 |
|
|
# inactive |
897 |
|
|
# This prevents the bot from joining the channel (or makes it leave |
898 |
|
|
# the channel if it is already there). It can be useful to make the |
899 |
|
|
# bot leave a channel without losing its settings, channel-specific |
900 |
|
|
# user flags, channel bans, and without affecting sharing. |
901 |
|
|
# |
902 |
|
|
# seen |
903 |
|
|
# Respond to seen requests in the channel? The seen module must be |
904 |
|
|
# loaded for this to work. |
905 |
|
|
# |
906 |
|
|
# nodesynch |
907 |
|
|
# Allow non-ops to perform channel modes? This can stop the bot from |
908 |
|
|
# fighting with services such as ChanServ, or from kicking IRCops when |
909 |
|
|
# setting channel modes without having ops. |
910 |
|
|
# |
911 |
|
|
# static |
912 |
|
|
# Allow only permanent owners to remove the channel? |
913 |
|
|
|
914 |
|
|
# To add a channel to eggdrop, please enter the bot's partyline and type |
915 |
|
|
# .+chan #channel. Check also .help chanset and .help chaninfo. |
916 |
|
|
# You can still add a channel here and it will be saved if you have a |
917 |
|
|
# chanfile. We recommend you to use the partyline though. |
918 |
|
|
# |
919 |
|
|
#channel add #lamest |
920 |
|
|
|
921 |
|
|
|
922 |
|
|
#### SERVER MODULE #### |
923 |
|
|
|
924 |
|
|
# This module provides the core server support. You have to load this |
925 |
|
|
# if you want your bot to come on IRC. Not loading this is equivalent |
926 |
|
|
# to the old NO_IRC define. |
927 |
|
|
loadmodule server |
928 |
|
|
|
929 |
pseudo |
1.5 |
# Control certificate verification for irc servers. For a description of the |
930 |
|
|
# possible values, look at the SSL SETTINGS section above. |
931 |
|
|
#set ssl-verify-server 0 |
932 |
|
|
|
933 |
simple |
1.1 |
# What is your network? |
934 |
|
|
# 0 = EFnet |
935 |
|
|
# 1 = IRCnet |
936 |
|
|
# 2 = Undernet |
937 |
|
|
# 3 = DALnet |
938 |
|
|
# 4 = +e/+I/max-modes 20 Hybrid |
939 |
|
|
# 5 = Others |
940 |
|
|
set net-type 0 |
941 |
|
|
|
942 |
|
|
# Set the nick the bot uses on IRC, and on the botnet unless you specify a |
943 |
|
|
# separate botnet-nick, here. |
944 |
|
|
set nick "Lamestbot" |
945 |
|
|
|
946 |
|
|
# Set the alternative nick which the bot uses on IRC if the nick specified |
947 |
|
|
# by 'set nick' is unavailable. All '?' characters will be replaced by random |
948 |
|
|
# numbers. |
949 |
|
|
set altnick "Llamab?t" |
950 |
|
|
|
951 |
|
|
# Set what should be displayed in the real-name field for the bot on IRC. |
952 |
|
|
# This can not be blank, it has to contain something. |
953 |
|
|
set realname "/msg LamestBot hello" |
954 |
|
|
|
955 |
|
|
# This is a Tcl script to be run immediately after connecting to a server. |
956 |
|
|
bind evnt - init-server evnt:init_server |
957 |
|
|
|
958 |
|
|
proc evnt:init_server {type} { |
959 |
|
|
global botnick |
960 |
|
|
putquick "MODE $botnick +i-ws" |
961 |
|
|
} |
962 |
|
|
|
963 |
|
|
# Set the default port which should be used if none is specified with |
964 |
|
|
# '.jump' or in 'set servers'. |
965 |
|
|
set default-port 6667 |
966 |
|
|
|
967 |
|
|
# This is the bot's server list. The bot will start at the first server listed, |
968 |
|
|
# and cycle through them whenever it gets disconnected. You need to change these |
969 |
|
|
# servers to YOUR network's servers. |
970 |
|
|
# |
971 |
|
|
# The format is: |
972 |
|
|
# server[:port[:password]] |
973 |
pseudo |
1.5 |
# Prefix the port with a plus sign to attempt a SSL connection: |
974 |
|
|
# server:+port[:password] |
975 |
pseudo |
1.10 |
# If you need to specify a numeric server IPv6 address, enclose it in square |
976 |
|
|
# brackets. |
977 |
simple |
1.1 |
# |
978 |
|
|
# Both the port and password fields are optional; however, if you want to set a |
979 |
pseudo |
1.10 |
# password or use SSL you must also set a port. If a port isn't specified it |
980 |
|
|
# will default to your default-port setting. |
981 |
simple |
1.1 |
set servers { |
982 |
|
|
you.need.to.change.this:6667 |
983 |
|
|
another.example.com:7000:password |
984 |
pseudo |
1.10 |
[2001:db8:618:5c0:263::]:6669:password |
985 |
pseudo |
1.5 |
ssl.example.net:+6697 |
986 |
simple |
1.1 |
} |
987 |
|
|
|
988 |
|
|
# Number of seconds to wait between transmitting queued lines to the server. |
989 |
|
|
# Lower this value at your own risk. ircd is known to start flood control |
990 |
|
|
# at 512 bytes/2 seconds. |
991 |
|
|
set msg-rate 2 |
992 |
|
|
|
993 |
|
|
# This setting makes the bot try to get his original nickname back if its |
994 |
|
|
# primary nickname is already in use. |
995 |
|
|
set keep-nick 1 |
996 |
|
|
|
997 |
|
|
|
998 |
|
|
# This setting makes the bot squelch the error message when rejecting a DCC |
999 |
|
|
# CHAT, SEND or message command. Normally, Eggdrop notifies the user that the |
1000 |
|
|
# command has been rejected because they don't have access. Note that sometimes |
1001 |
|
|
# IRC server operators detect bots that way. |
1002 |
|
|
set quiet-reject 1 |
1003 |
|
|
|
1004 |
|
|
# If you want your bot to answer lower case ctcp requests (non rfc- |
1005 |
|
|
# compliant), set this setting to 1. mIRC will do this, most other |
1006 |
|
|
# clients will not. |
1007 |
|
|
set lowercase-ctcp 0 |
1008 |
|
|
|
1009 |
|
|
# Set how many ctcps should be answered at once. |
1010 |
|
|
set answer-ctcp 3 |
1011 |
|
|
|
1012 |
|
|
# Set here how many msgs in how many seconds from one host constitutes |
1013 |
|
|
# a flood. If you set this to 0:0, msg flood protection will be disabled. |
1014 |
|
|
set flood-msg 5:60 |
1015 |
|
|
|
1016 |
|
|
# Set here how many ctcps in how many seconds from one host constitutes |
1017 |
|
|
# a flood. If you set this to 0:0, ctcp flood protection will be disabled. |
1018 |
|
|
set flood-ctcp 3:60 |
1019 |
|
|
|
1020 |
|
|
# This setting defines how long Eggdrop should wait before moving from one |
1021 |
|
|
# server to another on disconnect. If you set 0 here, Eggdrop will not wait |
1022 |
|
|
# at all and will connect instantly. Setting this too low could result in |
1023 |
|
|
# your bot being K:Lined. |
1024 |
|
|
set server-cycle-wait 60 |
1025 |
|
|
|
1026 |
|
|
# Set here how long Eggdrop should wait for a response when connecting to a |
1027 |
|
|
# server before giving up and moving on to next server. |
1028 |
|
|
set server-timeout 60 |
1029 |
|
|
|
1030 |
|
|
# Set this to 1 if Eggdrop should check for stoned servers? (where the |
1031 |
|
|
# server connection has died, but Eggdrop hasn't been notified yet). |
1032 |
|
|
set check-stoned 1 |
1033 |
|
|
|
1034 |
|
|
# If you want your bot to exit the server if it receives an ERROR message, |
1035 |
|
|
# set this to 1. |
1036 |
|
|
set serverror-quit 1 |
1037 |
|
|
|
1038 |
|
|
# Set here the maximum number of lines to queue to the server. If you're |
1039 |
|
|
# going to dump large chunks of text to people over IRC, you will probably |
1040 |
|
|
# want to raise this. 300 is fine for most people though. |
1041 |
|
|
set max-queue-msg 300 |
1042 |
|
|
|
1043 |
|
|
# If you want Eggdrop to trigger binds for ignored users, set this to 1. |
1044 |
|
|
set trigger-on-ignore 0 |
1045 |
|
|
|
1046 |
|
|
# This setting configures PUBM and MSGM binds to be exclusive of PUB and MSG |
1047 |
|
|
# binds. This means if a MSGM bind with the mask "*help*" exists and is |
1048 |
|
|
# triggered, any MSG bindings with "help" in their mask will not be |
1049 |
|
|
# triggered. Don't enable this unless you know what you are doing! |
1050 |
|
|
set exclusive-binds 0 |
1051 |
|
|
|
1052 |
|
|
# Allow identical messages in the mode queue? |
1053 |
|
|
set double-mode 1 |
1054 |
|
|
|
1055 |
|
|
# Allow identical messages in the server queue? |
1056 |
|
|
set double-server 1 |
1057 |
|
|
|
1058 |
|
|
# Allow identical messages in the help queue? |
1059 |
|
|
set double-help 1 |
1060 |
|
|
|
1061 |
|
|
# This optimizes the kick queue. It also traces nick changes and parts in |
1062 |
|
|
# the channel and changes the kick queue accordingly. There are three |
1063 |
|
|
# different options for this setting: |
1064 |
|
|
# 0 = Turn it off. |
1065 |
|
|
# 1 = Optimize the kick queue by summarizing kicks. |
1066 |
|
|
# 2 = Trace nick changes and parts on the channel and change the queue |
1067 |
|
|
# accordingly. For example, bot will not try to kick users who have |
1068 |
|
|
# already parted the channel. |
1069 |
|
|
# ATTENTION: Setting 2 is very CPU intensive. |
1070 |
|
|
set optimize-kicks 1 |
1071 |
|
|
|
1072 |
|
|
# If your network supports more recipients per command then 1, you can |
1073 |
|
|
# change this behavior here. Set this to the number of recipients per |
1074 |
|
|
# command, or set this to 0 for unlimited. |
1075 |
|
|
set stack-limit 4 |
1076 |
|
|
|
1077 |
|
|
### SERVER MODULE - OTHER NETWORKS (net-type 5) ### |
1078 |
|
|
|
1079 |
|
|
# This settings defines how umode +r is understood by Eggdrop. Some networks |
1080 |
|
|
# use +r to indicate a restricted connection. If this is your case, and you |
1081 |
|
|
# want your bot to leave restricted servers and jump to the next server on its |
1082 |
|
|
# list, then set it to 1. |
1083 |
|
|
#set check-mode-r 1 |
1084 |
|
|
|
1085 |
|
|
# This setting allows you to specify the maximum nick-length supported by your |
1086 |
|
|
# network. The default setting is 9. The maximum supported length by Eggdrop |
1087 |
|
|
# is 32. |
1088 |
|
|
#set nick-len 9 |
1089 |
|
|
|
1090 |
|
|
#### CTCP MODULE #### |
1091 |
|
|
|
1092 |
|
|
# This module provides the normal ctcp replies that you'd expect. |
1093 |
|
|
# Without it loaded, CTCP CHAT will not work. The server module |
1094 |
|
|
# is required for this module to function. |
1095 |
|
|
loadmodule ctcp |
1096 |
|
|
|
1097 |
|
|
# Set here how the ctcp module should answer ctcps. There are 3 possible |
1098 |
|
|
# operating modes: |
1099 |
|
|
# 0: Normal behavior is used. |
1100 |
|
|
# 1: The bot ignores all ctcps, except for CHAT and PING requests |
1101 |
|
|
# by users with the +o flag. |
1102 |
|
|
# 2: Normal behavior is used, however the bot will not answer more |
1103 |
|
|
# than X ctcps in Y seconds (defined by 'set flood-ctcp'). |
1104 |
|
|
set ctcp-mode 0 |
1105 |
|
|
|
1106 |
|
|
# There are also several variables to help make your bot less noticeable. |
1107 |
|
|
# They are: ctcp-version, ctcp-finger, and ctcp-userinfo. You can use set to set |
1108 |
|
|
# them to values you'd like. |
1109 |
|
|
|
1110 |
|
|
|
1111 |
|
|
#### IRC MODULE #### |
1112 |
|
|
|
1113 |
|
|
# This module provides basic IRC support for your bot. You have to |
1114 |
|
|
# load this if you want your bot to come on IRC. The server and channels |
1115 |
|
|
# modules must be loaded for this module to function. |
1116 |
|
|
loadmodule irc |
1117 |
|
|
|
1118 |
|
|
# Set this to 1 if you want to bounce all server bans. |
1119 |
|
|
set bounce-bans 0 |
1120 |
|
|
|
1121 |
|
|
# Set this to 1 if you want to bounce all server exemptions (+e modes). |
1122 |
|
|
# This is disabled if use-exempts is disabled. |
1123 |
|
|
set bounce-exempts 0 |
1124 |
|
|
|
1125 |
|
|
# Set this to 1 if you want to bounce all server invitations (+I modes). |
1126 |
|
|
# This is disabled if use-invites is disabled. |
1127 |
|
|
set bounce-invites 0 |
1128 |
|
|
|
1129 |
|
|
# Set this to 1 if you want to bounce all server modes. |
1130 |
|
|
set bounce-modes 0 |
1131 |
|
|
|
1132 |
|
|
# Set here the maximum number of bans you want the bot to set on a channel. |
1133 |
|
|
# Eggdrop will not place any more bans if this limit is reached. Undernet |
1134 |
thommey |
1.13 |
# currently allows 45 bans, IRCnet allows 64, EFnet allows 100, and DALnet |
1135 |
simple |
1.1 |
# allows 100. |
1136 |
|
|
set max-bans 30 |
1137 |
|
|
|
1138 |
|
|
# Set here the maximum number of exempts you want Eggdrop to set on a channel. |
1139 |
|
|
# Eggdrop will not place any more exempts if this limit is reached. |
1140 |
|
|
set max-exempts 20 |
1141 |
|
|
|
1142 |
|
|
# Set here the maximum number of invites you want Eggdrop to set on a channel. |
1143 |
|
|
# Eggdrop will not place any more invites if this limit is reached. |
1144 |
|
|
set max-invites 20 |
1145 |
|
|
|
1146 |
|
|
# There is a global limit for +b/+e/+I modes. This limit should be set to |
1147 |
|
|
# the same value as max-bans for networks that do not support +e/+I. |
1148 |
|
|
set max-modes 30 |
1149 |
|
|
|
1150 |
|
|
# The following settings should be left commented unless the default values |
1151 |
|
|
# are being overridden. By default, exempts and invites are on for EFnet and |
1152 |
|
|
# IRCnet, but off for all other large networks. This behavior can be modified |
1153 |
|
|
# with the following 2 flags. If your network doesn't support +e/+I modes then |
1154 |
|
|
# you will be unable to use these features. |
1155 |
|
|
# |
1156 |
|
|
# Do you want to enable exempts (+e modes)? |
1157 |
|
|
#set use-exempts 0 |
1158 |
|
|
|
1159 |
|
|
# Do you want to enable invites (+I modes)? |
1160 |
|
|
#set use-invites 0 |
1161 |
|
|
|
1162 |
|
|
# If you want people to be able to add themselves to the bot's userlist |
1163 |
|
|
# with the default userflags (defined above in the config file) via the |
1164 |
|
|
# 'hello' msg command, set this to 1. |
1165 |
|
|
set learn-users 0 |
1166 |
|
|
|
1167 |
|
|
# Set here the time (in seconds) to wait for someone to return from a netsplit |
1168 |
|
|
# (i.e. wasop will expire afterwards). Set this to 1500 on IRCnet since its |
1169 |
|
|
# nick delay stops after 30 minutes. |
1170 |
|
|
set wait-split 600 |
1171 |
|
|
|
1172 |
|
|
# Set here the time (in seconds) that someone must have been off-channel |
1173 |
|
|
# before re-displaying their info line. |
1174 |
|
|
set wait-info 180 |
1175 |
|
|
|
1176 |
|
|
# Set this to the maximum number of bytes to send in the arguments |
1177 |
|
|
# of modes sent to the server. Most servers default this to 200. |
1178 |
|
|
set mode-buf-length 200 |
1179 |
|
|
|
1180 |
|
|
# Many IRCops find bots by seeing if they reply to 'hello' in a msg. |
1181 |
|
|
# You can change this to another word by un-commenting the following |
1182 |
|
|
# two lines and changing "myword" to the word wish to use instead of |
1183 |
|
|
# 'hello'. It must be a single word. |
1184 |
|
|
#unbind msg - hello *msg:hello |
1185 |
|
|
#bind msg - myword *msg:hello |
1186 |
|
|
|
1187 |
|
|
# Many takeover attempts occur due to lame users blindly /msg ident'ing to |
1188 |
|
|
# the bot and attempting to guess passwords. We now unbind this command by |
1189 |
|
|
# default to discourage them. You can enable these commands by commenting the |
1190 |
|
|
# following two lines. |
1191 |
|
|
unbind msg - ident *msg:ident |
1192 |
|
|
unbind msg - addhost *msg:addhost |
1193 |
|
|
|
1194 |
|
|
# Some IRC servers are using some non-standard op-like channel prefixes/modes. |
1195 |
|
|
# Define them here so the bot can recognize them. Just "@" should be fine for |
1196 |
|
|
# most networks. Un-comment the second line for some UnrealIRCds. |
1197 |
|
|
|
1198 |
|
|
set opchars "@" |
1199 |
|
|
#set opchars "@&~" |
1200 |
|
|
|
1201 |
|
|
# If you are so lame you want the bot to display peoples info lines, even |
1202 |
|
|
# when you are too lazy to add their chanrecs to a channel, set this to 1. |
1203 |
|
|
# *NOTE* This means *every* user with an info line will have their info |
1204 |
|
|
# line displayed on EVERY channel they join (provided they have been gone |
1205 |
|
|
# longer than wait-info). |
1206 |
|
|
set no-chanrec-info 0 |
1207 |
|
|
|
1208 |
|
|
### IRC MODULE - IRCnet SPECIFIC FEATURES (net-type 1) ### |
1209 |
|
|
|
1210 |
|
|
# Attention: Use these settings *only* if you set 'net-type' to 1! |
1211 |
|
|
|
1212 |
|
|
# At the moment, the current IRCnet IRCd version (2.10) doesn't support the |
1213 |
|
|
# mixing of b, o and v modes with e and I modes. This might be changed in the |
1214 |
|
|
# future, so use 1 at the moment for this setting. |
1215 |
|
|
set prevent-mixing 1 |
1216 |
|
|
|
1217 |
|
|
### IRC MODULE - OTHER NETWORKS (net-type 5) ### |
1218 |
|
|
|
1219 |
|
|
# Attention: Use these settings *only* if you set 'net-type' to 5! |
1220 |
|
|
|
1221 |
|
|
# If your network supports more users per kick command then 1, you can |
1222 |
|
|
# change this behavior here. Set this to the number of users to kick at |
1223 |
|
|
# once, or set this to 0 for all at once. |
1224 |
|
|
#set kick-method 1 |
1225 |
|
|
|
1226 |
|
|
# Some networks allow you to stack lots of channel modes into one line. |
1227 |
|
|
# They're all guaranteed to support at least 3, so that's the default. |
1228 |
|
|
# If you know your network supports more, you may want to adjust this. |
1229 |
|
|
# This setting is limited to 6, although if you want to use a higher value, |
1230 |
|
|
# you can modify this by changing the value of MODES_PER_LINE_MAX in |
1231 |
|
|
# src/chan.h and recompiling the bot. |
1232 |
|
|
#set modes-per-line 3 |
1233 |
|
|
|
1234 |
|
|
# Some networks don't include the +l limit and +k or -k key modes |
1235 |
|
|
# in the modes-per-line (see above) limitation. Set include-lk to 0 for |
1236 |
|
|
# these networks. |
1237 |
|
|
#set include-lk 1 |
1238 |
|
|
|
1239 |
|
|
# Set this to 1 if your network uses IRCu2.10.01 specific /who requests. |
1240 |
|
|
# Eggdrop can, therefore, ask only for exactly what's needed. |
1241 |
|
|
#set use-354 0 |
1242 |
|
|
|
1243 |
|
|
# If your network doesn't use rfc 1459 compliant string matching routines, |
1244 |
|
|
# set this to 0. |
1245 |
|
|
#set rfc-compliant 1 |
1246 |
|
|
|
1247 |
|
|
|
1248 |
|
|
#### TRANSFER MODULE #### |
1249 |
|
|
|
1250 |
|
|
# The transfer module provides DCC SEND/GET support and userfile transfer |
1251 |
|
|
# support for userfile sharing. Un-comment the next line to load it if you |
1252 |
|
|
# need this functionality. |
1253 |
|
|
#loadmodule transfer |
1254 |
|
|
|
1255 |
|
|
# Set here the maximum number of simultaneous downloads to allow for |
1256 |
|
|
# each user. |
1257 |
|
|
set max-dloads 3 |
1258 |
|
|
|
1259 |
|
|
# Set here the block size for dcc transfers. ircII uses 512 bytes, |
1260 |
|
|
# but admits that it may be too small. 1024 is standard these days. |
1261 |
|
|
# 0 is turbo-dcc (recommended). |
1262 |
|
|
set dcc-block 0 |
1263 |
|
|
|
1264 |
|
|
# Enable this setting if you want to copy files into the /tmp directory |
1265 |
|
|
# before sending them. This is useful on most systems for file stability, |
1266 |
|
|
# but if your directories are NFS mounted, it's a pain, and you'll want |
1267 |
|
|
# to set this to 0. If you are low on disk space, you may also want to |
1268 |
|
|
# set this to 0. |
1269 |
|
|
set copy-to-tmp 1 |
1270 |
|
|
|
1271 |
|
|
# Set here the time (in seconds) to wait before an inactive transfer times out. |
1272 |
|
|
set xfer-timeout 30 |
1273 |
|
|
|
1274 |
|
|
|
1275 |
|
|
#### SHARE MODULE #### |
1276 |
|
|
|
1277 |
|
|
# This module provides userfile sharing support between two directly |
1278 |
|
|
# linked bots. The transfer and channels modules are required for this |
1279 |
|
|
# module to correctly function. Un-comment the following line to load |
1280 |
|
|
# the share module. |
1281 |
|
|
#loadmodule share |
1282 |
|
|
|
1283 |
|
|
# Settings in this section must be un-commented before setting. |
1284 |
|
|
|
1285 |
|
|
# When two bots get disconnected, this setting allows them to create a |
1286 |
|
|
# resync buffer which saves all changes done to the userfile during |
1287 |
|
|
# the disconnect. When they reconnect, they will not have to transfer |
1288 |
|
|
# the complete user file, but, instead, just send the resync buffer. |
1289 |
|
|
# |
1290 |
|
|
# NOTE: This has been known to cause loss of channel flags and other |
1291 |
|
|
# problems. Using this setting is not recommended. |
1292 |
|
|
#set allow-resync 0 |
1293 |
|
|
|
1294 |
|
|
# This setting specifies how long to hold another bots resync data |
1295 |
|
|
# before flushing it. |
1296 |
|
|
#set resync-time 900 |
1297 |
|
|
|
1298 |
|
|
# When sharing user lists, DON'T ACCEPT global flag changes from other bots? |
1299 |
|
|
# NOTE: The bot will still send changes made on the bot, it just won't accept |
1300 |
|
|
# any global flag changes from other bots. This overrides the private-globals |
1301 |
|
|
# setting (below). |
1302 |
|
|
#set private-global 0 |
1303 |
|
|
|
1304 |
|
|
# When sharing user lists, if private-global isn't set, which global flag |
1305 |
|
|
# changes from other bots should be ignored? |
1306 |
|
|
#set private-globals "mnot" |
1307 |
|
|
|
1308 |
|
|
# When sharing user lists, don't accept ANY userfile changes from other |
1309 |
|
|
# bots? Paranoid people should use this feature on their hub bot. This |
1310 |
|
|
# will force all userlist changes to be made via the hub. |
1311 |
|
|
#set private-user 0 |
1312 |
|
|
|
1313 |
|
|
# This setting makes the bot discard its own bot records in favor of |
1314 |
|
|
# the ones sent by the hub. |
1315 |
|
|
# NOTE: No passwords or botflags are shared, only ports and |
1316 |
|
|
# address are added to sharing procedure. This only works with hubs that |
1317 |
|
|
# are v1.5.1 or higher. |
1318 |
|
|
#set override-bots 0 |
1319 |
|
|
|
1320 |
|
|
|
1321 |
|
|
#### COMPRESS MODULE #### |
1322 |
|
|
|
1323 |
|
|
# This module provides provides support for file compression. This allows the |
1324 |
|
|
# bot to transfer compressed user files and therefore save a significant amount |
1325 |
|
|
# of bandwidth. The share module must be loaded to load this module. Un-comment |
1326 |
|
|
# the following line to the compress module. |
1327 |
|
|
#loadmodule compress |
1328 |
|
|
|
1329 |
|
|
# Allow compressed sending of user files? The user files are compressed with |
1330 |
|
|
# the compression level defined in `compress-level'. |
1331 |
|
|
set share-compressed 1 |
1332 |
|
|
|
1333 |
|
|
# This is the default compression level used. These levels are the same as |
1334 |
|
|
# those used by GNU gzip. |
1335 |
|
|
#set compress-level 9 |
1336 |
|
|
|
1337 |
|
|
|
1338 |
|
|
#### FILESYSTEM MODULE #### |
1339 |
|
|
|
1340 |
|
|
# This module provides an area within the bot where users can store and |
1341 |
|
|
# manage files. With this module, the bot is usable as a file server. The |
1342 |
|
|
# transfer module is required for this module to function. Un-comment |
1343 |
|
|
# the following line to load the filesys module. |
1344 |
|
|
#loadmodule filesys |
1345 |
|
|
|
1346 |
|
|
# Set here the 'root' directory for the file system. |
1347 |
|
|
set files-path "/home/mydir/filesys" |
1348 |
|
|
|
1349 |
|
|
# If you want to allow uploads, set this to the directory uploads |
1350 |
|
|
# should be put into. Set this to "" if you don't want people to |
1351 |
|
|
# upload files to your bot. |
1352 |
|
|
set incoming-path "/home/mydir/filesys/incoming" |
1353 |
|
|
|
1354 |
|
|
# If you don't want to have a central incoming directory, but instead |
1355 |
|
|
# want uploads to go to the current directory that a user is in, set |
1356 |
|
|
# this setting to 1. |
1357 |
|
|
set upload-to-pwd 0 |
1358 |
|
|
|
1359 |
|
|
# Eggdrop creates a '.filedb' file in each subdirectory of your file area |
1360 |
|
|
# to keep track of its own file system information. If you can't do that (for |
1361 |
|
|
# example, if the dcc path isn't owned by you, or you just don't want it to do |
1362 |
|
|
# that) specify a path here where you'd like all of the database files to be |
1363 |
|
|
# stored instead. |
1364 |
|
|
set filedb-path "" |
1365 |
|
|
|
1366 |
|
|
# Set here the maximum number of people that can be in the file area at once. |
1367 |
|
|
# Setting this to 0 makes it effectively infinite. |
1368 |
|
|
set max-file-users 20 |
1369 |
|
|
|
1370 |
|
|
# Set here the maximum allowable file size that will be received (in KB). |
1371 |
|
|
# Setting this to 0 makes it effectively infinite. |
1372 |
|
|
set max-filesize 1024 |
1373 |
|
|
|
1374 |
|
|
|
1375 |
|
|
#### NOTES MODULE #### |
1376 |
|
|
|
1377 |
|
|
# This module provides support for storing of notes for users from each other. |
1378 |
|
|
# Note sending between currently online users is supported in the core, this is |
1379 |
|
|
# only for storing the notes for later retrieval. |
1380 |
|
|
loadmodule notes |
1381 |
|
|
|
1382 |
|
|
# Set here the filename where private notes between users are stored. |
1383 |
|
|
set notefile "LamestBot.notes" |
1384 |
|
|
|
1385 |
|
|
# Set here the maximum number of notes to allow to be stored for each user |
1386 |
|
|
# (to prevent flooding). |
1387 |
|
|
set max-notes 50 |
1388 |
|
|
|
1389 |
|
|
# Set here how long (in days) to store notes before expiring them. |
1390 |
|
|
set note-life 60 |
1391 |
|
|
|
1392 |
|
|
# Set this to 1 if you want to allow users to specify a forwarding address |
1393 |
|
|
# for forwarding notes to another account on another bot. |
1394 |
|
|
set allow-fwd 0 |
1395 |
|
|
|
1396 |
|
|
# Set this to 1 if you want the bot to let people know hourly if they have |
1397 |
|
|
# any notes. |
1398 |
|
|
set notify-users 0 |
1399 |
|
|
|
1400 |
|
|
# Set this to 1 if you want the bot to let people know on join if they have |
1401 |
|
|
# any notes. |
1402 |
|
|
set notify-onjoin 1 |
1403 |
|
|
|
1404 |
|
|
# Comment out this next line. Otherwise, your bot won't start. |
1405 |
|
|
die "You didn't edit your config file completely like you were told, did you?" |
1406 |
|
|
|
1407 |
thommey |
1.15 |
# This next line checks if eggdrop is being executed from the source directory |
1408 |
|
|
if {[file exists aclocal.m4]} { die {You are attempting to run Eggdrop from the source directory. Please finish installing Eggdrop by running "make install" and run it from the install location.} } |
1409 |
simple |
1.1 |
|
1410 |
|
|
#### CONSOLE MODULE #### |
1411 |
|
|
|
1412 |
|
|
# This module provides storage of console settings when you exit the |
1413 |
|
|
# bot or type .store on the partyline. |
1414 |
|
|
loadmodule console |
1415 |
|
|
|
1416 |
|
|
# Save users console settings automatically? Otherwise, they have |
1417 |
|
|
# to use the .store command. |
1418 |
|
|
set console-autosave 1 |
1419 |
|
|
|
1420 |
|
|
# If a user doesn't have any console settings saved, which channel |
1421 |
|
|
# do you want them automatically put on? |
1422 |
|
|
set force-channel 0 |
1423 |
|
|
|
1424 |
|
|
# Enable this setting if a user's global info line should be displayed |
1425 |
|
|
# when they join a botnet channel. |
1426 |
|
|
set info-party 0 |
1427 |
|
|
|
1428 |
|
|
|
1429 |
|
|
#### WOOBIE MODULE #### |
1430 |
|
|
|
1431 |
|
|
# This is for demonstrative purposes only. If you are looking for starting |
1432 |
|
|
# point in writing modules, woobie is the right thing. |
1433 |
|
|
#loadmodule woobie |
1434 |
|
|
|
1435 |
|
|
|
1436 |
|
|
#### SEEN MODULE #### |
1437 |
|
|
|
1438 |
|
|
# This module provides very basic seen commands via msg, on channel or via dcc. |
1439 |
|
|
# This module works only for users in the bot's userlist. If you are looking for |
1440 |
|
|
# a better and more advanced seen module, try the gseen module by G'Quann. You |
1441 |
|
|
# can find it at http://www.kreativrauschen.com/gseen.mod/. |
1442 |
|
|
#loadmodule seen |
1443 |
|
|
|
1444 |
|
|
|
1445 |
|
|
#### ASSOC MODULE #### |
1446 |
|
|
|
1447 |
|
|
# This module provides assoc support, i.e. naming channels on the botnet. |
1448 |
|
|
# You can load it by un-commenting the following line. |
1449 |
|
|
#loadmodule assoc |
1450 |
|
|
|
1451 |
|
|
|
1452 |
|
|
#### UPTIME MODULE #### |
1453 |
|
|
|
1454 |
|
|
# This module reports uptime statistics to http://uptime.eggheads.org. |
1455 |
|
|
# Go look and see what your uptime is! It takes about 9 hours to show up, |
1456 |
|
|
# so if your bot isn't listed, try again later. The server module must be |
1457 |
|
|
# loaded for this module to function. |
1458 |
|
|
# |
1459 |
|
|
# Information sent to the server includes the bot's uptime, botnet-nick, |
1460 |
|
|
# server, version, and IP address. This information is stored in a temporary |
1461 |
|
|
# logfile for debugging purposes only. The only publicly available information |
1462 |
|
|
# will be the bot's botnet-nick, version and uptime. If you do not wish for this |
1463 |
|
|
# information to be sent, comment out the following line. |
1464 |
|
|
loadmodule uptime |
1465 |
|
|
|
1466 |
|
|
##### SCRIPTS ##### |
1467 |
|
|
|
1468 |
|
|
# This is a good place to load scripts to use with your bot. |
1469 |
|
|
|
1470 |
|
|
# This line loads script.tcl from the scripts directory inside your Eggdrop's |
1471 |
|
|
# directory. All scripts should be put there, although you can place them where |
1472 |
|
|
# you like as long as you can supply a fully qualified path to them. |
1473 |
|
|
# |
1474 |
|
|
# source scripts/script.tcl |
1475 |
|
|
|
1476 |
|
|
source scripts/alltools.tcl |
1477 |
|
|
source scripts/action.fix.tcl |
1478 |
|
|
|
1479 |
|
|
# This script enhances Eggdrop's built-in dcc '.whois' command to allow all |
1480 |
|
|
# users to '.whois' their own handle. |
1481 |
|
|
source scripts/dccwhois.tcl |
1482 |
|
|
|
1483 |
|
|
# This script provides many useful informational functions, like setting |
1484 |
|
|
# users' URLs, e-mail address, ICQ numbers, etc. You can modify it to add |
1485 |
|
|
# extra entries. |
1486 |
|
|
source scripts/userinfo.tcl |
1487 |
|
|
loadhelp userinfo.help |
1488 |
|
|
|
1489 |
|
|
# Use this script for Tcl and Eggdrop backwards compatibility. |
1490 |
|
|
# NOTE: This can also cause problems with some newer scripts. |
1491 |
|
|
#source scripts/compat.tcl |
1492 |
|
|
|
1493 |
|
|
# A few IRC networks (EFnet and Undernet) have added some simple checks to |
1494 |
|
|
# prevent drones from connecting to the IRC network. While these checks are |
1495 |
|
|
# fairly trivial, they will prevent your Eggdrop from automatically |
1496 |
|
|
# connecting. In an effort to work-around these, we have developed a couple of |
1497 |
|
|
# TCL scripts to automate the process. |
1498 |
|
|
|
1499 |
|
|
if {[info exists net-type]} { |
1500 |
|
|
switch -- ${net-type} { |
1501 |
|
|
"0" { |
1502 |
|
|
# EFnet |
1503 |
|
|
source scripts/quotepong.tcl |
1504 |
|
|
} |
1505 |
|
|
"2" { |
1506 |
|
|
# Undernet |
1507 |
|
|
source scripts/quotepass.tcl |
1508 |
|
|
} |
1509 |
|
|
} |
1510 |
|
|
} |