/[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.41 - (show annotations) (download)
Wed Feb 13 05:22:59 2002 UTC (17 years, 9 months ago) by wcc
Branch: MAIN
Changes since 1.40: +2 -1 lines
Minor config file doc update.

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

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23