/[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.52 - (show annotations) (download)
Thu Jul 25 20:44:55 2002 UTC (17 years, 2 months ago) by wcc
Branch: MAIN
CVS Tags: eggdrop1_6_11
Changes since 1.51: +15 -31 lines
More halfop doc updates.

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

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23