/[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.18 - (hide annotations) (download)
Fri Jan 31 08:02:08 2003 UTC (16 years, 3 months ago) by wcc
Branch: MAIN
Changes since 1.17: +0 -3 lines
Removed the enable-simul config file setting.

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

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23