/[cvs]/eggdrop-alpha/eggdrop.complete.conf
ViewVC logotype

Contents of /eggdrop-alpha/eggdrop.complete.conf

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


Revision 1.2 - (show annotations) (download)
Fri Jan 26 16:43:39 2001 UTC (19 years, 4 months ago) by tothwolf
Branch: MAIN
Changes since 1.1: +5 -6 lines
*** empty log message ***

1 #! /path/to/executable/eggdrop
2 # ^- set that to the directory eggdrop is in ie "#! /home/lamest/egg/eggdrop"
3 #
4 # $Id: eggdrop.complete.conf,v 1.1.1.1 2001/01/22 04:36:48 tothwolf Exp $
5 #
6 # this config file includes all possible options you can
7 # use to configure your bot properly.
8 # be sure that you know what you are doing!
9 #
10 # more detailed descriptions of all those settings can be found in
11 # doc/settings/
12
13
14 ##### GENERAL STUFF #####
15
16 # the username the bot uses, this is only used if identd isn't working
17 # on the machine the bot is running on.
18 set username "lamest"
19
20 # who's running this bot?
21 set admin "Lamer <email: lamer@lamest.lame.org>"
22
23 # what IRC network are you on? this is just info to share with others on
24 # your botnet, for human curiosity only.
25 set network "I.didnt.edit.my.config.file.net"
26
27 # what timezone is your bot in?
28 # The timezone string specifies the name of the timezone and
29 # must be three or more alphabetic characters.
30 # ex. Central European Time(UTC+1) could be "CET"
31 set timezone "EST"
32
33 # offset specifies the time value to be added to the local time
34 # to get Coordinated Universal Time (UTC aka GMT).
35 # The offset is positive if the local timezone is west of the
36 # Prime Meridian and negative if it is east.
37 # The value(hours) must be between 0 and 24
38 # ex. if the timezone is UTC+1 the offset is -1
39 set offset "5"
40
41 # If you dont want to use the timezone setting for scripting
42 # purpose only but instead everywhere possible (new) then
43 # uncomment the next line.
44 #set env(TZ) "$timezone $offset"
45
46 # if you're using virtual hosting (your machine has more than 1 IP), you
47 # may want to specify the particular IP to bind to. you can specify
48 # either by hostname or by IP. you may also want to set the hostname
49 # here if eggdrop has trouble detecting it when it starts up. (it will
50 # let you know if it has trouble -- trust me.)
51 #set my-hostname "virtual.host.com"
52 #set my-ip "99.99.0.0"
53
54 # if you want to have your eggdrop messages displayed in another language
55 # change the below command to match your preferences. An alternative would
56 # be to set the environment variabel EGG_LANG to that value.
57 #addlang "english"
58
59
60 ##### LOG FILES #####
61
62 # you can specify how many log files you can have upto. at midnight every
63 # day, the old log files are renamed and a new log file begins. by default,
64 # the old one is called "(logfilename).yesterday", and any logfiles before
65 # yesterday are erased.
66
67 # events are logged by certain categories -- this way you can specify
68 # exactly what kind of events you want sent to various logfiles. the
69 # events are:
70 # m private msgs/ctcps to the bot
71 # k kicks, bans, mode changes on the channel
72 # j joins, parts, netsplits on the channel
73 # p public chatter on the channel
74 # s server connects/disconnects/notices
75 # b information about bot linking and userfile sharing
76 # c commands people use (via msg or dcc)
77 # x file transfers and file-area commands
78 # r (if use-console-r defined) EVERYTHING sent to the bot by the server
79 # o other: misc info, errors -- IMPORTANT STUFF
80 # w wallops: msgs between IRCops (be sure to set the bot +w in init-server)
81 # There are others, but you probably shouldnt log them, it'd be rather
82 # unethical ;)
83
84 # maximum number of logfiles to allow - this can be increased if needed
85 # (don't decrease this)
86 set max-logs 5
87
88 # maximum size of your logfiles, set this to 0 to disable.
89 # this only works if you have keep-all-logs 0 (OFF)
90 # this value is in KiloBytes, so '550' would mean cycle logs when
91 # it reaches the size of 550 KiloBytes.
92 set max-logsize 0
93
94 # write the logfiles and check the size every minute
95 # (if max-logsize is enabled) instead of every 5minutes as before.
96 # This could be good if you have had problem with the
97 # logfile filling your quota or hdd or if you log +p
98 # and publish it on the web and wants more uptodate info.
99 # If you are concerned with resources keep the default setting 0.
100 # (although I haven't noticed anything)
101 set quick-logs 0
102
103 # each logfile also belongs to a certain channel. events of type 'k', 'j',
104 # and 'p' are logged to whatever channel they happened on. most other
105 # events are currently logged to every channel. you can make a logfile
106 # belong to all channels by assigning it to channel "*". there are also
107 # five user-defined levels ('1'..'5') which are used by Tcl scripts.
108
109 # in 'eggdrop.log' put private msgs/ctcps, commands, misc info, and
110 # errors from any channel:
111 logfile mco * "logs/eggdrop.log"
112 # in 'lame.log' put joins, parts, kicks, bans, and mode changes from #lamest:
113 logfile jk #lamest "logs/lamest.log"
114
115 # [0/1] timestamp entries in the log file? (generally a good idea)
116 set log-time 1
117
118 # [0/1] keep logfiles for more than 48 hours -- instead of being called
119 # "(logfilename).yesterday", the log files are named by the current date,
120 # and kept around forever (eventually your directory might get full, so
121 # be careful with this!)
122 set keep-all-logs 0
123
124 # if keep-all-logs is 1, this setting will define the suffix of the logfiles.
125 # The default will result in a suffix like "04May2000". "%Y%m%d" will produce
126 # the often used yyyymmdd format. Read the strtime manpages for more options.
127 # NOTE: On systems which don't support strftime, the default format will
128 # be used _always_.
129 set logfile-suffix ".%d%b%Y"
130
131 # once a day the logfiles are switched out and started fresh --
132 # this specifies when that should happen (in military time)
133 # [note that a leading 0 will make Tcl think this is an octal value,
134 # something you probably don't want.]
135 set switch-logfiles-at 300
136
137 # [0/1] enable quiet saves? "Writing user file..." and "Writing channel file ..."
138 # will not be logged if this option is enabled.
139 set quiet-save 0
140
141 # this is the default console mode -- what masters will see automatically
142 # when they dcc chat with the bot (masters can alter their own console
143 # flags once they connect, though) -- it uses the same event flags as
144 # the log files
145 # (note that the console channel is automatically set to your "primary"
146 # channel -- the one you defined first in this file. masters can change
147 # their console channel with the '.console' command, however.)
148 set console "mkcobxs"
149
150
151 ##### FILES AND DIRECTORIES #####
152
153 # the userfile: where user records are stored
154 set userfile "LamestBot.user"
155
156 # [0/1] do you want the userlist to be sorted when saving
157 set sort-users 0
158
159 # where the help files can be found (and there are plenty)
160 set help-path "help/"
161
162 # a good place to temporarily store files (ie: /tmp)
163 set temp-path "/tmp"
164
165 # the MOTD is displayed when people dcc chat to the bot.
166 # type '.help set motd' in DCC CHAT for tons of motd options.
167 set motd "text/motd"
168
169 # holds the banner displayed on telnet connections
170 set telnet-banner "text/banner"
171
172 # Specifies what permissions the user, channel and notes files should be set
173 # to. The octal values are the same as for the chmod system command.
174 #
175 # u g o u g o u g o
176 # 0600 rw------- 0400 r-------- 0200 -w------- u - user
177 # 0660 rw-rw---- 0440 r--r----- 0220 -w--w---- g - group
178 # 0666 rw-rw-rw- 0444 r--r--r-- 0222 -w--w--w- o - others
179 #
180 # Most users will want to leave the permissions set to 0600, to ensure
181 # maximum security.
182 set userfile-perm 0600
183
184 ##### BOTNET #####
185
186 # you probably shouldn't deal with this until reading 'botnet.doc' or
187 # something. you need to know what you're doing.
188
189 # if you want to use a different nickname on the botnet than you use on
190 # IRC, set it here:
191 #set botnet-nick "LlamaBot"
192
193 # what telnet port should this bot answer?
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 # if you would rather have one port for the botnet, and one for normal
197 # users, you will want something like this instead:
198 #listen 3333 bots
199 #listen 4444 users
200 # NOTE: there are more options listed for the listen command in
201 # doc/tcl-commands.doc
202 listen 3333 all
203
204 # [0/1] This setting will drop telnet connections not matching a known host
205 # It greatly improves protection from IRCOPs, but makes it impossible
206 # for NOIRC bots to add hosts or have NEW as a valid login
207 set protect-telnet 0
208
209 # [0/1] This setting will make the bot ignore DCC chat requests which appear to
210 # have bogus information on the grounds that the user may have been trying
211 # to make the bot connect to somewhere that will get it into trouble, or
212 # that the user has a broken client (like mIRC tends to do), in which case
213 # the connect wouldn't work anyway. It's suggested that you turn this on.
214 set dcc-sanitycheck 0
215
216 # and a timeout value for ident lookups would help (seconds)
217 set ident-timeout 5
218
219 # [0/1] users with the +o (global or channel op) flag will still need the +p
220 # (party line) flag to join the dcc chat party line?
221 set require-p 0
222
223 # [0/1] allow people to telnet in, type 'NEW', and become a new user?
224 # (If you set this to 1, you must set protect-telnet 0)
225 set open-telnets 0
226
227 # [0/1] Display 'Nickname.' instead of identifying ourselves when people
228 # telnet in. Set to 1 to only display Nickname.
229 # (useful if someone portscans your machine, they wont know we're here)
230 set stealth-telnets 0
231
232 # [0/1] Display a banner when people telnet in.
233 set use-telnet-banner 0
234
235 # how long (in seconds) should i wait for a connect (dcc chat, telnet,
236 # relay, etc) before it times out?
237 set connect-timeout 15
238
239 # number of messages / lines from a user on the partyline (dcc, telnet) before
240 # they are considered to be flooding (and therefore get booted)
241 set dcc-flood-thr 3
242
243 # how many telnet connection attempt in how many seconds from the same
244 # host constitutes a flood?
245 set telnet-flood 5:60
246
247 # [0/1] apply telnet flood protection for everyone?
248 # set this to 0 if you want to exempt +f users from telnet flood protection
249 set paranoid-telnet-flood 1
250
251 # how long should I wait (seconds) before giving up on hostname/address
252 # lookup? (you might want to increase this if you are on a slow network).
253 set resolve-timeout 15
254
255
256 ##### MORE ADVANCED STUFF #####
257
258 # are you behind a firewall? uncomment this and specify your socks host
259 #set firewall "proxy:178"
260 # or, for a Sun "telnet passthru" firewall, set it this way
261 # (does anyone besides Sun use this?)
262 #set firewall "!sun-barr.ebay:3666"
263
264 # if you have a NAT firewall (you box has an IP in one of the following
265 # ranges: 192.168.0.0-192.168.255.255, 172.16.0.0-172.31.255.255,
266 # 10.0.0.0-10.255.255.255 and your firewall transparently changes your
267 # address to a unique address for your box.) or you have IP masquerading
268 # between you and the rest of the world, and /dcc chat,/ctcp chat or
269 # userfile shareing aren't working. Enter your outside IP here.
270 # Do not enter anything for my-ip or my-hostname.
271 #set nat-ip "127.0.0.1"
272
273 # if you want all dcc file transfers to use a particular portrange either
274 # because you're behind a firewall, or for other security reasons, set it
275 # here.
276 #set reserved-portrange 2010:2020
277
278 # temporary ignores will last how many minutes?
279 set ignore-time 15
280
281 # this setting affects what part of the hour the 'hourly' calls occur
282 # on the bot, this includes such things as note notifying,
283 # You can change that here (for example, "15" means to
284 # notify every hour at 15 minutes past the hour)
285 # this now includes when the bot will save its userfile
286 set hourly-updates 00
287
288 # if compiled with owner, the following user(s) will ALWAYS have the
289 # owner (+n) flag (You really should change this default)
290 set owner "MrLame, MrsLame"
291
292 # who should I send a note to when I learn new users?
293 set notify-newusers "$owner"
294
295 # what flags should new users get as a default?
296 # check '.help whois' on the partyline (dcc chat, telnet) for tons of
297 # options.
298 set default-flags "hp"
299
300 # what user-defined fields should be displayed in a '.whois'?
301 # this will only be shown if the user has one of these xtra fields
302 # you might prefer to comment this out and use the userinfo1.0.tcl script
303 # which provides commands for changing all of these.
304 set whois-fields "url birthday"
305
306 # [0/1/2] allow people from other bots (in your bot-net) to boot people off
307 # your bot's party line?
308 # values:
309 # 0 - allow *no* outside boots
310 # 1 - allow boots from sharebots
311 # 2 - allow any boots
312 set remote-boots 2
313
314 # [0/1] if you don't want people to unlink your share bots from remote bots
315 # set this to 0
316 set share-unlinks 1
317
318 # [0/1] die on receiving a SIGHUP?
319 # (if 0, it'll rehash instead of dying)
320 set die-on-sighup 0
321
322 # [0/1] die on receiving a SIGTERM?
323 # (if 0, it'll save userfile instead of dying)
324 set die-on-sigterm 0
325
326 # to enable the 'tcl' and 'set' command (let owners directly execute
327 # Tcl commands)? - a security risk!!
328 # If you select your owners wisely, you should be okay enabling these.
329 # to enable, comment these two lines out
330 # (In previous versions, this was enabled by default in eggdrop.h)
331 unbind dcc n tcl *dcc:tcl
332 unbind dcc n set *dcc:set
333
334 # [0/1/2] only let permanent owners use .tcl/.set if bound? then set it to 1
335 # moreover only let permanent owners use .dump? then set it to 2
336 # (the people must set the $owner variable)
337 set must-be-owner 0
338
339 # comment the following line out to add the 'simul' command (owners can
340 # manipulate other people on the party line).
341 # Please select owners wisely! Use this command ethically!
342 unbind dcc n simul *dcc:simul
343
344 # maximum number of dcc connections you will allow - you can increase this
345 # later, but never decrease it, 50 seems to be enough for everybody
346 set max-dcc 50
347
348 # this setting is so that people can't send fake ports to your bot when
349 # they try to dcc it. irc clients should never use a port below 1024 and
350 # well 65535 is the highest port possible. this setting is used for telnet
351 # too.
352 set dcc-portrange 1024:65535
353
354 # [0/1] add the 'dccsimul' tcl command (needed by certain scripts like
355 # action.fix.tcl)
356 set enable-simul 1
357
358 # [0/1] allow +d & +k users to use commands bound as -|- ?
359 set allow-dk-cmds 1
360
361 # If a bot connects which already seems to be connected, I wait
362 # dupwait-timeout seconds before I check again and then finally reject
363 # the bot. This is useful to stop hubs from rejecting bots that actually
364 # have already disconnected from another hub, but the disconnect information
365 # has not yet spread over the botnet due to lag.
366 set dupwait-timeout 5
367
368
369
370 # You MUST remove this line for this config file to work. This has been
371 # added to prevent you from starting up a bot that is not fully configured.
372 # Bots that have not been fully configured may join the wrong IRC network,
373 # the wrong channels, or generally do things that you do not want. Please
374 # make sure that you have double-checked the settings you want.
375 # There's also a similar line lower down, just to make sure you're reading :)
376
377 die "Please edit your config file."
378
379
380
381 ########## MODULES ##########
382
383 # below are various settings for the modules available with eggdrop,
384 # PLEASE EDIT THEM CAREFULLY, READ THEM, even if you're an old hand
385 # at eggdrop, lots of things have changed slightly
386
387 # this is the directory to look for the modules in, if you run the
388 # bot in the compilation directories you will want to set this to ""
389 # if you use 'make install' (like all good kiddies do ;) this is a fine
390 # default, otherwise, use your head :)
391 set mod-path "modules/"
392
393
394 #### DNS MODULE #####
395
396 # this module provides asynchronous dns support. This will avoid long
397 # periods where the bot just hangs there, waiting for a hostname to
398 # resolve, which often let it timeout on all other connections.
399 loadmodule dns
400
401 ##### CHANNELS MODULE #####
402
403 # this next module provides channel related support for the bot, without
404 # it, it will just sit on irc, it can respond to msg & ctcp commands, but
405 # that's all
406 loadmodule channels
407
408 # the chanfile: where dynamic channel settings are stored
409 set chanfile "LamestBot.chan"
410
411 # temporary bans will last how many minutes? if set to 0, bot never removes
412 # them.
413 set ban-time 120
414
415 # temporary exemptions (+e modes) will last how many minutes? if set to 0,
416 # bot never removes them. This is an IRCNET feature. The bot will check the
417 # exempts every X minutes, but will not remove the exempt if a ban is set on
418 # the channel that matches that exempt. Once the ban is removed then the
419 # exempt will be removed the next time the bot checks.
420 set exempt-time 60
421
422 # temporary invitations (+I modes) will last how many minutes? if set to
423 # 0, bot never removes them. This is an IRCNET feature. The bot will check the
424 # invites every X minutes, but will not remove them if the channel is +i. Once
425 # the channel is -i then the bot will remove then invite mode next time it
426 # checks this counter
427 set invite-time 60
428
429 # [0/1] expire bans/exempts/invites set by other opped bots on the channel?
430 # set force-expire 0
431
432 # [0/1] share user greets with other bots on the channel if sharing user data?
433 set share-greet 0
434
435 # [0/1] allow users to store an info line?
436 set use-info 1
437
438 # these settings are used as default values when you
439 # .+chan #chan or .tcl channel add #chan
440 # look in the section above for explanation on every option
441
442 set global-flood-chan 10:60
443 set global-flood-deop 3:10
444 set global-flood-kick 3:10
445 set global-flood-join 5:60
446 set global-flood-ctcp 3:60
447 set global-flood-nick 5:60
448
449 set global-aop-delay 5:30
450
451 set global-idle-kick 0
452 set global-chanmode "nt"
453 set global-stopnethack-mode 0
454 set global-revenge-mode 1
455
456 set global-chanset {
457 -autoop -autovoice
458 -bitch +cycle
459 +dontkickops +dynamicbans
460 +dynamicexempts +dynamicinvites
461 -enforcebans +greet
462 -inactive -nodesynch
463 -protectfriends +protectops
464 -revenge -revengebot
465 -secret -seen
466 +shared +statuslog
467 +userbans +userexempts
468 +userinvites
469 }
470
471 # do this for each channel you wish to sit on:
472 # NOTE: for some reason Tcl won't let you put comments inside { } -- so
473 # don't try it, cos it'll mess up your channel definition
474
475 channel add #lamest {
476 chanmode "+nt-likm"
477 idle-kick 0
478 stopnethack-mode 0
479 revenge-mode 1
480 aop-delay 5:30
481 need-op { putserv "PRIVMSG #lamest :op me cos i'm lame!" }
482 need-invite { putserv "PRIVMSG #lamest :let me in!" }
483 need-key { putserv "PRIVMSG #lamest :let me in!" }
484 need-unban { putserv "PRIVMSG #lamest :let me in!" }
485 need-limit { putserv "PRIVMSG #lamest :let me in!" }
486 flood-chan 10:60
487 flood-deop 3:10
488 flood-kick 3:10
489 flood-join 5:60
490 flood-ctcp 3:60
491 flood-nick 5:60
492 }
493
494 # the things inside the { } are CHANNEL OPTIONS -- they can be set within
495 # the "channel add" command, or by using a "channel set" command as in the
496 # examples below. they list all the options you can set for a channel.
497
498 # chanmode
499 # what modes will be enforced? '+' modes will always be kept on, '-' modes
500 # will always be kept off
501 # idle-kick
502 # kick channel members after how many minutes of being idle?
503 # (leave out to disable, or set to 0)
504
505 # stopnethack-mode
506 # de-op anyone who enters the channel with serverops
507 # 0 turn off,
508 # 1 isoptest (allow serverop if registered op),
509 # 2 wasoptest (allow serverop if op before split)
510 # 3 allow serverop if isop or wasop
511 # 4 allow serverop if isop and wasop
512 # 5 if channel -bitch: see stopnethack-mode 3
513 # if channel +bitch: see stopnethack-mode 1
514 # 6 if channel -bitch: see stopnethack-mode 2
515 # if channel +bitch: see stopnethack-mode 4
516
517 # revenge-mode
518 # defines how the bot should punish bad users when revenging.
519 # default is 1.
520 # 0 for deop
521 # 1 for deop and +d
522 # 2 for deop, +d and kick
523 # 3 for deop, chattr +d, kick and ban
524
525 # aop-delay (minimum:maximum)
526 # for autoop and autovoice
527 # aop-delay 0 no autoopdelay
528 # aop-delay x or aop-delay x:x x sec. autoopdelay
529 # aop-delay x:y random delay
530 # if a autoopped user joined during a other delayed autoop is pending,
531 # the bot will sent both autoop based on the last-joined-user-delay-time,
532 # probable in only one line.
533
534 # need-op
535 # script to run (if any) when the bot needs to be op'd on this channel
536 # need-invite
537 # script to run (if any) when the bot gets locked out of the channel
538 # because the channel is +i
539 # need-key
540 # script to run (if any) when the bot gets locked out of the channel
541 # because it doesn't have the channel key
542 # need-unban
543 # script to run (if any) when the bot gets banned from this channel
544 # need-limit
545 # script to run (if any) when the bot gets locked out of the channel
546 # because the channel limit is full
547 # flood-chan (number:seconds)
548 # how many channel messages in hom many seconds is a flood
549 # not specifying or using number = 0 will not check chan floods!
550 # flood-ctcp (number:seconds)
551 # how many channel messages in hom many seconds is a flood
552 # not specifying or using number = 0 will not check ctcp floods!
553 # flood-deop (number:seconds)
554 # how many deops in how many seconds is a mass de-op
555 # not specifying or using number = 0 will not check de-op floods!
556 # flood-kick (number:seconds)
557 # how many kicks in how many seconds is a mass kick?
558 # not specifying or using number = 0 will not check mass kicks!
559 # flood-join (number:seconds)
560 # how many joins/nick changes in how many seconds is a join flood?
561 # not specifying or using number = 0 will not check join floods!
562
563 # note that "need-op", "need-invite", etc, are limited to 120 characters,
564 # so if you want to so something more complicated, just write a proc,
565 # and make them call your proc.
566
567 # there are also a lot of options that can be turned on or off for each
568 # channel. to turn an option on, put a + in front of it. to turn it off,
569 # put a - in front of it. ie, to have auto-op, put:
570 # +autoop
571 # to turn it off, put:
572 # -autoop
573
574 # when a ban is set, kick people who are on the channel and match the
575 # new ban? (ie, they were on the channel before the ban)
576 channel set #lamest +enforcebans
577
578 # only activate bans on the channel when necessary? (this keeps the
579 # channel's ban list from getting excessively long. the bot still remem-
580 # bers every ban, but it only activates a ban on the channel when it sees
581 # someone join who matches that ban.)
582 channel set #lamest +dynamicbans
583
584 # allow bans to be made by users directly? (if turned off, the bot will
585 # require all bans to be made through the bot's console)
586 channel set #lamest +userbans
587
588 # only activate exempts on the channel when necessary? (this keeps the
589 # channel's exempt list from getting excessively long. the bot still
590 # remembers every exempt, but it only activates a exempt on the channel
591 # when it sees a ban set matching the exempt. The exempt remains active
592 # on the channel for as long as the ban is still active.
593 channel set #lamest +dynamicexempts
594
595 # allow exempts to be made by users directly? (if turned off, the bot will
596 # require all exempts to be made through the bot's console)
597 channel set #lamest +userexempts
598
599 # only activate invites on the channel when necessary? (this keeps the
600 # channel's invite list from getting excessively long. the bot still
601 # remembers every invite, but the invites are only activated when the
602 # channel is set to invite only and a user joins aftre requesting an
603 # invite. Once set the invite remains until the channel goes to -i
604 channel set #lamest +dynamicinvites
605
606 # allow invites to be made by users directly? (if turned off, the bot will
607 # require all invites to be made through the bot's console)
608 channel set #lamest +userinvites
609
610 # op users with the +o (op) flag as soon as they join the channel?
611 # (hint: this is a BAD IDEA)
612 channel set #lamest -autoop
613
614 # only let users with +o (op) flag be channel ops?
615 channel set #lamest -bitch
616
617 # say a user's info line when they join the channel?
618 channel set #lamest +greet
619
620 # re-op a user with the +o (op) flag if they get deopped?
621 channel set #lamest +protectops
622
623 # re-op a user with the +f (friend) flag if they get deopped?
624 channel set #lamest +protectfriends
625
626 # log the channel status line every 5 minutes? (some people think
627 # it's annoying; i think it's neat)
628 channel set #lamest +statuslog
629
630 # remember people who deop/kick/ban bots, valid ops or friends, and punish them?
631 # users with +f (friend) flag are exempt from revenge
632 channel set #lamest +revenge
633
634 # this works similar to revenge, but it triggers only for valid bots and
635 # allows the deop or kick of an op or friend
636 channel set #lamest +revengebot
637
638 # voice users with +v (voice) flag when they join the channel?
639 channel set #lamest +autovoice
640
641 # prevent this channel from being listed on the botnet? (for paranoid
642 # people)
643 channel set #lamest -secret
644
645 # share user channel info for this channel?
646 channel set #lamest -shared
647
648 # cycle the channel when it becomes op-less?
649 channel set #lamest +cycle
650
651 # do you want the bot not to be able to kick +o flag users ?
652 # letting them kick-flood for instance, to protect the channel agaisnt
653 # clone attacks
654 channel set #lamest +dontkickops
655
656 # prevents the bot from joining the channel (or makes it leave the channel
657 # if it is already there).
658 # Can be useful to make the bot leave a channel without loosing it's
659 # settings (flood settings, all these "channel set" settings), user flags
660 # for this channel, bans for this channel, and without affecting any
661 # sharing
662 channel set #lamest -inactive
663
664 # respond to seen requests in the channel? (seen module must be loaded)
665 channel set #lamest -seen
666
667 # allow non-ops to perform channel modes? (Stops bot from
668 # fighting with services such as ChanServ)
669 channel set #lamest +nodesynch
670
671 # here's a shorter example:
672 channel add #botcentral {
673 chanmode "+mntisl 1"
674 idle-kick 1
675 }
676 channel set #botcentral +bitch +enforcebans -greet +revenge
677
678
679 ##### SERVER MODULE #####
680
681 # this provides the core server support (removing this is equivalent to
682 # the old NO_IRC define)
683 loadmodule server
684
685 # [0/1/2/3/4/5] What is your network?
686 # 0 = Efnet (non +e/+I hybrid), 1 = IRCnet, 2 = Undernet, 3 = Dalnet,
687 # 4 = Efnet +e/+I hybrid, 5 = Others
688 set net-type 0
689
690 ##### variables:
691 # the nick of the bot, that which it uses on IRC, and on the botnet
692 # unless you specify a sperate botnet-nick
693 set nick "Lamestbot"
694
695 # an alternative nick to use if the nick specified by 'set nick' is
696 # unavailable. All '?' characters will be replaced by a random number.
697 set altnick "Llamabot"
698
699 # what to display in the real-name field for the bot
700 set realname "/msg LamestBot hello"
701
702 # script to run (if any) when first connecting to a server
703 set init-server { putserv "MODE $botnick +i-ws" }
704
705 # if no port is specified on a .jump, which port should I use?
706 set default-port 6667
707
708 # the server list -- the bot will start at the first server listed, and cycle
709 # through them whenever it's disconnected
710 # (please note: you need to change these servers to YOUR network's servers)
711 set servers {
712 you.need.to.change.this:6667
713 }
714
715 # [0/1] if the bot's nickname is changed (for example, if the intended
716 # nickname is already in use) keep trying to get the nick back?
717 set keep-nick 1
718
719 # [0/1] use /ison instead of /trace to see if our botnick is free or being
720 # used? (note: some irc admins, look for excessive use of /trace)
721 set use-ison 1
722
723 # [0/1] if this is set, a leading '~' on user@hosts WON'T be stripped off
724 set strict-host 0
725
726 # [0/1] Squelch the error message when rejecting a DCC CHAT or SEND?
727 # Normally it tells the DCC user that the CHAT or SEND has been rejected
728 # because they don't have access, but sometimes IRC server operators
729 # detect bots that way.
730 set quiet-reject 1
731
732 # [0/1] answer lower case ctcp's (non rfc compliant)
733 # mIRC will do this, most other clients will NOT
734 set lowercase-ctcp 0
735
736 # answer HOW MANY stacked ctcp's at once
737 set answer-ctcp 3
738
739 # setting any of the following with howmany == 0 will turn them off
740 # how many msgs in how many seconds from the same host constitutes a flood?
741 set flood-msg 5:60
742 # how many CTCPs in how many seconds?
743 set flood-ctcp 3:60
744
745 # [0/1] even if all the servers are down, cycle forever and keep trying to
746 # connect?
747 set never-give-up 1
748
749 # [0/1] If this setting is 0 then the eggdrop keeps a seperate list of the names
750 # irc servers call themselves, retaining what you entered in the config file.
751 # setting it to 1 will cause the bot to replace your entry with what
752 # the server actually calls itself
753 set strict-servernames 0
754
755 # number of seconds to wait between each server connect (0 = no wait)
756 # useful for preventing ircu throttling
757 # setting this too low could make your server admins *very* unhappy
758 set server-cycle-wait 60
759
760 # how many seconds to wait for a response when connecting to a server
761 # before giving up and moving on?
762 set server-timeout 15
763
764 # if the number of servers on the net gets below this number, it will
765 # jump to a new server (ie, it will assume it's on the losing end of a
766 # netsplit) -- set to 0 to turn off
767 # [most irc networks use TS or ND now, so it's to your advantage to turn
768 # this off]
769 set servlimit 0
770
771 # [0/1] check for stoned servers? (i.e. Where the server connection has
772 # died, but eggdrop hasn't been notified yet).
773 set check-stoned 1
774
775 # [0/1] enable console mode 'r'? this mode shows every raw message from the
776 # server to owners with console 'r' selected -- will take a bit more
777 # cpu.
778 # NOTE: This is a large security hole, allowing people to see mis-sent
779 # messages to the bot containing passwords
780 # This is now restricted to +n users only. Please choose your owners with care.
781 set use-console-r 0
782
783 # [0/1] enable logging of all information sent *to* a server, via console mode 'v'
784 # NOTE: This is a large security hole, allowing people to see passwords.
785 # This is now restricted to +n users only. Please choose your owners with care.
786 set debug-output 0
787
788 # [0/1] exit if the server sends a ERROR message?
789 set serverror-quit 1
790
791 # maximum number of lines to queue to the server.
792 # if you're going to dump large chunks of text to people over irc, you
793 # will probably want to raise this -- most people are fine at 300 though
794 set max-queue-msg 300
795
796 # [0/1] trigger bindings for ignored users?
797 set trigger-on-ignore 0
798
799 # [0/1] allow a msg being twice in a queue?
800 set double-mode 0
801 set double-server 0
802 set double-help 0
803
804 # [0/1/2] do you want the bot to optimize the kicking queues? Set to 2 if you
805 # want the bot to change queues if somebody parts or changes nickname.
806 # ATTENTION: Setting 2 is very CPU intensive
807 set optimize-kicks 1
808
809
810
811 ##### SERVER MODULE - net-type 5 specific features (other networks) #####
812
813 # [0/1] some nets use umode +r to mean a restricted connection. If this is your
814 # case, and you want your bot to leave restricted servers and jump to the
815 # next one on his server list, then set it to 1.
816 # Automatically set to 0 for net-type 0/2/3/4, set to 1 for net-type 1.
817 # Only use this if you set net-type 5
818 #set check-mode-r 1
819
820 # This variable sets the maximum nick length allowed on the network. Most
821 # only support 9. The maximum supported by eggdrop is 32.
822 #set nick-len 9
823
824 ##### CTCP MODULE #####
825
826 # this provides the normal ctcp replies that you'd expect *RECOMMENDED*
827 loadmodule ctcp
828
829 # several variables exist to better blend your egg in. they are
830 # ctcp-version, ctcp-finger, and ctcp-userinfo. you can use set
831 # to set them to values you like.
832
833 # [0/1/2] 0: normal behavior. 1: bot ignores all CTCPs, except for CTCP
834 # CHATs & PINGs requested by +o flag users. 2: bot doesn't answer more
835 # than C CTCPs in S seconds. C/S are defined by the set flood-ctcp C:S (cf
836 # server module)
837 set ctcp-mode 0
838
839
840 ##### IRC MODULE #####
841
842 # this module provides ALL NORMAL IRC INTERACTION, if you want the normal
843 # join & maintain channels stuff, this is the module.
844 loadmodule irc
845
846 # [0/1] define this if you want to bounce all server bans
847 set bounce-bans 1
848
849 # [0/1] define this if you want to bounce all the server modes
850 set bounce-modes 0
851
852 # If there are more than max-bans active bans on a channel, then the
853 # bot won't try to put more bans. Thus it won't flood the irc server.
854 # ircd 2.9.5 allows 20 bans. ircd 2.10 allows 30 bans (max).
855 set max-bans 20
856
857 # There is a global limit for +b/+e/+I modes. This limit is set to 30 on
858 # 2.10 irc servers.
859 set max-modes 30
860
861 # [0/1] Do you want the bot to kick for control character/ctcp avalanches
862 # to a channel?
863 # Remember that if it does, as it won't ban them, it can be at the origin
864 # of a nice kick-flood
865 set kick-fun 0
866
867 # [0/1] Do you want the bot to ban for control character/ctcp avalanches
868 # to a channel?
869 # Can prevent the above described kick-flood, but can also fill the banlist
870 set ban-fun 0
871
872 # [0/1] let users introduce themselves to the bot via 'hello'?
873 set learn-users 0
874
875 # time (in seconds) to wait for someone to return from a netsplit
876 set wait-split 600
877
878 # time (in seconds) that someone must have been off-channel before
879 # re-displaying their info
880 set wait-info 180
881
882 # this is the maximum number of bytes to send in the arguments to mode's
883 # sent to the server, most servers default this to 200, so it should
884 # be sufficient
885 set mode-buf-length 200
886
887 # many irc ops check for bots that respond to 'hello'. you can change this
888 # to another word by uncommenting the following two lines, and changing
889 # "myword" to the word you want to use instead of 'hello' (it must be a
890 # single word)
891 # novice users are not expected to understand what these two lines do; they
892 # are just here to help you. for more information on 'bind', check the file
893 # 'tcl-commands.doc'
894 #unbind msg - hello *msg:hello
895 #bind msg - myword *msg:hello
896
897 # Many takeover attempts occur due to lame users blindy /msg ident'n to
898 # the bot without checking if the bot is the bot.
899 # We now unbind this command by default to discourage them
900 unbind msg - ident *msg:ident
901 unbind msg - addhost *msg:addhost
902
903 # If you or your users use many different hosts and wants to
904 # be able to add it by /msg'ing you need to remove the
905 # unbind ident line above or bind it to another word.
906 #bind msg - myidentword *msg:ident
907
908 # [0/1] If you are so lame you want the bot to display peoples info lines, even
909 # when you are too lazy to add their chanrecs to a channel, set this to 1
910 # *NOTE* This means *every* user with an info line will have their info
911 # display on EVERY channel they join (provided they have been gone longer than
912 # wait-info)
913 set no-chanrec-info 0
914
915 ##### IRC MODULE - net-type 1 specific features (IRCnet) #####
916
917 # Don't modify the following settings if you don't use IRCnet. The defaults following
918 # values are harmless for you.
919
920 # [0/1] define this if you want to bounce all server exemptions (+e modes)
921 # * This is an IRCNET feature
922 set bounce-exempts 0
923
924 # [0/1] define this if you want to bounce all server invitations (+I modes)
925 # * This is an IRCNET feature
926 set bounce-invites 0
927
928 # If there are more than max-exempts active +e modes on a channel, then
929 # the bot won't try to put more exemptions. Thus it won't flood the irc
930 # server. Only 2.10 servers are concerned by these +e modes.
931 # * This is an IRCNET feature
932 set max-exempts 20
933
934 # If there are more than max-invites active +I modes on a channel, then
935 # the bot won't try to put more invitations. Thus it won't flood the irc
936 # server. Only 2.10 irc servers are concerned by these +I modes.
937 # * This is an IRCNET feature
938 set max-invites 20
939
940 # The following lines should be left uncommented unless the default values
941 # are being over-ridden. By default exempts and invites are on for IRCnet
942 # and hybrid EFnet, but off for all other networks. This behaviour can be
943 # modified by the following 2 flags. If you're network doesn't support e/I
944 # modes then you'll be unable to use these features.
945 #
946 # [0/1] Do you want to enable exempts?
947 # set use-exempts 0
948
949 # [0/1] Do you want to use invites?
950 # set use-invites 0
951
952 # [0/1] Prevent mixing normal modes and +I/+e invite modes?
953 # At the moment (Sep/1999), IRCnet servers do not allow mixing those modes,
954 # so leave this flag set to 1. The servers will probably change their
955 # behaviour in the future, so you should first check before accepting the
956 # default.
957 set prevent-mixing 1
958
959 ##### IRC MODULE - net-type 5 specific features (other networks) #####
960
961 # kick-method defines how kicks (when enforcing bans) should be made:
962 # 0 = kick all nicks at once in one command
963 # X = kick X users at a time
964 #
965 # Automatically set by net-type:
966 # net-type 0, 2, 3 & 4 sets this to 1
967 # net-type 1 sets this to 4
968 #
969 # If you use net-type 5, you must set this yourself (default is 1)
970 #set kick-method 1
971
972 # some networks allow you to stack lots of channel modes into one
973 # line.
974 # they're all guaranteed to support at least 3, so that's the default,
975 # but if you know your network supports more, you may want to adjust
976 # this value. this value must be less than or equal to 6.
977 # Automatically set to 4 for net-type 0/4, set to 3 for net-type 1, set to
978 # 6 for net-type 2/3.
979 # Only use this if you set net-type 5
980 #set modes-per-line 3
981
982 # [0/1] Some networks don't include the +l limit and +k or -k key modes
983 # in the modes-per-line (see above) limitation. Set include-lk to 0 for
984 # those networks.
985 # Automatically set to 1 for net-type 1/2/3, set to 0 for net-type 0/4.
986 # Only use this if you set net-type 5.
987 #set include-lk 1
988
989 # [0/1] use ircu2.10.01 specific /who requests, therefore only asking for
990 # exactly what's needed
991 # Automatically set to 0 for net-type 0/1/3/4, set to 1 for net-type 2.
992 # Only use this if you set net-type 5
993 #set use-354 0
994
995 # [0/1] use rfc 1459 compliant string matching routines?
996 # All networks apart from Dalnet comply with rfc 1459, so you should only
997 # disable it on Dalnet or networks which use Dalnet's code.
998 #set rfc-compliant 1
999
1000
1001 ##### TRANSFER MODULE #####
1002
1003 # uncomment this line to load the transfer module, this provides
1004 # dcc send/get support and bot userfile transfer support (not sharing)
1005 #loadmodule transfer
1006
1007 ##### variables:
1008 # set maximum number of simultaneous downloads to allow for each user
1009 set max-dloads 3
1010
1011 # set the block size for dcc transfers (ircII uses 512 bytes, but admits
1012 # that may be too small -- 1024 is standard these days)
1013 # set this to 0 to use turbo-dcc (recommended)
1014 set dcc-block 1024
1015
1016 # [0/1] copy files into the /tmp directory before sending them? this is
1017 # useful on most systems for file stability. (someone could move a file
1018 # around while it's being downloaded, and mess up the transfer.) but if
1019 # your directories are NFS mounted, it's a pain, and you'll want to set
1020 # this to 0. If you are low on disk space, you may want to set this to 0.
1021 set copy-to-tmp 1
1022
1023 # time (in seconds) that a dcc file transfer can remain inactive
1024 # before being timed out
1025 set xfer-timeout 30
1026
1027
1028 ##### SHARE MODULE #####
1029
1030 # this provides the userfile sharing support
1031 # (this requires the channels & transfer modules)
1032 #loadmodule share
1033
1034 ##### variables:
1035 # [0/1] When two bots get disconnected this flag allows them to create
1036 # a resync buffer which saves all changes done to the userfile during
1037 # the disconnect. So, when they reconnect, they will not have to transfer
1038 # the complete user file, but instead, just send the resync buffer.
1039 # If you have problems with this feature please tell us. Take a look at
1040 # doc/BUG-REPORT first though.
1041 #set allow-resync 0
1042
1043 # this specifies how long to hold another bots resync data for before
1044 # flushing it
1045 #set resync-time 900
1046
1047 # [0/1] when sharing user lists, DONT ACCEPT global flag changes from other bots?
1048 # NOTE: the bot will still send changes made on the bot, it just wont accept
1049 # any global flag changes from other bots
1050 #set private-global 0
1051
1052 # when sharing user lists, if private-global isn't set, which global flag
1053 # changes from other bots should be ignored ?
1054 #set private-globals "mnot"
1055
1056 # [0/1] when sharing user lists, DON'T ACCEPT any userfile changes from other
1057 # bots?
1058 # NOTE: paranoid people should use this feature on their hub bot - this
1059 # will force all +host/+user/chpass/etc. changes to be made via the hub
1060 #set private-user 0
1061
1062 # [0/1] this setting makes the bot discard it's own bot records in favor of
1063 # the ones sent by the hub. Note: This only works with hubs that are v1.5.1
1064 # _or higher_.
1065 #set override-bots 0
1066
1067
1068 ##### COMPRESS MODULE #####
1069
1070 # The compress module provides support for file compression. This allows the
1071 # bot to transfer compressed user files and therefore save a significant
1072 # amount of bandwidth, especially on very active hubs.
1073 #loadmodule compress
1074
1075 # [0/1] allow compressed sending of user files. The user files
1076 # are compressed with the compression level defined in `compress-level'.
1077 #set share-compressed 1
1078
1079 # [0-9] default compression level used.
1080 #set compress-level 9
1081
1082
1083 ##### FILESYSTEM MODULE #####
1084
1085 # uncomment this line to load the file system module, this provides
1086 # an area withing the bot where you can store files
1087 #loadmodule filesys
1088
1089 # this is the 'root' directory for the file system (set it to "" if you
1090 # don't want a file system)
1091 set files-path "/home/mydir/filesys"
1092
1093 # if you want to allow uploads, set this to the directory uploads should be
1094 # put into
1095 set incoming-path "/home/mydir/filesys/incoming"
1096
1097 # [0/1] alternately, you can set this, and uploads will go to the current
1098 # directory that a user is in
1099 set upload-to-pwd 0
1100
1101 # eggdrop creates a '.filedb' file in each subdirectory of your dcc area,
1102 # to keep track of its own file system info -- if you can't do that (like
1103 # if the dcc path isn't owned by yours) or you just don't want it to do
1104 # that, specify a path here where you'd like all the database files to
1105 # be stored instead (otherwise, just leave it blank)
1106 set filedb-path ""
1107
1108 # set maximum number of people that can be in the file area at once
1109 # (0 to make it effectively infinite)
1110 set max-file-users 20
1111
1112 # maximum allowable file size that will be received, in K
1113 # (default is 1024K = 1M). 0 makes it effectively infinite.
1114 set max-filesize 1024
1115
1116
1117 ##### NOTES MODULE #####
1118
1119 # this provides support for storing of notes for users from each other
1120 # notes between currently online users is supported in the core, this is
1121 # only for storing the notes for later retrieval, direct user->user notes
1122 # are built-in
1123 loadmodule notes
1124
1125 # the notefile: where private notes between users are stored
1126 set notefile "LamestBot.notes"
1127
1128 # maximum number of notes to allow to be stored for each user
1129 # (to prevent flooding)
1130 set max-notes 50
1131
1132 # time (in days) to let stored notes live before expiring them
1133 set note-life 60
1134
1135 # [0/1] allow users to specify a forwarding address for forwarding notes
1136 # to another bot
1137 set allow-fwd 0
1138
1139 # [0/1] set this to 1 if you want the bot to let people know hourly if they
1140 # have any notes
1141 set notify-users 1
1142
1143 # [0/1] set this to 1 if you want the bot to let people know on join if they
1144 # have any notes
1145 set notify-onjoin 1
1146
1147 # comment out this next line, otherwise your bot won't start
1148 die "You didn't edit your config file like you were told, did you?"
1149
1150
1151 ##### CONSOLE MODULE #####
1152
1153 # this module provides storage of console settings when you exit the bot
1154 # (or .store)
1155 loadmodule console
1156
1157 ##### variables:
1158 # [0/1] save users console settings automatically? (otherwise they have to use
1159 # .store)
1160 set console-autosave 1
1161
1162 # [0-99999] if a user doesn't have any console settings saved, which channel
1163 # do you want them automatically put on?
1164 set force-channel 0
1165
1166 # [0/1] display a user's global info line when they join a botnet channel?
1167 set info-party 0
1168
1169
1170 ##### WOOBIE MODULE #####
1171
1172 # this serves absolutely no purpose and is for demonstrative
1173 # purposes only
1174 #loadmodule woobie
1175
1176
1177 ##### SEEN MODULE #####
1178
1179 # this module provides seen commands via msg, on channel or via
1180 # dcc, similar to the various scripts
1181 #loadmodule seen
1182
1183
1184 ##### BLOWFISH MODULE #####
1185
1186 ##### IF YOU DONT READ THIS YOU MAY RENDER YOUR USERFILE USELESS LATER
1187
1188 # Choose your encryption method now, 'cause once you do, it ain't
1189 # changing 'til you get a new userfile, capish? At the moment, there
1190 # is only one encryption option: blowfish
1191
1192 # uncomment this line to load blowfish, the encryption module
1193 # for the bot, it will not start without it loaded and commented out
1194 # to make sure you read the whole config file
1195 # this is checkmodule, because during .restart the module will already
1196 # be loaded
1197 #checkmodule blowfish
1198
1199
1200 ##### ASSOC MODULE #####
1201
1202 # uncomment this line to load assoc support, i.e naming channels on
1203 # the botnet
1204 #loadmodule assoc
1205
1206
1207 ##### WIRE MODULE #####
1208
1209 # this module provides all the standard .wire commands via dcc.
1210 # it's an encrypted partyline communication tool, compatible with wire.tcl
1211 # uncomment this line to load it
1212 #loadmodule wire
1213
1214
1215 ##### SCRIPTS #####
1216
1217 # these are some commonly loaded (and needed) scripts.
1218 source scripts/alltools.tcl
1219 source scripts/action.fix.tcl
1220
1221 # use this for tcl and eggdrop downwards compatibility
1222 source scripts/compat.tcl
1223
1224 # This script provides many useful minor informational commands
1225 # (like setting users url's, email address, etc). You can modify
1226 # it to add extra entries, you might also want to modify help/userinfo.help
1227 # and help/msg/userinfo.help to change the help files.
1228 source scripts/userinfo.tcl
1229 loadhelp userinfo.help

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23