/[cvs]/eggdrop1.8/eggdrop.conf
ViewVC logotype

Contents of /eggdrop1.8/eggdrop.conf

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (show annotations) (download)
Mon Sep 27 19:38:11 2010 UTC (8 years, 9 months ago) by pseudo
Branch: MAIN
Changes since 1.3: +25 -1 lines
Replaced most dns.mod preprocessor definitions with config variables.
Added support for user-specified dns servers and non-standard ports. This is most important for Cygwin 1.7, where the dns server list won't get initialized under some common conditions.
Added a trace to the new variable dns-servers, allowing scripts to get or set the current dns server list.
Added the servers list to the dns module information displayed by .status all

1 #! /path/to/executable/eggdrop
2 # ^- This should contain a fully qualified path to your Eggdrop executable.
3 #
4 # $Id: eggdrop.conf,v 1.3 2010/09/06 22:08:53 thommey 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 # 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 #set env(TZ) "$timezone$offset"
53
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 # 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 # Note that eggdrop will accept IPv4 connecions with IPv6 sockets too.
72 #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
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 # If you want your userfile to be sorted upon saving, enable this setting.
211 # This causes the bot to use a bit more CPU when saving the userfile.
212 set sort-users 0
213
214 # Specify here where Eggdrop should look for help files. Don't modify this
215 # setting unless you know what you're doing!
216 set help-path "help/"
217
218 # Specify here where Eggdrop should look for text files. This is used for
219 # certain Tcl and DCC commands.
220 set text-path "text/"
221
222 # Set here a place to store temporary files.
223 set temp-path "/tmp"
224
225 # The MOTD (Message Of The day) is displayed when people dcc chat or telnet
226 # to the bot. Look at doc/TEXT-SUBSTITUTIONS for options.
227 set motd "text/motd"
228
229 # This banner will be displayed on telnet connections. Look at
230 # doc/TEXT-SUBSTITUTIONS for options.
231 set telnet-banner "text/banner"
232
233 # This specifies what permissions the user, channel, and notes files should
234 # be set to. The octal values are the same as for the chmod system command.
235 #
236 # To remind you:
237 #
238 # u g o u g o u g o
239 # 0600 rw------- 0400 r-------- 0200 -w------- u - user
240 # 0660 rw-rw---- 0440 r--r----- 0220 -w--w---- g - group
241 # 0666 rw-rw-rw- 0444 r--r--r-- 0222 -w--w--w- o - others
242 #
243 # Note that the default 0600 is the most secure one and should only be changed
244 # if you need your files for shell scripting or other external applications.
245 set userfile-perm 0600
246
247
248 ##### BOTNET/DCC/TELNET #####
249
250 # Settings in this section should be unimportant for you until you deal
251 # with botnets (multiple Eggdrops connected together to maximize efficiency).
252 # You should read doc/BOTNET before modifying these settings.
253
254 # If you want to use a different nickname on the botnet than you use on
255 # IRC (i.e. if you're on an un-trusted botnet), un-comment the next line
256 # and set it to the nick you would like to use.
257 #set botnet-nick "LlamaBot"
258
259 # This opens a telnet port by which you and other bots can interact with the
260 # Eggdrop by telneting in.
261 #
262 # There are more options for the listen command in doc/tcl-commands.doc. Note
263 # that if you are running more than one bot on the same machine, you will want
264 # to space the telnet ports at LEAST 5 apart, although 10 is even better.
265 #
266 # Valid ports are typically anything between 1025 and 65535 assuming the
267 # port is not already in use.
268 #
269 # If you would like the bot to listen for users and bots in separate ports,
270 # use the following format:
271 #
272 # listen 3333 bots
273 # listen 4444 users
274 #
275 # If you wish to use only one port, use this format:
276 #
277 # listen 3333 all
278 #
279 # 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 # This setting prohibits remote bots from telling your Eggdrop to unlink from
291 # 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 # This settings defines a time in seconds that the bot should wait before
305 # a dcc chat, telnet, or relay connection times out.
306 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 # This settings defines a time in seconds that the bot should wait before
325 # 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 ##### MORE ADVANCED SETTINGS #####
346
347 # Set this to your socks host if your Eggdrop sits behind a firewall. If
348 # you use a Sun "telnet passthru" firewall, prefix the host with a '!'.
349 #set firewall "!sun-barr.ebay:3666"
350
351 # If you have a NAT firewall (you box has an IP in one of the following
352 # ranges: 192.168.0.0-192.168.255.255, 172.16.0.0-172.31.255.255,
353 # 10.0.0.0-10.255.255.255 and your firewall transparently changes your
354 # address to a unique address for your box) or you have IP masquerading
355 # between you and the rest of the world, and /dcc chat, /ctcp chat or
356 # userfile sharing aren't working, enter your outside IP here. This IP
357 # is used for transfers only, and has nothing to do with the vhost4/6
358 # or listen-addr settings. You may still need to set them.
359 #set nat-ip "127.0.0.1"
360
361 # If you want all dcc file transfers to use a particular portrange either
362 # because you're behind a firewall, or for other security reasons, set it
363 # here.
364 #set reserved-portrange 2010:2020
365
366 # Set the time in minutes that temporary ignores should last.
367 set ignore-time 15
368
369 # Define here what Eggdrop considers 'hourly'. All calls to it, including such
370 # things as note notifying or userfile saving, are affected by this.
371 # For example:
372 #
373 # set hourly-updates 15
374 #
375 # The bot will save its userfile 15 minutes past every hour.
376 set hourly-updates 00
377
378 # Un-comment the next line and set the list of owners of the bot.
379 # You NEED to change this setting.
380 #set owner "MrLame, MrsLame"
381
382 # Who should a note be sent to when new users are learned?
383 set notify-newusers "$owner"
384
385 # Enter the flags that all new users should get by default. See '.help whois'
386 # on the partyline for a list of flags and their descriptions.
387 set default-flags "hp"
388
389 # Enter all user-defined fields that should be displayed in a '.whois'.
390 # This will only be shown if the user has one of these extra fields.
391 # You might prefer to comment this out and use the userinfo1.0.tcl script
392 # which provides commands for changing all of these.
393 set whois-fields "url birthday"
394
395 # Enable this setting if you want your Eggdrop to die upon receiving a SIGHUP
396 # kill signal. Otherwise, the Eggdrop will just save its userfile and rehash.
397 set die-on-sighup 0
398
399 # Enable this setting if you want your Eggdrop to die upon receiving a SIGTERM
400 # kill signal. Otherwise, the Eggdrop will just save its userfile and rehash.
401 set die-on-sigterm 1
402
403 # Uncomment these two lines if you wish to disable the .tcl and .set commands.
404 # If you select your owners wisely, you should be okay enabling these.
405 #unbind dcc n tcl *dcc:tcl
406 #unbind dcc n set *dcc:set
407
408 # If you enable this setting, only permanent owners (owner setting) will be
409 # able to use .tcl and .set. Moreover, if you want only let permanent owners
410 # use .dump, then set this to 2.
411 # WARNING: setting this to 0 is a security risk, don't do it unless you trust
412 # your owners enough to give them shell access to the account the bot is
413 # running on.
414 set must-be-owner 1
415
416 # Comment out this line to add the 'simul' partyline command (owners can
417 # manipulate other people on the party line). Please select owners wisely
418 # and use this command ethically!
419 unbind dcc n simul *dcc:simul
420
421 # Set here the maximum number of socket connections you will allow. You can
422 # increase this later, but never decrease it below current usage.
423 # If you're using Tcl threads, this is a per-thread maximum.
424 set max-socks 100
425
426 # Enable this setting if you want +d & +k users to use commands bound as -|-.
427 set allow-dk-cmds 1
428
429 # If your Eggdrop rejects bots that actually have already disconnected from
430 # another hub, but the disconnect information has not yet spread over the
431 # botnet due to lag, use this setting. The bot will wait dupwait-timeout
432 # seconds before it checks again and then finally reject the bot.
433 set dupwait-timeout 5
434
435 # Set this to 0 if you want the bot to strip '~+-^=' characters from user@hosts
436 # before matching them.
437 # This setting is currently kept for compatibility, but will be removed from
438 # the next release. Please leave it set to 1 to avoid problems with your user
439 # files in the future.
440 set strict-host 1
441
442 # Enable cidr support for b/e/I modes. This means the bot will understand
443 # and match modes in cidr notation, and will be able to put and enforce such
444 # bans or unban itself, if banned with a cidr mask.
445 # Do NOT set this, if your network/server does not support cidr!
446 set cidr-support 0
447
448 # You MUST remove this line for your bot to start. This has been added to
449 # prevent you from starting up a bot that is not fully configured. Bots
450 # that have not been fully configured may join the wrong IRC network, the
451 # wrong channels, or generally do things that you do not want. Please make
452 # sure that you have double-checked every setting. There's also a similar line
453 # lower down, just to make sure you're reading :)
454 die "Please make sure you edit your config file completely."
455
456
457 ##### MODULES #####
458
459 # Below are various settings for the modules included with Eggdrop.
460 # PLEASE READ AND EDIT THEM CAREFULLY, even if you're an old hand at
461 # Eggdrop, things change.
462
463 # This path specifies the path were Eggdrop should look for its modules.
464 # If you run the bot from the compilation directory, you will want to set
465 # this to "". If you use 'make install' (like all good kiddies do ;), this
466 # is a fine default. Otherwise, use your head :)
467 set mod-path "modules/"
468
469
470 #### BLOWFISH MODULE ####
471
472 # IF YOU DON'T READ THIS YOU MAY RENDER YOUR USERFILE USELESS LATER
473 # Eggdrop encrypts its userfile, so users can have secure passwords.
474 # Please note that when you change your encryption method later (i.e.
475 # using other modules like a md5 module), you can't use your current
476 # userfile anymore. Eggdrop will not start without an encryption module.
477 loadmodule blowfish
478
479
480 #### DNS MODULE ####
481
482 # This module provides asynchronous dns support. This will avoid long
483 # periods where the bot just hangs there, waiting for a hostname to
484 # resolve, which will often let it timeout on all other connections.
485 loadmodule dns
486
487 # In case your bot has trouble finding dns servers or you want to use
488 # specific ones, you can set them here. The value is a list of dns servers.
489 # The order doesn't matter. You can also specify a non-standard port.
490 # The default is to use the system specified dns servers. You don't need to
491 # modify this setting normally.
492 #set dns-servers "8.8.8.8 8.8.4.4"
493
494 # Specify how long should the DNS module cache replies at maximum. The value
495 # must be in seconds.
496 # Note that it will respect the TTL of the reply and this is just an upper
497 # boundary.
498 set dns-cache 86400
499
500 # Specify how long should the DNS module cache negative replies (NXDOMAIN,
501 # DNS Lookup failed). The value must be in seconds.
502 set dns-negcache 600
503
504 # How many times should the DNS module resend the query for a given domain
505 # if it receives no reply?
506 set dns-maxsends 4
507
508 # Specify how long should the DNS module wait for a reply before resending the
509 # query. The value must be in seconds.
510 set dns-retrydelay 3
511
512 #### CHANNELS MODULE ####
513
514 # This module provides channel related support for the bot. Without it,
515 # you won't be able to make the bot join a channel or save channel
516 # specific userfile information.
517 loadmodule channels
518
519 # Enter here the filename where dynamic channel settings are stored.
520 set chanfile "LamestBot.chan"
521
522 # Set this setting to 1 if you want your bot to expire bans/exempts/invites set
523 # by other opped bots on the channel.
524 set force-expire 0
525
526 # Set this setting to 1 if you want your bot to share user greets with other
527 # bots on the channel if sharing user data.
528 set share-greet 0
529
530 # Set this setting to 1 if you want to allow users to store an info line.
531 set use-info 1
532
533 # Set this setting to 1 if you want to allow both +p and +s channel modes
534 # to be enforced at the same time by the chanmode channel setting.
535 # Make sure your server supports +ps mixing or you may get endless mode
536 # floods.
537 set allow-ps 0
538
539 # The following settings are used as default values when you .+chan #chan or .tcl
540 # channel add #chan. Look below for explanation of every option.
541
542 set global-flood-chan 15:60
543 set global-flood-deop 3:10
544 set global-flood-kick 3:10
545 set global-flood-join 5:60
546 set global-flood-ctcp 3:60
547 set global-flood-nick 5:60
548 set global-aop-delay 5:30
549 set global-idle-kick 0
550 set global-chanmode "nt"
551 set global-stopnethack-mode 0
552 set global-revenge-mode 0
553 set global-ban-type 3
554 set global-ban-time 120
555 set global-exempt-time 60
556 set global-invite-time 60
557
558 set global-chanset {
559 -autoop -autovoice
560 -bitch +cycle
561 +dontkickops +dynamicbans
562 +dynamicexempts +dynamicinvites
563 -enforcebans +greet
564 -inactive -nodesynch
565 -protectfriends +protectops
566 -revenge -revengebot
567 -secret -seen
568 +shared -statuslog
569 +userbans +userexempts
570 +userinvites -protecthalfops
571 -autohalfop -static
572 }
573
574 # chanmode +/-<modes>
575 # This setting makes the bot enforce channel modes. It will always add
576 # the +<modes> and remove the -<modes> modes.
577 #
578 # idle-kick 0
579 # This setting will make the bot check every minute for idle
580 # users. Set this to 0 to disable idle check.
581 #
582 # stopnethack-mode 0
583 # This setting will make the bot de-op anyone who enters the channel
584 # with serverops. There are seven different modes for this settings:
585 # 0 turn off
586 # 1 isoptest (allow serverop if registered op)
587 # 2 wasoptest (allow serverop if op before split)
588 # 3 allow serverop if isop or wasop
589 # 4 allow serverop if isop and wasop.
590 # 5 If the channel is -bitch, see stopnethack-mode 3
591 # If the channel is +bitch, see stopnethack-mode 1
592 # 6 If the channel is -bitch, see stopnethack-mode 2
593 # If the channel is +bitch, see stopnethack-mode 4
594 #
595 # revenge-mode 0
596 # This settings defines how the bot should punish bad users when
597 # revenging. There are four possible settings:
598 # 0 Deop the user.
599 # 1 Deop the user and give them the +d flag for the channel.
600 # 2 Deop the user, give them the +d flag for the channel, and kick them.
601 # 3 Deop the user, give them the +d flag for the channel, kick, and ban them.
602 #
603 # ban-type 3
604 # This setting defines what type of bans should eggdrop place for +k users or
605 # when revenge-mode is 3.
606 # Available types are:
607 # 0 *!user@host
608 # 1 *!*user@host
609 # 2 *!*@host
610 # 3 *!*user@*.host
611 # 4 *!*@*.host
612 # 5 nick!user@host
613 # 6 nick!*user@host
614 # 7 nick!*@host
615 # 8 nick!*user@*.host
616 # 9 nick!*@*.host
617 # You can also specify types from 10 to 19 which correspond to types
618 # 0 to 9, but instead of using a * wildcard to replace portions of the
619 # host, only numbers in hostnames are replaced with the '?' wildcard.
620 # Same is valid for types 20-29, but instead of '?', the '*' wildcard
621 # will be used.
622 #
623 # ban-time 120
624 # Set here how long temporary bans will last (in minutes). If you
625 # set this setting to 0, the bot will never remove them.
626 #
627 # exempt-time 60
628 # Set here how long temporary exempts will last (in minutes). If you
629 # set this setting to 0, the bot will never remove them. The bot will
630 # check the exempts every X minutes, but will not remove the exempt if
631 # a ban is set on the channel that matches that exempt. Once the ban is
632 # removed, then the exempt will be removed the next time the bot checks.
633 # Please note that this is an IRCnet feature.
634 #
635 # invite-time 60
636 # Set here how long temporary invites will last (in minutes). If you
637 # set this setting to 0, the bot will never remove them. The bot will
638 # check the invites every X minutes, but will not remove the invite if
639 # a channel is set to +i. Once the channel is -i then the invite will be
640 # removed the next time the bot checks. Please note that this is an IRCnet
641 # feature.
642 #
643 # aop-delay (minimum:maximum)
644 # This is used for autoop, autohalfop, autovoice. If an op or voice joins a
645 # channel while another op or voice is pending, the bot will attempt to put
646 # both modes on one line.
647 # aop-delay 0 No delay is used.
648 # aop-delay X An X second delay is used.
649 # aop-delay X:Y A random delay between X and Y is used.
650 #
651 # need-op { putserv "PRIVMSG #lamest :op me cos i'm lame!" }
652 # This setting will make the bot run the script enclosed in brackets
653 # if it does not have ops. This must be shorter than 120 characters.
654 # If you use scripts like getops.tcl or botnetop.tcl, you don't need
655 # to set this setting.
656 #
657 # need-invite { putserv "PRIVMSG #lamest :let me in!" }
658 # This setting will make the bot run the script enclosed in brackets
659 # if it needs an invite to the channel. This must be shorter than 120
660 # characters. If you use scripts like getops.tcl or botnetop.tcl, you
661 # don't need to set this setting.
662 #
663 # need-key { putserv "PRIVMSG #lamest :let me in!" }
664 # This setting will make the bot run the script enclosed in brackets
665 # if it needs the key to the channel. This must be shorter than 120
666 # characters. If you use scripts like getops.tcl or botnetop.tcl, you
667 # don't need to set this setting
668 #
669 # need-unban { putserv "PRIVMSG #lamest :let me in!" }
670 # This setting will make the bot run the script enclosed in brackets
671 # if it needs to be unbanned on the channel. This must be shorter than
672 # 120 characters. If you use scripts like getops.tcl or botnetop.tcl,
673 # you don't need to set this setting
674 #
675 # need-limit { putserv "PRIVMSG #lamest :let me in!" }
676 # This setting will make the bot run the script enclosed in brackets
677 # if it needs the limit to be raised on the channel. This must be
678 # shorter than 120 characters. If you use scripts like getops.tcl or
679 # botnetop.tcl, you don't need to set this setting
680 #
681 # flood-chan 15:60
682 # Set here how many channel messages in how many seconds from one
683 # host constitutes a flood. Setting this to 0 or 0:0 disables
684 # flood protection for the channel.
685 #
686 # flood-deop 3:10
687 # Set here how many deops in how many seconds from one host constitutes
688 # a flood. Setting this to 0 or 0:0 disables deop flood protection for
689 # the channel.
690 #
691 # flood-kick 3:10
692 # Set here how many kicks in how many seconds from one host constitutes
693 # a flood. Setting this to 0 or 0:0 disables kick flood protection for
694 # the channel.
695 #
696 # flood-join 5:60
697 # Set here how many joins in how many seconds from one host constitutes
698 # a flood. Setting this to 0 or 0:0 disables join flood protection for
699 # the channel.
700 #
701 # flood-ctcp 3:60
702 # Set here how many channel ctcps in how many seconds from one host
703 # constitutes a flood. Setting this to 0 or 0:0 disables ctcp flood
704 # protection for the channel.
705 #
706 # flood-nick 5:60
707 # Set here how many nick changes in how many seconds from one host
708 # constitutes a flood. Setting this to 0 or 0:0 disables nick flood
709 # protection for the channel.
710 #
711 # A complete list of all available channel settings:
712 #
713 # enforcebans
714 # When a ban is set, kick people who are on the channel and match
715 # the ban?
716 #
717 # dynamicbans
718 # Only activate bans on the channel when necessary? This keeps
719 # the channel's ban list from getting excessively long. The bot
720 # still remembers every ban, but it only activates a ban on the
721 # channel when it sees someone join who matches that ban.
722 #
723 # userbans
724 # Allow bans to be made by users directly? If turned off, the bot
725 # will require all bans to be made through the bot's console.
726 #
727 # dynamicexempts
728 # Only activate exempts on the channel when necessary? This keeps
729 # the channel's exempt list from getting excessively long. The bot
730 # still remembers every exempt, but it only activates a exempt on
731 # the channel when it sees a ban set that matches the exempt. The
732 # exempt remains active on the channel for as long as the ban is
733 # still active.
734 #
735 # userexempts
736 # Allow exempts to be made by users directly? If turned off, the
737 # bot will require all exempts to be made through the bot's console.
738 #
739 # dynamicinvites
740 # Only activate invites on the channel when necessary? This keeps
741 # the channel's invite list from getting excessively long. The bot
742 # still remembers every invite, but the invites are only activated
743 # when the channel is set to invite only and a user joins after
744 # requesting an invite. Once set, the invite remains until the
745 # channel goes to -i.
746 #
747 # userinvites
748 # Allow invites to be made by users directly? If turned off, the
749 # bot will require all invites to be made through the bot's console.
750 #
751 # autoop
752 # Op users with the +o flag as soon as they join the channel?
753 # This is insecure and not recommended.
754 #
755 # autohalfop
756 # Halfop users with the +l flag as soon as they join the channel?
757 # This is insecure and not recommended.
758 #
759 # bitch
760 # Only let users with +o) flag be opped on the channel?
761 #
762 # greet
763 # Say a user's info line when they join the channel?
764 #
765 # protectops
766 # Re-op a user with the +o flag if they get deopped?
767 #
768 # protecthalfops
769 # Re-halfop a user with the +l flag if they get dehalfopped?
770 #
771 # protectfriends
772 # Re-op a user with the +f flag if they get deopped?
773 #
774 # statuslog
775 # Log the channel status line every 5 minutes? This shows the bot's
776 # status on the channel (op, voice, etc.), the channel's modes, and
777 # the number of +m/+o/+v/+n/+b/+e/+I users on the channel. A sample
778 # status line follows:
779 #
780 # [01:40] @#lamest (+istn) : [m/1 o/1 v/4 n/7 b/1 e/5 I/7]
781 #
782 # revenge
783 # Remember people who deop/kick/ban the bot, valid ops, or friends
784 # and punish them? Users with the +f flag are exempt from revenge.
785 #
786 # revengebot
787 # This is similar to to the 'revenge' option, but it only triggers
788 # if a bot gets deopped, kicked or banned.
789 #
790 # autovoice
791 # Voice users with the +v flag when they join the channel?
792 #
793 # secret
794 # Prevent this channel from being listed on the botnet?
795 #
796 # shared
797 # Share channel-related user info for this channel?
798 #
799 # cycle
800 # Cycle the channel when it has no ops?
801 #
802 # dontkickops
803 # Do you want the bot not to be able to kick users who have the +o
804 # flag, letting them kick-flood for instance to protect the channel
805 # against clone attacks.
806 #
807 # inactive
808 # This prevents the bot from joining the channel (or makes it leave
809 # the channel if it is already there). It can be useful to make the
810 # bot leave a channel without losing its settings, channel-specific
811 # user flags, channel bans, and without affecting sharing.
812 #
813 # seen
814 # Respond to seen requests in the channel? The seen module must be
815 # loaded for this to work.
816 #
817 # nodesynch
818 # Allow non-ops to perform channel modes? This can stop the bot from
819 # fighting with services such as ChanServ, or from kicking IRCops when
820 # setting channel modes without having ops.
821 #
822 # static
823 # Allow only permanent owners to remove the channel?
824
825 # To add a channel to eggdrop, please enter the bot's partyline and type
826 # .+chan #channel. Check also .help chanset and .help chaninfo.
827 # You can still add a channel here and it will be saved if you have a
828 # chanfile. We recommend you to use the partyline though.
829 #
830 #channel add #lamest
831
832
833 #### SERVER MODULE ####
834
835 # This module provides the core server support. You have to load this
836 # if you want your bot to come on IRC. Not loading this is equivalent
837 # to the old NO_IRC define.
838 loadmodule server
839
840 # What is your network?
841 # 0 = EFnet
842 # 1 = IRCnet
843 # 2 = Undernet
844 # 3 = DALnet
845 # 4 = +e/+I/max-modes 20 Hybrid
846 # 5 = Others
847 set net-type 0
848
849 # Set the nick the bot uses on IRC, and on the botnet unless you specify a
850 # separate botnet-nick, here.
851 set nick "Lamestbot"
852
853 # Set the alternative nick which the bot uses on IRC if the nick specified
854 # by 'set nick' is unavailable. All '?' characters will be replaced by random
855 # numbers.
856 set altnick "Llamab?t"
857
858 # Set what should be displayed in the real-name field for the bot on IRC.
859 # This can not be blank, it has to contain something.
860 set realname "/msg LamestBot hello"
861
862 # This is a Tcl script to be run immediately after connecting to a server.
863 bind evnt - init-server evnt:init_server
864
865 proc evnt:init_server {type} {
866 global botnick
867 putquick "MODE $botnick +i-ws"
868 }
869
870 # Set the default port which should be used if none is specified with
871 # '.jump' or in 'set servers'.
872 set default-port 6667
873
874 # This is the bot's server list. The bot will start at the first server listed,
875 # and cycle through them whenever it gets disconnected. You need to change these
876 # servers to YOUR network's servers.
877 #
878 # The format is:
879 # server[:port[:password]]
880 # If you need to specify a numeric server IPv6 address, use following format:
881 # ip,[port[:password]]
882 #
883 # Both the port and password fields are optional; however, if you want to set a
884 # password you must also set a port. If a port isn't specified it will default to
885 # your default-port setting.
886 set servers {
887 you.need.to.change.this:6667
888 another.example.com:7000:password
889 2001:db8:618:5c0:263::,6669:password
890 }
891
892 # Number of seconds to wait between transmitting queued lines to the server.
893 # Lower this value at your own risk. ircd is known to start flood control
894 # at 512 bytes/2 seconds.
895 set msg-rate 2
896
897 # This setting makes the bot try to get his original nickname back if its
898 # primary nickname is already in use.
899 set keep-nick 1
900
901
902 # This setting makes the bot squelch the error message when rejecting a DCC
903 # CHAT, SEND or message command. Normally, Eggdrop notifies the user that the
904 # command has been rejected because they don't have access. Note that sometimes
905 # IRC server operators detect bots that way.
906 set quiet-reject 1
907
908 # If you want your bot to answer lower case ctcp requests (non rfc-
909 # compliant), set this setting to 1. mIRC will do this, most other
910 # clients will not.
911 set lowercase-ctcp 0
912
913 # Set how many ctcps should be answered at once.
914 set answer-ctcp 3
915
916 # Set here how many msgs in how many seconds from one host constitutes
917 # a flood. If you set this to 0:0, msg flood protection will be disabled.
918 set flood-msg 5:60
919
920 # Set here how many ctcps in how many seconds from one host constitutes
921 # a flood. If you set this to 0:0, ctcp flood protection will be disabled.
922 set flood-ctcp 3:60
923
924 # This settings makes the bot cycle forever through the server list until
925 # it successfully connects to one.
926 set never-give-up 1
927
928 # This setting defines how long Eggdrop should wait before moving from one
929 # server to another on disconnect. If you set 0 here, Eggdrop will not wait
930 # at all and will connect instantly. Setting this too low could result in
931 # your bot being K:Lined.
932 set server-cycle-wait 60
933
934 # Set here how long Eggdrop should wait for a response when connecting to a
935 # server before giving up and moving on to next server.
936 set server-timeout 60
937
938 # If the number of servers on the net gets below this number, the bot
939 # will jump to a new server (it will assume it's on the losing end of
940 # a netsplit). Set this to 0 to turn off. If your bot is running on
941 # any major IRC network, this should probably be turned off.
942 set servlimit 0
943
944 # Set this to 1 if Eggdrop should check for stoned servers? (where the
945 # server connection has died, but Eggdrop hasn't been notified yet).
946 set check-stoned 1
947
948 # If you want your bot to exit the server if it receives an ERROR message,
949 # set this to 1.
950 set serverror-quit 1
951
952 # Set here the maximum number of lines to queue to the server. If you're
953 # going to dump large chunks of text to people over IRC, you will probably
954 # want to raise this. 300 is fine for most people though.
955 set max-queue-msg 300
956
957 # If you want Eggdrop to trigger binds for ignored users, set this to 1.
958 set trigger-on-ignore 0
959
960 # This setting configures PUBM and MSGM binds to be exclusive of PUB and MSG
961 # binds. This means if a MSGM bind with the mask "*help*" exists and is
962 # triggered, any MSG bindings with "help" in their mask will not be
963 # triggered. Don't enable this unless you know what you are doing!
964 set exclusive-binds 0
965
966 # Allow identical messages in the mode queue?
967 set double-mode 1
968
969 # Allow identical messages in the server queue?
970 set double-server 1
971
972 # Allow identical messages in the help queue?
973 set double-help 1
974
975 # This optimizes the kick queue. It also traces nick changes and parts in
976 # the channel and changes the kick queue accordingly. There are three
977 # different options for this setting:
978 # 0 = Turn it off.
979 # 1 = Optimize the kick queue by summarizing kicks.
980 # 2 = Trace nick changes and parts on the channel and change the queue
981 # accordingly. For example, bot will not try to kick users who have
982 # already parted the channel.
983 # ATTENTION: Setting 2 is very CPU intensive.
984 set optimize-kicks 1
985
986 # If your network supports more recipients per command then 1, you can
987 # change this behavior here. Set this to the number of recipients per
988 # command, or set this to 0 for unlimited.
989 set stack-limit 4
990
991 ### SERVER MODULE - OTHER NETWORKS (net-type 5) ###
992
993 # This settings defines how umode +r is understood by Eggdrop. Some networks
994 # use +r to indicate a restricted connection. If this is your case, and you
995 # want your bot to leave restricted servers and jump to the next server on its
996 # list, then set it to 1.
997 #set check-mode-r 1
998
999 # This setting allows you to specify the maximum nick-length supported by your
1000 # network. The default setting is 9. The maximum supported length by Eggdrop
1001 # is 32.
1002 #set nick-len 9
1003
1004 #### CTCP MODULE ####
1005
1006 # This module provides the normal ctcp replies that you'd expect.
1007 # Without it loaded, CTCP CHAT will not work. The server module
1008 # is required for this module to function.
1009 loadmodule ctcp
1010
1011 # Set here how the ctcp module should answer ctcps. There are 3 possible
1012 # operating modes:
1013 # 0: Normal behavior is used.
1014 # 1: The bot ignores all ctcps, except for CHAT and PING requests
1015 # by users with the +o flag.
1016 # 2: Normal behavior is used, however the bot will not answer more
1017 # than X ctcps in Y seconds (defined by 'set flood-ctcp').
1018 set ctcp-mode 0
1019
1020 # There are also several variables to help make your bot less noticeable.
1021 # They are: ctcp-version, ctcp-finger, and ctcp-userinfo. You can use set to set
1022 # them to values you'd like.
1023
1024
1025 #### IRC MODULE ####
1026
1027 # This module provides basic IRC support for your bot. You have to
1028 # load this if you want your bot to come on IRC. The server and channels
1029 # modules must be loaded for this module to function.
1030 loadmodule irc
1031
1032 # Set this to 1 if you want to bounce all server bans.
1033 set bounce-bans 0
1034
1035 # Set this to 1 if you want to bounce all server exemptions (+e modes).
1036 # This is disabled if use-exempts is disabled.
1037 set bounce-exempts 0
1038
1039 # Set this to 1 if you want to bounce all server invitations (+I modes).
1040 # This is disabled if use-invites is disabled.
1041 set bounce-invites 0
1042
1043 # Set this to 1 if you want to bounce all server modes.
1044 set bounce-modes 0
1045
1046 # Set here the maximum number of bans you want the bot to set on a channel.
1047 # Eggdrop will not place any more bans if this limit is reached. Undernet
1048 # currently allows 45 bans, IRCnet allows 30, EFnet allows 100, and DALnet
1049 # allows 100.
1050 set max-bans 30
1051
1052 # Set here the maximum number of exempts you want Eggdrop to set on a channel.
1053 # Eggdrop will not place any more exempts if this limit is reached.
1054 set max-exempts 20
1055
1056 # Set here the maximum number of invites you want Eggdrop to set on a channel.
1057 # Eggdrop will not place any more invites if this limit is reached.
1058 set max-invites 20
1059
1060 # There is a global limit for +b/+e/+I modes. This limit should be set to
1061 # the same value as max-bans for networks that do not support +e/+I.
1062 set max-modes 30
1063
1064 # The following settings should be left commented unless the default values
1065 # are being overridden. By default, exempts and invites are on for EFnet and
1066 # IRCnet, but off for all other large networks. This behavior can be modified
1067 # with the following 2 flags. If your network doesn't support +e/+I modes then
1068 # you will be unable to use these features.
1069 #
1070 # Do you want to enable exempts (+e modes)?
1071 #set use-exempts 0
1072
1073 # Do you want to enable invites (+I modes)?
1074 #set use-invites 0
1075
1076 # Set this to 1 if you want the bot to kick for control character/ctcp
1077 # avalanches to a channel. Remember that if it does, it won't ban them.
1078 # This can start kick floods.
1079 set kick-fun 0
1080
1081 # Set this to 1 if you want the bot to ban for control character/ctcp
1082 # avalanches to a channel. This can prevent kick floods, but it also can
1083 # fill the banlist.
1084 set ban-fun 0
1085
1086 # If you want people to be able to add themselves to the bot's userlist
1087 # with the default userflags (defined above in the config file) via the
1088 # 'hello' msg command, set this to 1.
1089 set learn-users 0
1090
1091 # Set here the time (in seconds) to wait for someone to return from a netsplit
1092 # (i.e. wasop will expire afterwards). Set this to 1500 on IRCnet since its
1093 # nick delay stops after 30 minutes.
1094 set wait-split 600
1095
1096 # Set here the time (in seconds) that someone must have been off-channel
1097 # before re-displaying their info line.
1098 set wait-info 180
1099
1100 # Set this to the maximum number of bytes to send in the arguments
1101 # of modes sent to the server. Most servers default this to 200.
1102 set mode-buf-length 200
1103
1104 # Many IRCops find bots by seeing if they reply to 'hello' in a msg.
1105 # You can change this to another word by un-commenting the following
1106 # two lines and changing "myword" to the word wish to use instead of
1107 # 'hello'. It must be a single word.
1108 #unbind msg - hello *msg:hello
1109 #bind msg - myword *msg:hello
1110
1111 # Many takeover attempts occur due to lame users blindly /msg ident'ing to
1112 # the bot and attempting to guess passwords. We now unbind this command by
1113 # default to discourage them. You can enable these commands by commenting the
1114 # following two lines.
1115 unbind msg - ident *msg:ident
1116 unbind msg - addhost *msg:addhost
1117
1118 # Some IRC servers are using some non-standard op-like channel prefixes/modes.
1119 # Define them here so the bot can recognize them. Just "@" should be fine for
1120 # most networks. Un-comment the second line for some UnrealIRCds.
1121
1122 set opchars "@"
1123 #set opchars "@&~"
1124
1125 # If you are so lame you want the bot to display peoples info lines, even
1126 # when you are too lazy to add their chanrecs to a channel, set this to 1.
1127 # *NOTE* This means *every* user with an info line will have their info
1128 # line displayed on EVERY channel they join (provided they have been gone
1129 # longer than wait-info).
1130 set no-chanrec-info 0
1131
1132 ### IRC MODULE - IRCnet SPECIFIC FEATURES (net-type 1) ###
1133
1134 # Attention: Use these settings *only* if you set 'net-type' to 1!
1135
1136 # At the moment, the current IRCnet IRCd version (2.10) doesn't support the
1137 # mixing of b, o and v modes with e and I modes. This might be changed in the
1138 # future, so use 1 at the moment for this setting.
1139 set prevent-mixing 1
1140
1141 ### IRC MODULE - OTHER NETWORKS (net-type 5) ###
1142
1143 # Attention: Use these settings *only* if you set 'net-type' to 5!
1144
1145 # If your network supports more users per kick command then 1, you can
1146 # change this behavior here. Set this to the number of users to kick at
1147 # once, or set this to 0 for all at once.
1148 #set kick-method 1
1149
1150 # Some networks allow you to stack lots of channel modes into one line.
1151 # They're all guaranteed to support at least 3, so that's the default.
1152 # If you know your network supports more, you may want to adjust this.
1153 # This setting is limited to 6, although if you want to use a higher value,
1154 # you can modify this by changing the value of MODES_PER_LINE_MAX in
1155 # src/chan.h and recompiling the bot.
1156 #set modes-per-line 3
1157
1158 # Some networks don't include the +l limit and +k or -k key modes
1159 # in the modes-per-line (see above) limitation. Set include-lk to 0 for
1160 # these networks.
1161 #set include-lk 1
1162
1163 # Set this to 1 if your network uses IRCu2.10.01 specific /who requests.
1164 # Eggdrop can, therefore, ask only for exactly what's needed.
1165 #set use-354 0
1166
1167 # If your network doesn't use rfc 1459 compliant string matching routines,
1168 # set this to 0.
1169 #set rfc-compliant 1
1170
1171
1172 #### TRANSFER MODULE ####
1173
1174 # The transfer module provides DCC SEND/GET support and userfile transfer
1175 # support for userfile sharing. Un-comment the next line to load it if you
1176 # need this functionality.
1177 #loadmodule transfer
1178
1179 # Set here the maximum number of simultaneous downloads to allow for
1180 # each user.
1181 set max-dloads 3
1182
1183 # Set here the block size for dcc transfers. ircII uses 512 bytes,
1184 # but admits that it may be too small. 1024 is standard these days.
1185 # 0 is turbo-dcc (recommended).
1186 set dcc-block 0
1187
1188 # Enable this setting if you want to copy files into the /tmp directory
1189 # before sending them. This is useful on most systems for file stability,
1190 # but if your directories are NFS mounted, it's a pain, and you'll want
1191 # to set this to 0. If you are low on disk space, you may also want to
1192 # set this to 0.
1193 set copy-to-tmp 1
1194
1195 # Set here the time (in seconds) to wait before an inactive transfer times out.
1196 set xfer-timeout 30
1197
1198
1199 #### SHARE MODULE ####
1200
1201 # This module provides userfile sharing support between two directly
1202 # linked bots. The transfer and channels modules are required for this
1203 # module to correctly function. Un-comment the following line to load
1204 # the share module.
1205 #loadmodule share
1206
1207 # Settings in this section must be un-commented before setting.
1208
1209 # When two bots get disconnected, this setting allows them to create a
1210 # resync buffer which saves all changes done to the userfile during
1211 # the disconnect. When they reconnect, they will not have to transfer
1212 # the complete user file, but, instead, just send the resync buffer.
1213 #
1214 # NOTE: This has been known to cause loss of channel flags and other
1215 # problems. Using this setting is not recommended.
1216 #set allow-resync 0
1217
1218 # This setting specifies how long to hold another bots resync data
1219 # before flushing it.
1220 #set resync-time 900
1221
1222 # When sharing user lists, DON'T ACCEPT global flag changes from other bots?
1223 # NOTE: The bot will still send changes made on the bot, it just won't accept
1224 # any global flag changes from other bots. This overrides the private-globals
1225 # setting (below).
1226 #set private-global 0
1227
1228 # When sharing user lists, if private-global isn't set, which global flag
1229 # changes from other bots should be ignored?
1230 #set private-globals "mnot"
1231
1232 # When sharing user lists, don't accept ANY userfile changes from other
1233 # bots? Paranoid people should use this feature on their hub bot. This
1234 # will force all userlist changes to be made via the hub.
1235 #set private-user 0
1236
1237 # This setting makes the bot discard its own bot records in favor of
1238 # the ones sent by the hub.
1239 # NOTE: No passwords or botflags are shared, only ports and
1240 # address are added to sharing procedure. This only works with hubs that
1241 # are v1.5.1 or higher.
1242 #set override-bots 0
1243
1244
1245 #### COMPRESS MODULE ####
1246
1247 # This module provides provides support for file compression. This allows the
1248 # bot to transfer compressed user files and therefore save a significant amount
1249 # of bandwidth. The share module must be loaded to load this module. Un-comment
1250 # the following line to the compress module.
1251 #loadmodule compress
1252
1253 # Allow compressed sending of user files? The user files are compressed with
1254 # the compression level defined in `compress-level'.
1255 set share-compressed 1
1256
1257 # This is the default compression level used. These levels are the same as
1258 # those used by GNU gzip.
1259 #set compress-level 9
1260
1261
1262 #### FILESYSTEM MODULE ####
1263
1264 # This module provides an area within the bot where users can store and
1265 # manage files. With this module, the bot is usable as a file server. The
1266 # transfer module is required for this module to function. Un-comment
1267 # the following line to load the filesys module.
1268 #loadmodule filesys
1269
1270 # Set here the 'root' directory for the file system.
1271 set files-path "/home/mydir/filesys"
1272
1273 # If you want to allow uploads, set this to the directory uploads
1274 # should be put into. Set this to "" if you don't want people to
1275 # upload files to your bot.
1276 set incoming-path "/home/mydir/filesys/incoming"
1277
1278 # If you don't want to have a central incoming directory, but instead
1279 # want uploads to go to the current directory that a user is in, set
1280 # this setting to 1.
1281 set upload-to-pwd 0
1282
1283 # Eggdrop creates a '.filedb' file in each subdirectory of your file area
1284 # to keep track of its own file system information. If you can't do that (for
1285 # example, if the dcc path isn't owned by you, or you just don't want it to do
1286 # that) specify a path here where you'd like all of the database files to be
1287 # stored instead.
1288 set filedb-path ""
1289
1290 # Set here the maximum number of people that can be in the file area at once.
1291 # Setting this to 0 makes it effectively infinite.
1292 set max-file-users 20
1293
1294 # Set here the maximum allowable file size that will be received (in KB).
1295 # Setting this to 0 makes it effectively infinite.
1296 set max-filesize 1024
1297
1298
1299 #### NOTES MODULE ####
1300
1301 # This module provides support for storing of notes for users from each other.
1302 # Note sending between currently online users is supported in the core, this is
1303 # only for storing the notes for later retrieval.
1304 loadmodule notes
1305
1306 # Set here the filename where private notes between users are stored.
1307 set notefile "LamestBot.notes"
1308
1309 # Set here the maximum number of notes to allow to be stored for each user
1310 # (to prevent flooding).
1311 set max-notes 50
1312
1313 # Set here how long (in days) to store notes before expiring them.
1314 set note-life 60
1315
1316 # Set this to 1 if you want to allow users to specify a forwarding address
1317 # for forwarding notes to another account on another bot.
1318 set allow-fwd 0
1319
1320 # Set this to 1 if you want the bot to let people know hourly if they have
1321 # any notes.
1322 set notify-users 0
1323
1324 # Set this to 1 if you want the bot to let people know on join if they have
1325 # any notes.
1326 set notify-onjoin 1
1327
1328 # Comment out this next line. Otherwise, your bot won't start.
1329 die "You didn't edit your config file completely like you were told, did you?"
1330
1331
1332 #### CONSOLE MODULE ####
1333
1334 # This module provides storage of console settings when you exit the
1335 # bot or type .store on the partyline.
1336 loadmodule console
1337
1338 # Save users console settings automatically? Otherwise, they have
1339 # to use the .store command.
1340 set console-autosave 1
1341
1342 # If a user doesn't have any console settings saved, which channel
1343 # do you want them automatically put on?
1344 set force-channel 0
1345
1346 # Enable this setting if a user's global info line should be displayed
1347 # when they join a botnet channel.
1348 set info-party 0
1349
1350
1351 #### WOOBIE MODULE ####
1352
1353 # This is for demonstrative purposes only. If you are looking for starting
1354 # point in writing modules, woobie is the right thing.
1355 #loadmodule woobie
1356
1357
1358 #### SEEN MODULE ####
1359
1360 # This module provides very basic seen commands via msg, on channel or via dcc.
1361 # This module works only for users in the bot's userlist. If you are looking for
1362 # a better and more advanced seen module, try the gseen module by G'Quann. You
1363 # can find it at http://www.kreativrauschen.com/gseen.mod/.
1364 #loadmodule seen
1365
1366
1367 #### ASSOC MODULE ####
1368
1369 # This module provides assoc support, i.e. naming channels on the botnet.
1370 # You can load it by un-commenting the following line.
1371 #loadmodule assoc
1372
1373
1374 #### WIRE MODULE ####
1375
1376 # This module provides all the standard .wire commands via dcc. It is an
1377 # encrypted partyline communication tool, compatible with wire.tcl. An
1378 # encryption module must be loaded to use this module. Un-comment the
1379 # following line to load the wire module.
1380 #loadmodule wire
1381
1382 #### UPTIME MODULE ####
1383
1384 # This module reports uptime statistics to http://uptime.eggheads.org.
1385 # Go look and see what your uptime is! It takes about 9 hours to show up,
1386 # so if your bot isn't listed, try again later. The server module must be
1387 # loaded for this module to function.
1388 #
1389 # Information sent to the server includes the bot's uptime, botnet-nick,
1390 # server, version, and IP address. This information is stored in a temporary
1391 # logfile for debugging purposes only. The only publicly available information
1392 # will be the bot's botnet-nick, version and uptime. If you do not wish for this
1393 # information to be sent, comment out the following line.
1394 loadmodule uptime
1395
1396 ##### SCRIPTS #####
1397
1398 # This is a good place to load scripts to use with your bot.
1399
1400 # This line loads script.tcl from the scripts directory inside your Eggdrop's
1401 # directory. All scripts should be put there, although you can place them where
1402 # you like as long as you can supply a fully qualified path to them.
1403 #
1404 # source scripts/script.tcl
1405
1406 source scripts/alltools.tcl
1407 source scripts/action.fix.tcl
1408
1409 # This script enhances Eggdrop's built-in dcc '.whois' command to allow all
1410 # users to '.whois' their own handle.
1411 source scripts/dccwhois.tcl
1412
1413 # This script provides many useful informational functions, like setting
1414 # users' URLs, e-mail address, ICQ numbers, etc. You can modify it to add
1415 # extra entries.
1416 source scripts/userinfo.tcl
1417 loadhelp userinfo.help
1418
1419 # Use this script for Tcl and Eggdrop backwards compatibility.
1420 # NOTE: This can also cause problems with some newer scripts.
1421 #source scripts/compat.tcl
1422
1423 # A few IRC networks (EFnet and Undernet) have added some simple checks to
1424 # prevent drones from connecting to the IRC network. While these checks are
1425 # fairly trivial, they will prevent your Eggdrop from automatically
1426 # connecting. In an effort to work-around these, we have developed a couple of
1427 # TCL scripts to automate the process.
1428
1429 if {[info exists net-type]} {
1430 switch -- ${net-type} {
1431 "0" {
1432 # EFnet
1433 source scripts/quotepong.tcl
1434 }
1435 "2" {
1436 # Undernet
1437 source scripts/quotepass.tcl
1438 }
1439 }
1440 }

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23