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

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

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


Revision 1.23 - (show annotations) (download)
Sat Mar 4 18:40:18 2000 UTC (20 years, 7 months ago) by fabian
Branch: MAIN
Changes since 1.22: +50 -52 lines
resync with 1.4

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

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23