/[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.26 - (hide annotations) (download)
Thu Apr 17 04:38:33 2003 UTC (16 years, 2 months ago) by wcc
Branch: MAIN
CVS Tags: eggdrop_1_6_15
Changes since 1.25: +6 -1 lines
* IPv6 doc updates.
* More IPv6 fixes.
* Misc. doc updates.

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

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23