/[cvs]/eggdrop1.9/eggdrop.conf
ViewVC logotype

Contents of /eggdrop1.9/eggdrop.conf

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.13 - (show annotations) (download)
Sat Feb 15 05:04:57 2003 UTC (16 years, 7 months ago) by wcc
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +1 -1 lines
FILE REMOVED
* Removed share.mod (will be part of the new botnet module).
* More transfer removal.
* More botnet removal.
* Regenerated gettext stuff.
* More doc stuff.
* Removed eggdrop.conf (replaced by config.tcl for now).

1 #! /path/to/executable/eggdrop -ptclscript
2 # ^- This should contain a fully qualified path to your Eggdrop executable.
3 # Make sure you preload a config parser using the -p<name> parameter.
4 #
5 # $Id: eggdrop.conf,v 1.12 2003/02/12 08:42:22 wcc Exp $
6 #
7 # This is a sample Eggdrop configuration file which includes all possible
8 # settings that can be used to configure your bot.
9 #
10 # The pound signs (#) that you see at the beginning of some lines mean that
11 # the remainder of that line is a comment, or just for your information. By
12 # adding or deleting pound signs, you can comment or uncomment a setting,
13 # respectively.
14 #
15 # Arguments for a command or setting may be inclosed in <>'s or []'s in the
16 # example/description. Arguments in <>'s are required, while [] means optional.
17 #
18 # More detailed descriptions of all these settings can be found in
19 # doc/settings/.
20
21
22 ##### BASIC SETTINGS #####
23
24 # This is used to identify the bot. You MUST set this.
25 set myname "LamestBot"
26
27 # This setting defines the username the bot uses on IRC. This setting has
28 # no effect if an ident daemon is running on your bot's machine.
29 set username "lamest"
30
31 # This setting defines which contact person should be shown in .status,
32 # /msg help, and other places. You really should include this information.
33 set admin "Lamer <email: lamer@lamest.lame.org>"
34
35 # This setting is used only for info to share with others on your botnet.
36 # Set this to the IRC network your bot is connected to.
37 set network "I.didnt.edit.my.config.file.net"
38
39 # These characters at the beginning of text signify a command on the partyline.
40 set dcc_command_chars "./"
41
42 # This setting defines the timezone is your bot in. It's used for internal
43 # routines as well as for logfile timestamping and scripting purposes.
44 # The timezone string specifies the name of the timezone and must be three
45 # or more alphabetic characters. For example, Central European Time(UTC+1)
46 # should be "CET".
47 set timezone "EST"
48
49 # The offset setting specifies the time value to be added to the local
50 # time to get Coordinated Universal Time (UTC aka GMT). The offset is
51 # positive if the local timezone is west of the Prime Meridian and
52 # negative if it is east. The value (in hours) must be between -23 and
53 # 23. For example, if the timezone is UTC+1, the offset is -1.
54 set offset "5"
55
56 # If you don't want to use the timezone setting for scripting purposes only,
57 # but instead everywhere possible, un-comment the following line.
58 #set env(TZ) "$timezone $offset"
59
60 # If you're using virtual hosting (your machine has more than 1 IP), you
61 # may want to specify the particular IP to bind to. my_ip will be used for
62 # IPv4 hosts, and my_ip6 will be used for IPv6 hosts.
63 #set my_ip "99.99.0.0"
64 #set my_ip6 "3ffe:1337::1"
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 # 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 #
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 size of your logfiles. Set it to 0 to disable.
102 # This value is in kilobytes, so '550' would mean cycle logs when it
103 # reaches the size of 550 kilobytes. Note that this only works if you
104 # have keep-all-logs 0 (OFF).
105 set max_logsize 0
106
107 # This could be good if you have had problem with the logfile filling
108 # your quota/hard disk or if you log +p and publish it to the web and
109 # need more up-to-date info. Note that this setting might increase the
110 # CPU usage of your bot (on the other hand it will decrease your mem usage).
111 set quick_logs 0
112
113 # This setting allows you the logging of raw incoming server traffic via
114 # console/log flag 'r', raw outgoing server traffic via console/log mode 'v',
115 # raw botnet traffic via console/log mode 't', and raw share traffic via
116 # console/log mode 'h'. These flags can create a large security hole,
117 # allowing people to see user passwords. This is now restricted to +n users
118 # only. Please choose your owners with care.
119 set raw_log 0
120
121 # This creates a logfile named eggdrop.log containing private msgs/ctcps,
122 # commands, errors, and misc. info from any channel.
123 logfile mco * "logs/eggdrop.log"
124
125 # This creates a logfile named lamest.log containing joins, parts,
126 # netsplits, kicks, bans, mode changes, and public chat on the
127 # channel #lamest.
128 logfile jpk #lamest "logs/lamest.log"
129
130 # If you want to keep your logfiles forever, turn this setting on. All
131 # logfiles will get suffix ".[day, 2 digits][month, 3 letters][year, 4 digits]".
132 # Note that your quota/hard-disk might be filled by this, so check your logfiles
133 # often and download them.
134 set keep_all_logs 0
135
136 # If keep-all-logs is 1, this setting will define the suffix of the logfiles.
137 # The default will result in a suffix like "04May2000". "%Y%m%d" will produce
138 # the often used yyyymmdd format. Read the strftime manpages for more options.
139 # NOTE: On systems which don't support strftime, the default format will
140 # be used _always_.
141 set logfile_suffix ".%d%b%Y"
142
143 # You can specify when Eggdrop should switch logfiles and start fresh. You
144 # must use military time for this setting. 300 is the default, and describes
145 # 03:00 (AM).
146 set switch_logfiles_at 300
147
148
149 ##### CONSOLE #####
150
151 # This is the default console mode. It uses the same event flags as the log
152 # files do. The console channel is automatically set to your "primary" channel,
153 # which is set in the modules section of the config file. Masters can change
154 # their console channel and modes with the '.console' command.
155
156 set console "mkcobxs"
157
158
159 ##### FILES AND DIRECTORIES #####
160
161 # Specify here the filename your userfile should be saved as.
162 set userfile "LamestBot.user"
163
164 # Specify here the filename Eggdrop will save its pid to. If no pidfile is
165 # specified, pid.(myname) will be used.
166 #set pidfile "pid.LamestBot"
167
168 # Specify here where Eggdrop should look for help files. Don't modify this
169 # setting unless you know what you're doing!
170 set help_path "help/"
171
172 # Specify here where Eggdrop should look for text files. This is used for
173 # certain Tcl and DCC commands.
174 set text_path "text/"
175
176 # Set here a place to store temporary files.
177 set temp_path "/tmp"
178
179 # The MOTD (Message Of The day) is displayed when people dcc chat or telnet
180 # to the bot. Look at doc/text-substitutions.doc for options.
181 set motd "text/motd"
182
183 # This banner will be displayed on telnet connections. Look at
184 # doc/text-substitutions.doc for options.
185 set telnet_banner "text/banner"
186
187 # This specifies what permissions the user, channel, and notes files should
188 # be set to. The octal values are the same as for the chmod system command.
189 #
190 # To remind you:
191 #
192 # u g o u g o u g o
193 # 0600 rw------- 0400 r-------- 0200 -w------- u - user
194 # 0660 rw-rw---- 0440 r--r----- 0220 -w--w---- g - group
195 # 0666 rw-rw-rw- 0444 r--r--r-- 0222 -w--w--w- o - others
196 #
197 # Note that the default 0600 is the most secure one and should only be changed
198 # if you need your files for shell scripting or other external applications.
199 set userfile_perm 0600
200
201 ##### DCC/TELNET #####
202
203 # This opens a telnet port by which you and other bots can
204 # interact with the Eggdrop by telneting in.
205 #
206 # There are more options for the listen command in doc/tcl-commands.doc.
207 # Note, if you are running more than one bot on the same machine, you will
208 # want to space the telnet ports at LEAST 5 apart. 10 is even better.
209 #
210 # Valid ports are typically anything between 1025 and 65535 assuming the
211 # port is not already in use.
212 #
213
214 # If you would like the bot to listen for users and bots in separate ports,
215 # use the following format.
216 #
217 # listen 3333 bots
218 # listen 4444 users
219 #
220 # If you wish to use only one port, use this format:
221 listen 3333 all
222
223 # This setting will drop telnet connections not matching a known host. It
224 # greatly improves protection from IRCops, but makes it impossible to add
225 # hosts on limbo (NOIRC) bots or have NEW as a valid login.
226 set protect_telnet 0
227
228 # This settings defines a time in seconds that the bot should wait before
229 # a dcc chat, telnet, or relay connection times out.
230 set ident_timeout 5
231
232 # This settings defines a time in seconds that the bot should wait before
233 # a dcc chat, telnet, or relay connection times out.
234 set connect_timeout 15
235
236 # Specify here the number of lines to accept from a user on the partyline
237 # within 10 seconds before they are considered to be flooding and therefore
238 # get booted.
239 set dcc_flood_thr 3
240
241 # Define here how many telnet connection attempts in how many seconds from
242 # the same host constitute a flood. The correct format is Attempts:Seconds.
243 set telnet_flood 5:60
244
245 # If you want telnet-flood to apply even to +f users, set this setting to 1.
246 set paranoid_telnet_flood 1
247
248 # Set here the amount of seconds before giving up on hostname/address
249 # lookup (you might want to increase this if you are on a slow network).
250 set resolve_timeout 15
251
252
253 ##### MORE ADVANCED SETTINGS #####
254
255 # Set this to your socks host if your Eggdrop sits behind a firewall. If
256 # you use a Sun "telnet passthru" firewall, prefix the host with a '!'.
257 #set firewall "!sun-barr.ebay:3666"
258
259 # If you have a NAT firewall (you box has an IP in one of the following
260 # ranges: 192.168.0.0-192.168.255.255, 172.16.0.0-172.31.255.255,
261 # 10.0.0.0-10.255.255.255 and your firewall transparently changes your
262 # address to a unique address for your box) or you have IP masquerading
263 # between you and the rest of the world, and /dcc chat, /ctcp chat or
264 # userfile sharing aren't working, enter your outside IP here. Do not
265 # enter anything for my_ip if you use this setting.
266 #set nat_ip "127.0.0.1"
267
268 # If you want all dcc file transfers to use a particular portrange either
269 # because you're behind a firewall, or for other security reasons, set it
270 # here.
271 #set reserved_portrange 2010:2020
272
273 # Set the time in minutes that temporary ignores should last.
274 set ignore_time 15
275
276 # Define here what Eggdrop considers 'hourly'. All calls to it, including such
277 # things as note notifying or userfile saving, are affected by this.
278 # For example:
279 #
280 # set hourly_updates 15
281 #
282 # The bot will save its userfile 15 minutes past every hour.
283 set hourly_updates 00
284
285 # Un-comment the next line and set the list of owners of the bot.
286 # You NEED to change this setting.
287 #set owner "MrLame, MrsLame"
288
289 # Who should a note be sent to when new users are learned?
290 set notify_newusers "$owner"
291
292 # Enter the flags that all new users should get by default. See '.help whois'
293 # on the partyline for a list of flags and their descriptions.
294 set default_flags "hp"
295
296 # Enter all user-defined fields that should be displayed in a '.whois'.
297 # This will only be shown if the user has one of these extra fields.
298 # You might prefer to comment this out and use the userinfo1.0.tcl script
299 # which provides commands for changing all of these.
300 set whois_fields "url birthday"
301
302 # Enable this setting if you want your Eggdrop to die upon receiving a SIGHUP
303 # kill signal. Otherwise, the Eggdrop will just save its userfile and rehash.
304 set die_on_sighup 0
305
306 # Enable this setting if you want your Eggdrop to die upon receiving a SIGTERM
307 # kill signal. Otherwise, the Eggdrop will just save its userfile and rehash.
308 set die_on_sigterm 1
309
310 # Comment these two lines if you wish to enable the .tcl and .set commands.
311 # If you select your owners wisely, you should be okay enabling these.
312 unbind dcc n tcl *dcc:tcl
313 unbind dcc n set *dcc:set
314
315 # Comment out this line to add the 'simul' partyline command (owners can
316 # manipulate other people on the party line). Please select owners wisely
317 # and use this command ethically!
318 unbind dcc n simul *dcc:simul
319
320 # Set here the maximum number of dcc connections you will allow. You can
321 # increase this later, but never decrease it.
322 set max_dcc 50
323
324 # If your Eggdrop rejects bots that actually have already disconnected from
325 # another hub, but the disconnect information has not yet spread over the
326 # botnet due to lag, use this setting. The bot will wait dupwait_timeout
327 # seconds before it checks again and then finally reject the bot.
328 set dupwait_timeout 5
329
330 # You MUST remove this line for your bot to start. This has been added to
331 # prevent you from starting up a bot that is not fully configured. Bots
332 # that have not been fully configured may join the wrong IRC network, the
333 # wrong channels, or generally do things that you do not want. Please make
334 # sure that you have double-checked every setting. There's also a similar line
335 # lower down, just to make sure you're reading :)
336 die "Please make sure you edit your config file completely."
337
338
339 ########## MODULES ##########
340
341 # Below are various settings for the modules included with Eggdrop.
342 # PLEASE READ AND EDIT THEM CAREFULLY, even if you're an old hand at
343 # Eggdrop, things change.
344
345 # This path specifies the path were Eggdrop should look for its modules.
346 # If you run the bot from the compilation directory, you will want to set
347 # this to "". If you use 'make install' (like all good kiddies do ;), this
348 # is a fine default. Otherwise, use your head :)
349 set mod_path "modules/"
350
351
352 ##### CHANNELS MODULE #####
353
354 # This module provides channel related support for the bot. Without it,
355 # you won't be able to make the bot join a channel or save channel
356 # specific userfile information.
357 #loadmodule channels
358
359 # Enter here the filename where dynamic channel settings are stored.
360 set chanfile "LamestBot.chan"
361
362 # Set this setting to 1 if you want your bot to expire bans/exempts/invites set
363 # by other opped bots on the channel.
364 set force_expire 0
365
366 # Set this setting to 1 if you want your bot to share user greets with other
367 # bots on the channel if sharing user data.
368 set share_greet 0
369
370 # Set this setting to 1 if you want to allow users to store an info line.
371 set use_info 1
372
373 # The following settings are used as default values when you .+chan #chan or .tcl
374 # channel add #chan. Look in the section below for explanation of every option.
375 set global_aop_delay 5:30
376 set global_chanmode "nt"
377 set global_ban_time 120
378 set global_exempt_time 60
379 set global_invite_time 60
380
381 set global-chanset {
382 -autoop -autovoice
383 +cycle +dontkickops
384 +dynamicbans +dynamicexempts
385 +dynamicinvites -enforcebans
386 +greet -inactive
387 -nodesynch -secret
388 +shared +statuslog
389 +honor-global-bans +honor-global-invites
390 +honor-global-exempts
391 }
392
393 # Add each static channel you want your bot to sit in using the following
394 # command. There are many different possible settings you can insert into
395 # this command, which are explained below.
396 #
397 # channel add #lamest {
398 # chanmode "+nt-likm"
399 # ban_time 120
400 # exempt_time 60
401 # invite_time 60
402 # aop_delay 5:30
403 # }
404 #
405 # chanmode +/-<modes>
406 # This setting makes the bot enforce channel modes. It will always add
407 # the +<modes> and remove the -<modes> modes.
408 #
409 # ban_time 120
410 # Set here how long temporary bans will last (in minutes). If you
411 # set this setting to 0, the bot will never remove them.
412 #
413 # exempt_time 60
414 # Set here how long temporary exempts will last (in minutes). If you
415 # set this setting to 0, the bot will never remove them. The bot will
416 # check the exempts every X minutes, but will not remove the exempt if
417 # a ban is set on the channel that matches that exempt. Once the ban is
418 # removed, then the exempt will be removed the next time the bot checks.
419 # Please note that this is an IRCnet feature.
420 #
421 # invite_time 60
422 # Set here how long temporary invites will last (in minutes). If you
423 # set this setting to 0, the bot will never remove them. The bot will
424 # check the invites every X minutes, but will not remove the invite if
425 # a channel is set to +i. Once the channel is -i then the invite will be
426 # removed the next time the bot checks. Please note that this is an IRCnet
427 # feature.
428 #
429 # aop_delay (minimum:maximum)
430 # This is used for autoop, autohalfop, autovoice. If an op or voice joins a
431 # channel while another op or voice is pending, the bot will attempt to put
432 # both modes on one line.
433 # aop_delay 0 No delay is used.
434 # aop_delay X An X second delay is used.
435 # aop_delay X:Y A random delay between X and Y is used.
436 #
437 # There are many different options for channels which you can
438 # define. They can be enabled or disabled using the channel set command by a
439 # plus or minus in front of them.
440 #
441 # channel set #lamest +enforcebans +dynamicbans +dynamicexempts -autoop
442 # channel set #lamest +statuslog +dontkickops +autovoice +honor-global-bans
443 # channel set #lamest +honor-global-exempts +greet +honor-global-invites
444 # channel set #lamest +dynamicinvites -secret -shared +cycle
445 #
446 # A complete list of all available channel settings:
447 #
448 # enforcebans
449 # When a ban is set, kick people who are on the channel and match
450 # the ban?
451 #
452 # dynamicbans
453 # Only activate bans on the channel when necessary? This keeps
454 # the channel's ban list from getting excessively long. The bot
455 # still remembers every ban, but it only activates a ban on the
456 # channel when it sees someone join who matches that ban.
457 #
458 # dynamicexempts
459 # Only activate exempts on the channel when necessary? This keeps
460 # the channel's exempt list from getting excessively long. The bot
461 # still remembers every exempt, but it only activates a exempt on
462 # the channel when it sees a ban set that matches the exempt. The
463 # exempt remains active on the channel for as long as the ban is
464 # still active.
465 #
466 # dynamicinvites
467 # Only activate invites on the channel when necessary? This keeps
468 # the channel's invite list from getting excessively long. The bot
469 # still remembers every invite, but the invites are only activated
470 # when the channel is set to invite only and a user joins after
471 # requesting an invite. Once set, the invite remains until the
472 # channel goes to -i.
473 #
474 # autoop
475 # Op users with the +o flag as soon as they join the channel?
476 # This is insecure and not recommended.
477 #
478 # greet
479 # Say a user's info line when they join the channel?
480 #
481 # statuslog
482 # Log the channel status line every 5 minutes? This shows the bot's
483 # status on the channel (op, voice, etc.), The channel's modes, and
484 # the number of +m/+o/+v/+n/+b/+e/+I users on the channel. A sample
485 # status line follows:
486 #
487 # [01:40] @#lamest (+istn) : [m/1 o/1 v/4 n/7 b/1 e/5 I/7]
488 #
489 # autovoice
490 # Voice users with the +v flag when they join the channel?
491 #
492 # secret
493 # Prevent this channel from being listed on the botnet?
494 #
495 # shared
496 # Share channel-related user info for this channel?
497 #
498 # cycle
499 # Cycle the channel when it has no ops?
500 #
501 # dontkickops
502 # Do you want the bot not to be able to kick users who have the +o
503 # flag, letting them kick-flood for instance to protect the channel
504 # against clone attacks.
505 #
506 # inactive
507 # This prevents the bot from joining the channel (or makes it leave
508 # the channel if it is already there). It can be useful to make the
509 # bot leave a channel without losing its settings, channel-specific
510 # user flags, channel bans, and without affecting sharing.
511 #
512 # nodesynch
513 # Allow non-ops to perform channel modes? This can stop the bot from
514 # fighting with services such as ChanServ, or from kicking IRCops when
515 # setting channel modes without having ops.
516 #
517 # honor-global-bans
518 # Should global bans apply to this channel?
519 #
520 # honor-global-exempts
521 # Should global exempts apply to this channel?
522 #
523 # honor-global-invites
524 # Should global invites apply to this channel?
525 #
526 # Here is a shorter example:
527 #
528 # channel add #botcentral {
529 # chanmode "+mntisl 1"
530 # }
531 # channel set #botcentral +enforcebans -greet
532
533
534 #### SERVER MODULE ####
535
536 # This module provides the core server support. You have to load this
537 # if you want your bot to come on IRC. Not loading this is equivalent
538 # to the old NO_IRC define.
539 loadmodule server
540
541 # Uncomment and edit one of the folowing files for network specific
542 # features.
543 source nettype/custom.server.conf
544 #source nettype/dalnet.server.conf
545 #source nettype/efnet.server.conf
546 #source nettype/hybridefnet.server.conf
547 #source nettype/ircnet.server.conf
548 #source nettype/undernet.server.conf
549
550 # Set the nick the bot uses on IRC.
551 set nick "Lamestbot"
552
553 # Set the alternative nick which the bot uses on IRC if the nick specified
554 # by 'set nick' is unavailable. All '?' characters will be replaced by random
555 # numbers.
556 set altnick "Llamab?t"
557
558 # Set what should be displayed in the real-name field for the bot on IRC.
559 set realname "/msg LamestBot hello"
560
561 # This is a Tcl script to be run when connecting to a server.
562 bind event - init-server event:init_server
563
564 proc event:init_server {type} {
565 global botnick
566 putserv -quick "MODE $botnick +i-ws"
567 }
568
569 # Set the default port which should be used if none is specified with
570 # '.jump' or in 'set servers'.
571 set default_port 6667
572
573 # This is the bot's server list. The bot will start at the first server listed,
574 # and cycle through them whenever it gets disconnected. You need to change these
575 # servers to YOUR network's servers.
576 #
577 # Format:
578 # server_add <host> [port] [pass]
579 #
580 # Both the port and password fields are optional; however, if you want to set a
581 # password you must also set a port. If a port isn't specified it will default to
582 # your default_port setting.
583
584 server_add "hostname.without.port"
585 server_add "hostname.with.port" 6668
586 server_add "hostname.with.port.and.pass" 6669 "somepass"
587 server_add "IPv6:server:with:port:and:pass" 6667 "mypass"
588 server_add "1.2.3.4" 6660
589
590 # This setting makes the bot try to get his original nickname back if its
591 # primary nickname is already in use.
592 set keep_nick 1
593
594 # Set this to 1 if you don't want your the bot to strip a leading '~' on
595 # user@hosts.
596 set strict_host 0
597
598 # This setting makes the bot squelch the error message when rejecting a DCC
599 # CHAT, SEND or message command. Normally, Eggdrop notifies the user that the
600 # command has been rejected because they don't have access. Note that sometimes
601 # IRC server operators detect bots that way.
602 set quiet_reject 1
603
604 # Set how many ctcps should be answered at once.
605 set answer_ctcp 3
606
607 # Set here how many msgs in how many seconds from one host constitutes
608 # a flood. If you set this to 0:0, msg flood protection will be disabled.
609 set flood_msg 5:60
610
611 # Set here how many ctcps in how many seconds from one host constitutes
612 # a flood. If you set this to 0:0, ctcp flood protection will be disabled.
613 set flood_ctcp 3:60
614
615 # This setting defines how long Eggdrop should wait before moving from one
616 # server to another on disconnect. If you set 0 here, Eggdrop will not wait
617 # at all and will connect instantly. Setting this too low could result in
618 # your bot being K:Lined.
619 set server_cycle_wait 60
620
621 # Set here how long Eggdrop should wait for a response when connecting to a
622 # server before giving up and moving on to next server.
623 set server_timeout 60
624
625 # Set this to 1 if Eggdrop should check for stoned servers? (where the server
626 # connection has died, but Eggdrop hasn't been notified yet).
627 set check_stoned 1
628
629 # Set here the maximum number of lines to queue to the server. If you're
630 # going to dump large chunks of text to people over IRC, you will probably
631 # want to raise this. 300 is fine for most people though.
632 set max_queue_msg 300
633
634 # If you want Eggdrop to trigger binds for ignored users, set this to 1.
635 set trigger_on_ignore 0
636
637 # This optimizes the kick queue. It also traces nick changes and parts in
638 # the channel and changes the kick queue accordingly. There are three
639 # different options for this setting:
640 # 0 = Turn it off.
641 # 1 = Optimize the kick queue by summarizing kicks.
642 # 2 = Trace nick changes and parts on the channel and change the queue
643 # accordingly. For example, bot will not try to kick users who have
644 # already parted the channel.
645 # ATTENTION: Setting 2 is very CPU intensive.
646 set optimize_kicks 1
647
648 # If your network supports more recipients per command then 1, you can
649 # change this behavior here. Set this to the number of recipients per
650 # command, or set this to 0 for unlimited.
651 set stack_limit 4
652
653
654 #### CTCP MODULE ####
655
656 # This module provides the normal ctcp replies that you'd expect.
657 # Without it loaded, CTCP CHAT will not work. The server module
658 # is required for this module to function.
659 #loadmodule ctcp
660
661 # Set here how the ctcp module should answer ctcps. There are 3 possible
662 # operating modes:
663 # 0: Normal behavior is used.
664 # 1: The bot ignores all ctcps, except for CHAT and PING requests
665 # by users with the +o flag.
666 # 2: Normal behavior is used, however the bot will not answer more
667 # than X ctcps in Y seconds (defined by 'set flood_ctcp').
668 set ctcp_mode 0
669
670
671 ##### IRC MODULE #####
672
673 # This module provides basic IRC support for your bot. You have to
674 # load this if you want your bot to come on IRC. The server and channels
675 # modules must be loaded for this module to function.
676 #loadmodule irc
677
678 # Uncomment and edit one of the folowing files for network specific
679 # features.
680 source nettype/custom.irc.conf
681 #source nettype/dalnet.irc.conf
682 #source nettype/efnet.irc.conf
683 #source nettype/hybridefnet.irc.conf
684 #source nettype/ircnet.irc.conf
685 #source nettype/undernet.irc.conf
686
687 # Set this to 1 if you want to bounce all server bans.
688 set bounce_bans 1
689
690 # Set this to 1 if you want to bounce all server modes.
691 set bounce_modes 0
692
693 # If you want people to be able to add themselves to the bot's userlist
694 # with the default userflags (defined above in the config file) via the
695 # 'hello' msg command, set this to 1.
696 set learn_users 0
697
698 # Set here the time (in seconds) to wait for someone to return from a netsplit
699 # (i.e. wasop will expire afterwards). Set this to 1500 on IRCnet since its
700 # nick delay stops after 30 minutes.
701 set wait_split 600
702
703 # Set here the time (in seconds) that someone must have been off-channel
704 # before re-displaying their info line.
705 set wait_info 180
706
707 # Set this to the maximum number of bytes to send in the arguments
708 # of modes sent to the server. Most servers default this to 200.
709 set mode_buf_length 200
710
711 # Many IRCops find bots by seeing if they reply to 'hello' in a msg.
712 # You can change this to another word by un-commenting the following
713 # two lines and changing "myword" to the word wish to use instead of
714 # 'hello'. It must be a single word.
715 #unbind msg - hello *msg:hello
716 #bind msg - myword *msg:hello
717
718 # Many takeover attempts occur due to lame users blindly /msg ident'ing to
719 # the bot and attempting to guess passwords. We now unbind this command by
720 # default to discourage them. You can enable this commands by commenting the
721 # following line.
722 unbind msg - ident *msg:ident
723
724 # If you are so lame you want the bot to display peoples info lines, even
725 # when you are too lazy to add their chanrecs to a channel, set this to 1.
726 # *NOTE* This means *every* user with an info line will have their info
727 # line displayed on EVERY channel they join (provided they have been gone
728 # longer than wait_info).
729 set no_chanrec_info 0
730
731
732 #### TRANSFER MODULE ####
733
734 # The transfer module provides dcc send/get support and userfile transfer
735 # support for userfile sharing. Un-comment the next line to load it if you
736 # need this functionality.
737 #loadmodule transfer
738
739 # Set here the maximum number of simultaneous downloads to allow for
740 # each user.
741 set dcc_limit 3
742
743 # Set here the block size for dcc transfers. ircII uses 512 bytes,
744 # but admits that it may be too small. 1024 is standard these days.
745 # 0 is turbo-dcc (recommended).
746 set dcc_block 0
747
748 # Enable this setting if you want to copy files into the /tmp directory
749 # before sending them. This is useful on most systems for file stability,
750 # but if your directories are NFS mounted, it's a pain, and you'll want
751 # to set this to 0. If you are low on disk space, you may also want to
752 # set this to 0.
753 set copy_to_tmp 1
754
755 # Set here the time (in seconds) to wait before an inactive transfer times out.
756 set xfer_timeout 30
757
758
759 #### SHARE MODULE ####
760
761 # This module provides userfile sharing support between two directly
762 # linked bots. The transfer and channels modules are required for this
763 # module to correctly function. Un-comment the following line to load
764 # the share module.
765 #loadmodule share
766
767 # Settings in this section must be un-commented before setting.
768
769 # When two bots get disconnected, this setting allows them to create a
770 # resync buffer which saves all changes done to the userfile during
771 # the disconnect. When they reconnect, they will not have to transfer
772 # the complete user file, but, instead, just send the resync buffer.
773 #
774 # NOTE: This has been known to cause loss of channel flags and other
775 # problems. Using this setting is not recommended.
776 #set allow_resync 0
777
778 # This setting specifies how long to hold another bots resync data
779 # before flushing it.
780 #set resync_time 900
781
782 # When sharing user lists, DON'T ACCEPT global flag changes from other bots?
783 # NOTE: The bot will still send changes made on the bot, it just won't accept
784 # any global flag changes from other bots.
785 #set private_global 0
786
787 # When sharing user lists, if private_global isn't set, which global flag
788 # changes from other bots should be ignored?
789 #set private_globals "mnot"
790
791 # When sharing user lists, don't accept ANY userfile changes from other
792 # bots? Paranoid people should use this feature on their hub bot. This
793 # will force all userlist changes to be made via the hub.
794 #set private_user 0
795
796 # This setting makes the bot discard its own bot records in favor of
797 # the ones sent by the hub.
798 # NOTE: No passwords or botflags are shared, only ports and
799 # address are added to sharing procedure. This only works with hubs that
800 # are v1.5.1 or higher.
801 #set override_bots 0
802
803
804 #### COMPRESS MODULE ####
805
806 # This module provides provides support for file compression. This allows the
807 # bot to transfer compressed user files and therefore save a significant amount
808 # of bandwidth. The share module must be loaded to load this module. Un-comment
809 # the following line to the compress module.
810 #loadmodule compress
811
812 # Allow compressed sending of user files? The user files are compressed with
813 # the compression level defined in `compress_level'.
814 set share_compressed 1
815
816 # This is the default compression level used.
817 #set compress_level 9
818
819
820 #### FILESYSTEM MODULE ####
821
822 # This module provides an area within the bot where users can store
823 # files. With this module, the bot is usable as a file server. The
824 # transfer module is required for this module to function. Un-comment
825 # the following line to load the filesys module.
826 #loadmodule filesys
827
828 # Set here the 'root' directory for the file system.
829 set files_path "/home/mydir/filesys"
830
831 # If you want to allow uploads, set this to the directory uploads
832 # should be put into. Set this to "" if you don't want people to
833 # upload files to your bot.
834 set incoming_path "/home/mydir/filesys/incoming"
835
836 # If you don't want to have a central incoming directory, but instead
837 # want uploads to go to the current directory that a user is in, set
838 # this setting to 1.
839 set upload_to_pwd 0
840
841 # Eggdrop creates a '.filedb' file in each subdirectory of your file area
842 # to keep track of its own file system information. If you can't do that (for
843 # example, if the dcc path isn't owned by you, or you just don't want it to do
844 # that) specify a path here where you'd like all of the database files to be
845 # stored instead.
846 set filedb_path ""
847
848 # Set here the maximum number of people that can be in the file area at once.
849 # Setting this to 0 makes it effectively infinite.
850 set max_file_users 20
851
852 # Set here the maximum allowable file size that will be received (in kb).
853 # Setting this to 0 makes it effectively infinite.
854 set max_filesize 1024
855
856
857 #### NOTES MODULE ####
858
859 # This module provides support for storing of notes for users from each other.
860 # Note sending between currently online users is supported in the core, this is
861 # only for storing the notes for later retrieval.
862 #loadmodule notes
863
864 # Set here the filename where private notes between users are stored.
865 set notefile "LamestBot.notes"
866
867 # Set here the maximum number of notes to allow to be stored for each user
868 # (to prevent flooding).
869 set max_notes 50
870
871 # Set here how long (in days) to store notes before expiring them.
872 set note_life 60
873
874 # Set this to 1 if you want to allow users to specify a forwarding address
875 # for forwarding notes to another account on another bot.
876 set allow_fwd 0
877
878 # Set this to 1 if you want the bot to let people know hourly if they have
879 # any notes.
880 set notify_users 1
881
882 # Set this to 1 if you want the bot to let people know on join if they have
883 # any notes.
884 set notify_onjoin 1
885
886 # Comment out this next line. Otherwise, your bot won't start.
887 die "You didn't edit your config file completely like you were told, did you?"
888
889
890 #### CONSOLE MODULE ####
891
892 # This module provides storage of console settings when you exit the bot or
893 # type .store on the partyline.
894 #loadmodule console
895
896 # Save users console settings automatically? Otherwise, they have to use the
897 # .store command.
898 set console_autosave 1
899
900 # If a user doesn't have any console settings saved, which channel do you want
901 # them automatically put on?
902 set force_channel 0
903
904 # Enable this setting if a user's global info line should be displayed when
905 # they join a botnet channel.
906 set info_party 0
907
908
909 #### BLOWFISH MODULE ####
910
911 # IF YOU DON'T READ THIS YOU MAY RENDER YOUR USERFILE USELESS LATER
912 # Eggdrop encrypts its userfile, so users can have secure passwords.
913 # Please note that when you change your encryption method later (i.e.
914 # using other modules like a md5 module), you can't use your current
915 # userfile anymore. Eggdrop will not start without an encryption module.
916 #loadmodule blowfish
917
918
919 #### UPTIME MODULE ####
920
921 # This module reports uptime statistics to http://uptime.eggheads.org.
922 # Go look and see what your uptime is! It takes about 9 hours to show up,
923 # so if your bot isn't listed, try again later. The server module must be
924 # loaded for this module to function.
925 #
926 # Information sent to the server includes the bot's uptime, name, server,
927 # version, and IP address. This information is stored in a temporary logfile
928 # for debugging purposes only. The only publicly available information will
929 # be the bot's name, version and uptime. If you do not wish for this
930 # information to be sent, comment out the following line.
931 #loadmodule uptime
932
933
934 ##### SCRIPTS #####
935
936 # This is a good place to load scripts to use with your bot.
937
938 # This line loads script.tcl from the scripts directory inside your Eggdrop's
939 # directory. All scripts should be put there, although you can place them where
940 # you like as long as you can supply a fully qualified path to them.
941 #
942 # source scripts/script.tcl
943
944 source scripts/alltools.tcl
945 source scripts/action.fix.tcl
946
947 # Use this script for Tcl and Eggdrop downwards compatibility.
948 # NOTE: This can also cause problems with some newer scripts.
949 source scripts/compat.tcl
950
951 # This script provides many useful informational functions, like setting
952 # users' URLs, e-mail address, ICQ numbers, etc. You can modify it to add
953 # extra entries.
954 source scripts/userinfo.tcl
955 loadhelp userinfo.help

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23