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

Annotation of /eggdrop1.8/eggdrop.conf

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


Revision 1.7 - (hide annotations) (download)
Sun Oct 24 12:39:33 2010 UTC (8 years, 6 months ago) by pseudo
Branch: MAIN
Changes since 1.6: +1 -9 lines
Removed wire.mod and all references to it. Botnet and partyline encryption are now available using ssl.

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

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23