/[cvs]/eggdrop1.6/eggdrop.advanced.conf
ViewVC logotype

Contents of /eggdrop1.6/eggdrop.advanced.conf

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


Revision 1.47 - (show annotations) (download)
Sat Mar 23 17:27:51 2002 UTC (17 years, 6 months ago) by wcc
Branch: MAIN
Changes since 1.46: +2 -2 lines
* fixed a few config file problems

* chattr's description in tcl-commands.doc was unclear relating to
  channel-specific flag changes

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

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23