/[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.10 - (show annotations) (download)
Mon Nov 22 16:22:12 1999 UTC (20 years, 11 months ago) by fabian
Branch: MAIN
Changes since 1.9: +17 -1 lines
resync 11Nov1999

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

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23