/[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.31 - (hide annotations) (download)
Sun Nov 30 21:42:07 2003 UTC (15 years, 6 months ago) by poptix
Branch: MAIN
Changes since 1.30: +2 -1 lines

Added a space.

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

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23