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