/[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.2 - (hide annotations) (download)
Thu Aug 5 18:12:04 2010 UTC (8 years, 8 months ago) by pseudo
Branch: MAIN
Changes since 1.1: +30 -7 lines
Added new, full IPv6 support to eggdrop.

1 simple 1.1 #! /path/to/executable/eggdrop
2     # ^- This should contain a fully qualified path to your Eggdrop executable.
3     #
4 pseudo 1.2 # $Id: eggdrop.conf,v 1.1.1.1 2010/07/26 21:11:06 simple 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     #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 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     # 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 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     # 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 pseudo 1.2 # 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 simple 1.1 #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    
488     #### CHANNELS MODULE ####
489    
490     # This module provides channel related support for the bot. Without it,
491     # you won't be able to make the bot join a channel or save channel
492     # specific userfile information.
493     loadmodule channels
494    
495     # Enter here the filename where dynamic channel settings are stored.
496     set chanfile "LamestBot.chan"
497    
498     # Set this setting to 1 if you want your bot to expire bans/exempts/invites set
499     # by other opped bots on the channel.
500     set force-expire 0
501    
502     # Set this setting to 1 if you want your bot to share user greets with other
503     # bots on the channel if sharing user data.
504     set share-greet 0
505    
506     # Set this setting to 1 if you want to allow users to store an info line.
507     set use-info 1
508    
509     # Set this setting to 1 if you want to allow both +p and +s channel modes
510     # to be enforced at the same time by the chanmode channel setting.
511     # Make sure your server supports +ps mixing or you may get endless mode
512     # floods.
513     set allow-ps 0
514    
515     # The following settings are used as default values when you .+chan #chan or .tcl
516     # channel add #chan. Look below for explanation of every option.
517    
518     set global-flood-chan 15:60
519     set global-flood-deop 3:10
520     set global-flood-kick 3:10
521     set global-flood-join 5:60
522     set global-flood-ctcp 3:60
523     set global-flood-nick 5:60
524     set global-aop-delay 5:30
525     set global-idle-kick 0
526     set global-chanmode "nt"
527     set global-stopnethack-mode 0
528     set global-revenge-mode 0
529     set global-ban-type 3
530     set global-ban-time 120
531     set global-exempt-time 60
532     set global-invite-time 60
533    
534     set global-chanset {
535     -autoop -autovoice
536     -bitch +cycle
537     +dontkickops +dynamicbans
538     +dynamicexempts +dynamicinvites
539     -enforcebans +greet
540     -inactive -nodesynch
541     -protectfriends +protectops
542     -revenge -revengebot
543     -secret -seen
544     +shared -statuslog
545     +userbans +userexempts
546     +userinvites -protecthalfops
547     -autohalfop -static
548     }
549    
550     # chanmode +/-<modes>
551     # This setting makes the bot enforce channel modes. It will always add
552     # the +<modes> and remove the -<modes> modes.
553     #
554     # idle-kick 0
555     # This setting will make the bot check every minute for idle
556     # users. Set this to 0 to disable idle check.
557     #
558     # stopnethack-mode 0
559     # This setting will make the bot de-op anyone who enters the channel
560     # with serverops. There are seven different modes for this settings:
561     # 0 turn off
562     # 1 isoptest (allow serverop if registered op)
563     # 2 wasoptest (allow serverop if op before split)
564     # 3 allow serverop if isop or wasop
565     # 4 allow serverop if isop and wasop.
566     # 5 If the channel is -bitch, see stopnethack-mode 3
567     # If the channel is +bitch, see stopnethack-mode 1
568     # 6 If the channel is -bitch, see stopnethack-mode 2
569     # If the channel is +bitch, see stopnethack-mode 4
570     #
571     # revenge-mode 0
572     # This settings defines how the bot should punish bad users when
573     # revenging. There are four possible settings:
574     # 0 Deop the user.
575     # 1 Deop the user and give them the +d flag for the channel.
576     # 2 Deop the user, give them the +d flag for the channel, and kick them.
577     # 3 Deop the user, give them the +d flag for the channel, kick, and ban them.
578     #
579     # ban-type 3
580     # This setting defines what type of bans should eggdrop place for +k users or
581     # when revenge-mode is 3.
582     # Available types are:
583     # 0 *!user@host
584     # 1 *!*user@host
585     # 2 *!*@host
586     # 3 *!*user@*.host
587     # 4 *!*@*.host
588     # 5 nick!user@host
589     # 6 nick!*user@host
590     # 7 nick!*@host
591     # 8 nick!*user@*.host
592     # 9 nick!*@*.host
593     # You can also specify types from 10 to 19 which correspond to types
594     # 0 to 9, but instead of using a * wildcard to replace portions of the
595     # host, only numbers in hostnames are replaced with the '?' wildcard.
596     # Same is valid for types 20-29, but instead of '?', the '*' wildcard
597     # will be used.
598     #
599     # ban-time 120
600     # Set here how long temporary bans will last (in minutes). If you
601     # set this setting to 0, the bot will never remove them.
602     #
603     # exempt-time 60
604     # Set here how long temporary exempts will last (in minutes). If you
605     # set this setting to 0, the bot will never remove them. The bot will
606     # check the exempts every X minutes, but will not remove the exempt if
607     # a ban is set on the channel that matches that exempt. Once the ban is
608     # removed, then the exempt will be removed the next time the bot checks.
609     # Please note that this is an IRCnet feature.
610     #
611     # invite-time 60
612     # Set here how long temporary invites will last (in minutes). If you
613     # set this setting to 0, the bot will never remove them. The bot will
614     # check the invites every X minutes, but will not remove the invite if
615     # a channel is set to +i. Once the channel is -i then the invite will be
616     # removed the next time the bot checks. Please note that this is an IRCnet
617     # feature.
618     #
619     # aop-delay (minimum:maximum)
620     # This is used for autoop, autohalfop, autovoice. If an op or voice joins a
621     # channel while another op or voice is pending, the bot will attempt to put
622     # both modes on one line.
623     # aop-delay 0 No delay is used.
624     # aop-delay X An X second delay is used.
625     # aop-delay X:Y A random delay between X and Y is used.
626     #
627     # need-op { putserv "PRIVMSG #lamest :op me cos i'm lame!" }
628     # This setting will make the bot run the script enclosed in brackets
629     # if it does not have ops. This must be shorter than 120 characters.
630     # If you use scripts like getops.tcl or botnetop.tcl, you don't need
631     # to set this setting.
632     #
633     # need-invite { putserv "PRIVMSG #lamest :let me in!" }
634     # This setting will make the bot run the script enclosed in brackets
635     # if it needs an invite to the channel. This must be shorter than 120
636     # characters. If you use scripts like getops.tcl or botnetop.tcl, you
637     # don't need to set this setting.
638     #
639     # need-key { putserv "PRIVMSG #lamest :let me in!" }
640     # This setting will make the bot run the script enclosed in brackets
641     # if it needs the key to the channel. This must be shorter than 120
642     # characters. If you use scripts like getops.tcl or botnetop.tcl, you
643     # don't need to set this setting
644     #
645     # need-unban { putserv "PRIVMSG #lamest :let me in!" }
646     # This setting will make the bot run the script enclosed in brackets
647     # if it needs to be unbanned on the channel. This must be shorter than
648     # 120 characters. If you use scripts like getops.tcl or botnetop.tcl,
649     # you don't need to set this setting
650     #
651     # need-limit { putserv "PRIVMSG #lamest :let me in!" }
652     # This setting will make the bot run the script enclosed in brackets
653     # if it needs the limit to be raised on the channel. This must be
654     # shorter than 120 characters. If you use scripts like getops.tcl or
655     # botnetop.tcl, you don't need to set this setting
656     #
657     # flood-chan 15:60
658     # Set here how many channel messages in how many seconds from one
659     # host constitutes a flood. Setting this to 0 or 0:0 disables
660     # flood protection for the channel.
661     #
662     # flood-deop 3:10
663     # Set here how many deops in how many seconds from one host constitutes
664     # a flood. Setting this to 0 or 0:0 disables deop flood protection for
665     # the channel.
666     #
667     # flood-kick 3:10
668     # Set here how many kicks in how many seconds from one host constitutes
669     # a flood. Setting this to 0 or 0:0 disables kick flood protection for
670     # the channel.
671     #
672     # flood-join 5:60
673     # Set here how many joins in how many seconds from one host constitutes
674     # a flood. Setting this to 0 or 0:0 disables join flood protection for
675     # the channel.
676     #
677     # flood-ctcp 3:60
678     # Set here how many channel ctcps in how many seconds from one host
679     # constitutes a flood. Setting this to 0 or 0:0 disables ctcp flood
680     # protection for the channel.
681     #
682     # flood-nick 5:60
683     # Set here how many nick changes in how many seconds from one host
684     # constitutes a flood. Setting this to 0 or 0:0 disables nick flood
685     # protection for the channel.
686     #
687     # A complete list of all available channel settings:
688     #
689     # enforcebans
690     # When a ban is set, kick people who are on the channel and match
691     # the ban?
692     #
693     # dynamicbans
694     # Only activate bans on the channel when necessary? This keeps
695     # the channel's ban list from getting excessively long. The bot
696     # still remembers every ban, but it only activates a ban on the
697     # channel when it sees someone join who matches that ban.
698     #
699     # userbans
700     # Allow bans to be made by users directly? If turned off, the bot
701     # will require all bans to be made through the bot's console.
702     #
703     # dynamicexempts
704     # Only activate exempts on the channel when necessary? This keeps
705     # the channel's exempt list from getting excessively long. The bot
706     # still remembers every exempt, but it only activates a exempt on
707     # the channel when it sees a ban set that matches the exempt. The
708     # exempt remains active on the channel for as long as the ban is
709     # still active.
710     #
711     # userexempts
712     # Allow exempts to be made by users directly? If turned off, the
713     # bot will require all exempts to be made through the bot's console.
714     #
715     # dynamicinvites
716     # Only activate invites on the channel when necessary? This keeps
717     # the channel's invite list from getting excessively long. The bot
718     # still remembers every invite, but the invites are only activated
719     # when the channel is set to invite only and a user joins after
720     # requesting an invite. Once set, the invite remains until the
721     # channel goes to -i.
722     #
723     # userinvites
724     # Allow invites to be made by users directly? If turned off, the
725     # bot will require all invites to be made through the bot's console.
726     #
727     # autoop
728     # Op users with the +o flag as soon as they join the channel?
729     # This is insecure and not recommended.
730     #
731     # autohalfop
732     # Halfop users with the +l flag as soon as they join the channel?
733     # This is insecure and not recommended.
734     #
735     # bitch
736     # Only let users with +o) flag be opped on the channel?
737     #
738     # greet
739     # Say a user's info line when they join the channel?
740     #
741     # protectops
742     # Re-op a user with the +o flag if they get deopped?
743     #
744     # protecthalfops
745     # Re-halfop a user with the +l flag if they get dehalfopped?
746     #
747     # protectfriends
748     # Re-op a user with the +f flag if they get deopped?
749     #
750     # statuslog
751     # Log the channel status line every 5 minutes? This shows the bot's
752     # status on the channel (op, voice, etc.), the channel's modes, and
753     # the number of +m/+o/+v/+n/+b/+e/+I users on the channel. A sample
754     # status line follows:
755     #
756     # [01:40] @#lamest (+istn) : [m/1 o/1 v/4 n/7 b/1 e/5 I/7]
757     #
758     # revenge
759     # Remember people who deop/kick/ban the bot, valid ops, or friends
760     # and punish them? Users with the +f flag are exempt from revenge.
761     #
762     # revengebot
763     # This is similar to to the 'revenge' option, but it only triggers
764     # if a bot gets deopped, kicked or banned.
765     #
766     # autovoice
767     # Voice users with the +v flag when they join the channel?
768     #
769     # secret
770     # Prevent this channel from being listed on the botnet?
771     #
772     # shared
773     # Share channel-related user info for this channel?
774     #
775     # cycle
776     # Cycle the channel when it has no ops?
777     #
778     # dontkickops
779     # Do you want the bot not to be able to kick users who have the +o
780     # flag, letting them kick-flood for instance to protect the channel
781     # against clone attacks.
782     #
783     # inactive
784     # This prevents the bot from joining the channel (or makes it leave
785     # the channel if it is already there). It can be useful to make the
786     # bot leave a channel without losing its settings, channel-specific
787     # user flags, channel bans, and without affecting sharing.
788     #
789     # seen
790     # Respond to seen requests in the channel? The seen module must be
791     # loaded for this to work.
792     #
793     # nodesynch
794     # Allow non-ops to perform channel modes? This can stop the bot from
795     # fighting with services such as ChanServ, or from kicking IRCops when
796     # setting channel modes without having ops.
797     #
798     # static
799     # Allow only permanent owners to remove the channel?
800    
801     # To add a channel to eggdrop, please enter the bot's partyline and type
802     # .+chan #channel. Check also .help chanset and .help chaninfo.
803     # You can still add a channel here and it will be saved if you have a
804     # chanfile. We recommend you to use the partyline though.
805     #
806     #channel add #lamest
807    
808    
809     #### SERVER MODULE ####
810    
811     # This module provides the core server support. You have to load this
812     # if you want your bot to come on IRC. Not loading this is equivalent
813     # to the old NO_IRC define.
814     loadmodule server
815    
816     # What is your network?
817     # 0 = EFnet
818     # 1 = IRCnet
819     # 2 = Undernet
820     # 3 = DALnet
821     # 4 = +e/+I/max-modes 20 Hybrid
822     # 5 = Others
823     set net-type 0
824    
825     # Set the nick the bot uses on IRC, and on the botnet unless you specify a
826     # separate botnet-nick, here.
827     set nick "Lamestbot"
828    
829     # Set the alternative nick which the bot uses on IRC if the nick specified
830     # by 'set nick' is unavailable. All '?' characters will be replaced by random
831     # numbers.
832     set altnick "Llamab?t"
833    
834     # Set what should be displayed in the real-name field for the bot on IRC.
835     # This can not be blank, it has to contain something.
836     set realname "/msg LamestBot hello"
837    
838     # This is a Tcl script to be run immediately after connecting to a server.
839     bind evnt - init-server evnt:init_server
840    
841     proc evnt:init_server {type} {
842     global botnick
843     putquick "MODE $botnick +i-ws"
844     }
845    
846     # Set the default port which should be used if none is specified with
847     # '.jump' or in 'set servers'.
848     set default-port 6667
849    
850     # This is the bot's server list. The bot will start at the first server listed,
851     # and cycle through them whenever it gets disconnected. You need to change these
852     # servers to YOUR network's servers.
853     #
854     # The format is:
855     # server[:port[:password]]
856 pseudo 1.2 # If you need to specify a numeric server IPv6 address, use following format:
857     # ip,[port[:password]]
858 simple 1.1 #
859     # Both the port and password fields are optional; however, if you want to set a
860     # password you must also set a port. If a port isn't specified it will default to
861     # your default-port setting.
862     set servers {
863     you.need.to.change.this:6667
864     another.example.com:7000:password
865 pseudo 1.2 2001:db8:618:5c0:263::,6669:password
866 simple 1.1 }
867    
868     # Number of seconds to wait between transmitting queued lines to the server.
869     # Lower this value at your own risk. ircd is known to start flood control
870     # at 512 bytes/2 seconds.
871     set msg-rate 2
872    
873     # This setting makes the bot try to get his original nickname back if its
874     # primary nickname is already in use.
875     set keep-nick 1
876    
877    
878     # This setting makes the bot squelch the error message when rejecting a DCC
879     # CHAT, SEND or message command. Normally, Eggdrop notifies the user that the
880     # command has been rejected because they don't have access. Note that sometimes
881     # IRC server operators detect bots that way.
882     set quiet-reject 1
883    
884     # If you want your bot to answer lower case ctcp requests (non rfc-
885     # compliant), set this setting to 1. mIRC will do this, most other
886     # clients will not.
887     set lowercase-ctcp 0
888    
889     # Set how many ctcps should be answered at once.
890     set answer-ctcp 3
891    
892     # Set here how many msgs in how many seconds from one host constitutes
893     # a flood. If you set this to 0:0, msg flood protection will be disabled.
894     set flood-msg 5:60
895    
896     # Set here how many ctcps in how many seconds from one host constitutes
897     # a flood. If you set this to 0:0, ctcp flood protection will be disabled.
898     set flood-ctcp 3:60
899    
900     # This settings makes the bot cycle forever through the server list until
901     # it successfully connects to one.
902     set never-give-up 1
903    
904     # This setting defines how long Eggdrop should wait before moving from one
905     # server to another on disconnect. If you set 0 here, Eggdrop will not wait
906     # at all and will connect instantly. Setting this too low could result in
907     # your bot being K:Lined.
908     set server-cycle-wait 60
909    
910     # Set here how long Eggdrop should wait for a response when connecting to a
911     # server before giving up and moving on to next server.
912     set server-timeout 60
913    
914     # If the number of servers on the net gets below this number, the bot
915     # will jump to a new server (it will assume it's on the losing end of
916     # a netsplit). Set this to 0 to turn off. If your bot is running on
917     # any major IRC network, this should probably be turned off.
918     set servlimit 0
919    
920     # Set this to 1 if Eggdrop should check for stoned servers? (where the
921     # server connection has died, but Eggdrop hasn't been notified yet).
922     set check-stoned 1
923    
924     # If you want your bot to exit the server if it receives an ERROR message,
925     # set this to 1.
926     set serverror-quit 1
927    
928     # Set here the maximum number of lines to queue to the server. If you're
929     # going to dump large chunks of text to people over IRC, you will probably
930     # want to raise this. 300 is fine for most people though.
931     set max-queue-msg 300
932    
933     # If you want Eggdrop to trigger binds for ignored users, set this to 1.
934     set trigger-on-ignore 0
935    
936     # This setting configures PUBM and MSGM binds to be exclusive of PUB and MSG
937     # binds. This means if a MSGM bind with the mask "*help*" exists and is
938     # triggered, any MSG bindings with "help" in their mask will not be
939     # triggered. Don't enable this unless you know what you are doing!
940     set exclusive-binds 0
941    
942     # Allow identical messages in the mode queue?
943     set double-mode 1
944    
945     # Allow identical messages in the server queue?
946     set double-server 1
947    
948     # Allow identical messages in the help queue?
949     set double-help 1
950    
951     # This optimizes the kick queue. It also traces nick changes and parts in
952     # the channel and changes the kick queue accordingly. There are three
953     # different options for this setting:
954     # 0 = Turn it off.
955     # 1 = Optimize the kick queue by summarizing kicks.
956     # 2 = Trace nick changes and parts on the channel and change the queue
957     # accordingly. For example, bot will not try to kick users who have
958     # already parted the channel.
959     # ATTENTION: Setting 2 is very CPU intensive.
960     set optimize-kicks 1
961    
962     # If your network supports more recipients per command then 1, you can
963     # change this behavior here. Set this to the number of recipients per
964     # command, or set this to 0 for unlimited.
965     set stack-limit 4
966    
967     ### SERVER MODULE - OTHER NETWORKS (net-type 5) ###
968    
969     # This settings defines how umode +r is understood by Eggdrop. Some networks
970     # use +r to indicate a restricted connection. If this is your case, and you
971     # want your bot to leave restricted servers and jump to the next server on its
972     # list, then set it to 1.
973     #set check-mode-r 1
974    
975     # This setting allows you to specify the maximum nick-length supported by your
976     # network. The default setting is 9. The maximum supported length by Eggdrop
977     # is 32.
978     #set nick-len 9
979    
980     #### CTCP MODULE ####
981    
982     # This module provides the normal ctcp replies that you'd expect.
983     # Without it loaded, CTCP CHAT will not work. The server module
984     # is required for this module to function.
985     loadmodule ctcp
986    
987     # Set here how the ctcp module should answer ctcps. There are 3 possible
988     # operating modes:
989     # 0: Normal behavior is used.
990     # 1: The bot ignores all ctcps, except for CHAT and PING requests
991     # by users with the +o flag.
992     # 2: Normal behavior is used, however the bot will not answer more
993     # than X ctcps in Y seconds (defined by 'set flood-ctcp').
994     set ctcp-mode 0
995    
996     # There are also several variables to help make your bot less noticeable.
997     # They are: ctcp-version, ctcp-finger, and ctcp-userinfo. You can use set to set
998     # them to values you'd like.
999    
1000    
1001     #### IRC MODULE ####
1002    
1003     # This module provides basic IRC support for your bot. You have to
1004     # load this if you want your bot to come on IRC. The server and channels
1005     # modules must be loaded for this module to function.
1006     loadmodule irc
1007    
1008     # Set this to 1 if you want to bounce all server bans.
1009     set bounce-bans 0
1010    
1011     # Set this to 1 if you want to bounce all server exemptions (+e modes).
1012     # This is disabled if use-exempts is disabled.
1013     set bounce-exempts 0
1014    
1015     # Set this to 1 if you want to bounce all server invitations (+I modes).
1016     # This is disabled if use-invites is disabled.
1017     set bounce-invites 0
1018    
1019     # Set this to 1 if you want to bounce all server modes.
1020     set bounce-modes 0
1021    
1022     # Set here the maximum number of bans you want the bot to set on a channel.
1023     # Eggdrop will not place any more bans if this limit is reached. Undernet
1024     # currently allows 45 bans, IRCnet allows 30, EFnet allows 100, and DALnet
1025     # allows 100.
1026     set max-bans 30
1027    
1028     # Set here the maximum number of exempts you want Eggdrop to set on a channel.
1029     # Eggdrop will not place any more exempts if this limit is reached.
1030     set max-exempts 20
1031    
1032     # Set here the maximum number of invites you want Eggdrop to set on a channel.
1033     # Eggdrop will not place any more invites if this limit is reached.
1034     set max-invites 20
1035    
1036     # There is a global limit for +b/+e/+I modes. This limit should be set to
1037     # the same value as max-bans for networks that do not support +e/+I.
1038     set max-modes 30
1039    
1040     # The following settings should be left commented unless the default values
1041     # are being overridden. By default, exempts and invites are on for EFnet and
1042     # IRCnet, but off for all other large networks. This behavior can be modified
1043     # with the following 2 flags. If your network doesn't support +e/+I modes then
1044     # you will be unable to use these features.
1045     #
1046     # Do you want to enable exempts (+e modes)?
1047     #set use-exempts 0
1048    
1049     # Do you want to enable invites (+I modes)?
1050     #set use-invites 0
1051    
1052     # Set this to 1 if you want the bot to kick for control character/ctcp
1053     # avalanches to a channel. Remember that if it does, it won't ban them.
1054     # This can start kick floods.
1055     set kick-fun 0
1056    
1057     # Set this to 1 if you want the bot to ban for control character/ctcp
1058     # avalanches to a channel. This can prevent kick floods, but it also can
1059     # fill the banlist.
1060     set ban-fun 0
1061    
1062     # If you want people to be able to add themselves to the bot's userlist
1063     # with the default userflags (defined above in the config file) via the
1064     # 'hello' msg command, set this to 1.
1065     set learn-users 0
1066    
1067     # Set here the time (in seconds) to wait for someone to return from a netsplit
1068     # (i.e. wasop will expire afterwards). Set this to 1500 on IRCnet since its
1069     # nick delay stops after 30 minutes.
1070     set wait-split 600
1071    
1072     # Set here the time (in seconds) that someone must have been off-channel
1073     # before re-displaying their info line.
1074     set wait-info 180
1075    
1076     # Set this to the maximum number of bytes to send in the arguments
1077     # of modes sent to the server. Most servers default this to 200.
1078     set mode-buf-length 200
1079    
1080     # Many IRCops find bots by seeing if they reply to 'hello' in a msg.
1081     # You can change this to another word by un-commenting the following
1082     # two lines and changing "myword" to the word wish to use instead of
1083     # 'hello'. It must be a single word.
1084     #unbind msg - hello *msg:hello
1085     #bind msg - myword *msg:hello
1086    
1087     # Many takeover attempts occur due to lame users blindly /msg ident'ing to
1088     # the bot and attempting to guess passwords. We now unbind this command by
1089     # default to discourage them. You can enable these commands by commenting the
1090     # following two lines.
1091     unbind msg - ident *msg:ident
1092     unbind msg - addhost *msg:addhost
1093    
1094     # Some IRC servers are using some non-standard op-like channel prefixes/modes.
1095     # Define them here so the bot can recognize them. Just "@" should be fine for
1096     # most networks. Un-comment the second line for some UnrealIRCds.
1097    
1098     set opchars "@"
1099     #set opchars "@&~"
1100    
1101     # If you are so lame you want the bot to display peoples info lines, even
1102     # when you are too lazy to add their chanrecs to a channel, set this to 1.
1103     # *NOTE* This means *every* user with an info line will have their info
1104     # line displayed on EVERY channel they join (provided they have been gone
1105     # longer than wait-info).
1106     set no-chanrec-info 0
1107    
1108     ### IRC MODULE - IRCnet SPECIFIC FEATURES (net-type 1) ###
1109    
1110     # Attention: Use these settings *only* if you set 'net-type' to 1!
1111    
1112     # At the moment, the current IRCnet IRCd version (2.10) doesn't support the
1113     # mixing of b, o and v modes with e and I modes. This might be changed in the
1114     # future, so use 1 at the moment for this setting.
1115     set prevent-mixing 1
1116    
1117     ### IRC MODULE - OTHER NETWORKS (net-type 5) ###
1118    
1119     # Attention: Use these settings *only* if you set 'net-type' to 5!
1120    
1121     # If your network supports more users per kick command then 1, you can
1122     # change this behavior here. Set this to the number of users to kick at
1123     # once, or set this to 0 for all at once.
1124     #set kick-method 1
1125    
1126     # Some networks allow you to stack lots of channel modes into one line.
1127     # They're all guaranteed to support at least 3, so that's the default.
1128     # If you know your network supports more, you may want to adjust this.
1129     # This setting is limited to 6, although if you want to use a higher value,
1130     # you can modify this by changing the value of MODES_PER_LINE_MAX in
1131     # src/chan.h and recompiling the bot.
1132     #set modes-per-line 3
1133    
1134     # Some networks don't include the +l limit and +k or -k key modes
1135     # in the modes-per-line (see above) limitation. Set include-lk to 0 for
1136     # these networks.
1137     #set include-lk 1
1138    
1139     # Set this to 1 if your network uses IRCu2.10.01 specific /who requests.
1140     # Eggdrop can, therefore, ask only for exactly what's needed.
1141     #set use-354 0
1142    
1143     # If your network doesn't use rfc 1459 compliant string matching routines,
1144     # set this to 0.
1145     #set rfc-compliant 1
1146    
1147    
1148     #### TRANSFER MODULE ####
1149    
1150     # The transfer module provides DCC SEND/GET support and userfile transfer
1151     # support for userfile sharing. Un-comment the next line to load it if you
1152     # need this functionality.
1153     #loadmodule transfer
1154    
1155     # Set here the maximum number of simultaneous downloads to allow for
1156     # each user.
1157     set max-dloads 3
1158    
1159     # Set here the block size for dcc transfers. ircII uses 512 bytes,
1160     # but admits that it may be too small. 1024 is standard these days.
1161     # 0 is turbo-dcc (recommended).
1162     set dcc-block 0
1163    
1164     # Enable this setting if you want to copy files into the /tmp directory
1165     # before sending them. This is useful on most systems for file stability,
1166     # but if your directories are NFS mounted, it's a pain, and you'll want
1167     # to set this to 0. If you are low on disk space, you may also want to
1168     # set this to 0.
1169     set copy-to-tmp 1
1170    
1171     # Set here the time (in seconds) to wait before an inactive transfer times out.
1172     set xfer-timeout 30
1173    
1174    
1175     #### SHARE MODULE ####
1176    
1177     # This module provides userfile sharing support between two directly
1178     # linked bots. The transfer and channels modules are required for this
1179     # module to correctly function. Un-comment the following line to load
1180     # the share module.
1181     #loadmodule share
1182    
1183     # Settings in this section must be un-commented before setting.
1184    
1185     # When two bots get disconnected, this setting allows them to create a
1186     # resync buffer which saves all changes done to the userfile during
1187     # the disconnect. When they reconnect, they will not have to transfer
1188     # the complete user file, but, instead, just send the resync buffer.
1189     #
1190     # NOTE: This has been known to cause loss of channel flags and other
1191     # problems. Using this setting is not recommended.
1192     #set allow-resync 0
1193    
1194     # This setting specifies how long to hold another bots resync data
1195     # before flushing it.
1196     #set resync-time 900
1197    
1198     # When sharing user lists, DON'T ACCEPT global flag changes from other bots?
1199     # NOTE: The bot will still send changes made on the bot, it just won't accept
1200     # any global flag changes from other bots. This overrides the private-globals
1201     # setting (below).
1202     #set private-global 0
1203    
1204     # When sharing user lists, if private-global isn't set, which global flag
1205     # changes from other bots should be ignored?
1206     #set private-globals "mnot"
1207    
1208     # When sharing user lists, don't accept ANY userfile changes from other
1209     # bots? Paranoid people should use this feature on their hub bot. This
1210     # will force all userlist changes to be made via the hub.
1211     #set private-user 0
1212    
1213     # This setting makes the bot discard its own bot records in favor of
1214     # the ones sent by the hub.
1215     # NOTE: No passwords or botflags are shared, only ports and
1216     # address are added to sharing procedure. This only works with hubs that
1217     # are v1.5.1 or higher.
1218     #set override-bots 0
1219    
1220    
1221     #### COMPRESS MODULE ####
1222    
1223     # This module provides provides support for file compression. This allows the
1224     # bot to transfer compressed user files and therefore save a significant amount
1225     # of bandwidth. The share module must be loaded to load this module. Un-comment
1226     # the following line to the compress module.
1227     #loadmodule compress
1228    
1229     # Allow compressed sending of user files? The user files are compressed with
1230     # the compression level defined in `compress-level'.
1231     set share-compressed 1
1232    
1233     # This is the default compression level used. These levels are the same as
1234     # those used by GNU gzip.
1235     #set compress-level 9
1236    
1237    
1238     #### FILESYSTEM MODULE ####
1239    
1240     # This module provides an area within the bot where users can store and
1241     # manage files. With this module, the bot is usable as a file server. The
1242     # transfer module is required for this module to function. Un-comment
1243     # the following line to load the filesys module.
1244     #loadmodule filesys
1245    
1246     # Set here the 'root' directory for the file system.
1247     set files-path "/home/mydir/filesys"
1248    
1249     # If you want to allow uploads, set this to the directory uploads
1250     # should be put into. Set this to "" if you don't want people to
1251     # upload files to your bot.
1252     set incoming-path "/home/mydir/filesys/incoming"
1253    
1254     # If you don't want to have a central incoming directory, but instead
1255     # want uploads to go to the current directory that a user is in, set
1256     # this setting to 1.
1257     set upload-to-pwd 0
1258    
1259     # Eggdrop creates a '.filedb' file in each subdirectory of your file area
1260     # to keep track of its own file system information. If you can't do that (for
1261     # example, if the dcc path isn't owned by you, or you just don't want it to do
1262     # that) specify a path here where you'd like all of the database files to be
1263     # stored instead.
1264     set filedb-path ""
1265    
1266     # Set here the maximum number of people that can be in the file area at once.
1267     # Setting this to 0 makes it effectively infinite.
1268     set max-file-users 20
1269    
1270     # Set here the maximum allowable file size that will be received (in KB).
1271     # Setting this to 0 makes it effectively infinite.
1272     set max-filesize 1024
1273    
1274    
1275     #### NOTES MODULE ####
1276    
1277     # This module provides support for storing of notes for users from each other.
1278     # Note sending between currently online users is supported in the core, this is
1279     # only for storing the notes for later retrieval.
1280     loadmodule notes
1281    
1282     # Set here the filename where private notes between users are stored.
1283     set notefile "LamestBot.notes"
1284    
1285     # Set here the maximum number of notes to allow to be stored for each user
1286     # (to prevent flooding).
1287     set max-notes 50
1288    
1289     # Set here how long (in days) to store notes before expiring them.
1290     set note-life 60
1291    
1292     # Set this to 1 if you want to allow users to specify a forwarding address
1293     # for forwarding notes to another account on another bot.
1294     set allow-fwd 0
1295    
1296     # Set this to 1 if you want the bot to let people know hourly if they have
1297     # any notes.
1298     set notify-users 0
1299    
1300     # Set this to 1 if you want the bot to let people know on join if they have
1301     # any notes.
1302     set notify-onjoin 1
1303    
1304     # Comment out this next line. Otherwise, your bot won't start.
1305     die "You didn't edit your config file completely like you were told, did you?"
1306    
1307    
1308     #### CONSOLE MODULE ####
1309    
1310     # This module provides storage of console settings when you exit the
1311     # bot or type .store on the partyline.
1312     loadmodule console
1313    
1314     # Save users console settings automatically? Otherwise, they have
1315     # to use the .store command.
1316     set console-autosave 1
1317    
1318     # If a user doesn't have any console settings saved, which channel
1319     # do you want them automatically put on?
1320     set force-channel 0
1321    
1322     # Enable this setting if a user's global info line should be displayed
1323     # when they join a botnet channel.
1324     set info-party 0
1325    
1326    
1327     #### WOOBIE MODULE ####
1328    
1329     # This is for demonstrative purposes only. If you are looking for starting
1330     # point in writing modules, woobie is the right thing.
1331     #loadmodule woobie
1332    
1333    
1334     #### SEEN MODULE ####
1335    
1336     # This module provides very basic seen commands via msg, on channel or via dcc.
1337     # This module works only for users in the bot's userlist. If you are looking for
1338     # a better and more advanced seen module, try the gseen module by G'Quann. You
1339     # can find it at http://www.kreativrauschen.com/gseen.mod/.
1340     #loadmodule seen
1341    
1342    
1343     #### ASSOC MODULE ####
1344    
1345     # This module provides assoc support, i.e. naming channels on the botnet.
1346     # You can load it by un-commenting the following line.
1347     #loadmodule assoc
1348    
1349    
1350     #### WIRE MODULE ####
1351    
1352     # This module provides all the standard .wire commands via dcc. It is an
1353     # encrypted partyline communication tool, compatible with wire.tcl. An
1354     # encryption module must be loaded to use this module. Un-comment the
1355     # following line to load the wire module.
1356     #loadmodule wire
1357    
1358     #### UPTIME MODULE ####
1359    
1360     # This module reports uptime statistics to http://uptime.eggheads.org.
1361     # Go look and see what your uptime is! It takes about 9 hours to show up,
1362     # so if your bot isn't listed, try again later. The server module must be
1363     # loaded for this module to function.
1364     #
1365     # Information sent to the server includes the bot's uptime, botnet-nick,
1366     # server, version, and IP address. This information is stored in a temporary
1367     # logfile for debugging purposes only. The only publicly available information
1368     # will be the bot's botnet-nick, version and uptime. If you do not wish for this
1369     # information to be sent, comment out the following line.
1370     loadmodule uptime
1371    
1372     ##### SCRIPTS #####
1373    
1374     # This is a good place to load scripts to use with your bot.
1375    
1376     # This line loads script.tcl from the scripts directory inside your Eggdrop's
1377     # directory. All scripts should be put there, although you can place them where
1378     # you like as long as you can supply a fully qualified path to them.
1379     #
1380     # source scripts/script.tcl
1381    
1382     source scripts/alltools.tcl
1383     source scripts/action.fix.tcl
1384    
1385     # This script enhances Eggdrop's built-in dcc '.whois' command to allow all
1386     # users to '.whois' their own handle.
1387     source scripts/dccwhois.tcl
1388    
1389     # This script provides many useful informational functions, like setting
1390     # users' URLs, e-mail address, ICQ numbers, etc. You can modify it to add
1391     # extra entries.
1392     source scripts/userinfo.tcl
1393     loadhelp userinfo.help
1394    
1395     # Use this script for Tcl and Eggdrop backwards compatibility.
1396     # NOTE: This can also cause problems with some newer scripts.
1397     #source scripts/compat.tcl
1398    
1399     # A few IRC networks (EFnet and Undernet) have added some simple checks to
1400     # prevent drones from connecting to the IRC network. While these checks are
1401     # fairly trivial, they will prevent your Eggdrop from automatically
1402     # connecting. In an effort to work-around these, we have developed a couple of
1403     # TCL scripts to automate the process.
1404    
1405     if {[info exists net-type]} {
1406     switch -- ${net-type} {
1407     "0" {
1408     # EFnet
1409     source scripts/quotepong.tcl
1410     }
1411     "2" {
1412     # Undernet
1413     source scripts/quotepass.tcl
1414     }
1415     }
1416     }

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23