/[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.63 - (hide annotations) (download)
Tue Mar 23 15:25:29 2010 UTC (9 years, 3 months ago) by pseudo
Branch: MAIN
Changes since 1.62: +14 -11 lines
Changed some eggdrop.conf settings. .set and .tcl are no longer unbound by default.
Made .+chan check if the user is permitted to set the need-* settings.

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

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23