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

Contents of /eggdrop1.6/eggdrop.conf

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


Revision 1.58 - (show annotations) (download)
Mon Nov 23 09:42:01 2009 UTC (9 years, 6 months ago) by pseudo
Branch: MAIN
Changes since 1.57: +7 -1 lines
Introduced new config variable allow-ps to allow chanmode optionally enforce both +ps at the same time.
Fixes Bugzilla Bug # 414  "channel modes +s and +p on ts5 network"

Found by: Ofloo / Patch by: pseudo

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

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23