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

Annotation of /eggdrop1.6/eggdrop.conf

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


Revision 1.45 - (hide annotations) (download)
Sun Jul 31 17:37:29 2005 UTC (13 years, 8 months ago) by wcc
Branch: MAIN
Changes since 1.44: +4 -3 lines
- Corrected nat-ip setting documentation.
* Found by: BarkerJr - Patch by: Wcc

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

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23