/[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.21 - (hide annotations) (download)
Mon Feb 3 09:48:00 2003 UTC (16 years, 2 months ago) by wcc
Branch: MAIN
Changes since 1.20: +3 -3 lines
* Cleaned up stdarg's debugging stuff from last commit and changed patch.h
  and UPDATES1.6.
* Fixed a bind in the config file (found by stdarg).

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

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23