/[cvs]/eggdrop1.9/eggdrop.complete.conf
ViewVC logotype

Contents of /eggdrop1.9/eggdrop.complete.conf

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


Revision 1.76 - (show annotations) (download)
Fri Oct 11 00:51:48 2002 UTC (17 years ago) by wcc
Branch: MAIN
CVS Tags: HEAD
Changes since 1.75: +1 -1 lines
FILE REMOVED
Forgot some cvs add/remove.

1 #! /path/to/executable/eggdrop -ptclscript
2 # ^- set that to the directory eggdrop is in i.e. "#! /home/lamest/egg/eggdrop"
3 # Make sure you preload a config parser using the -p<name> parameter.
4 #
5 # $Id: eggdrop.complete.conf,v 1.75 2002/10/10 05:50:11 wcc Exp $
6 #
7 # This config file includes all possible options you can
8 # use to configure your bot properly.
9 # be sure that you know what you are doing!
10 #
11 # more detailed descriptions of all those settings can be found in
12 # doc/settings/
13
14
15 ##### GENERAL STUFF #####
16
17 # the username the bot uses, this is only used if identd isn't working
18 # on the machine the bot is running on.
19 set username "lamest"
20
21 # who's running this bot?
22 set admin "Lamer <email: lamer@lamest.lame.org>"
23
24 # what IRC network are you on? this is just info to share with others on
25 # your botnet, for human curiosity only.
26 set network "I.didnt.edit.my.config.file.net"
27
28 # what characters do you want to signify a command on the partyline?
29 set dcc_command_chars "./"
30
31 # what timezone is your bot in? The timezone string specifies the name of
32 # the timezone and must be three or more alphabetic characters.
33 #
34 # ex. Central European Time(UTC+1) would be "CET"
35 set timezone "EST"
36
37 # offset specifies the time value to be added to the local time to get
38 # Coordinated Universal Time (UTC aka GMT). The offset is positive if the
39 # local timezone is west of the Prime Meridian and negative if it is east.
40 # The value(hours) must be between 0 and 24.
41 #
42 # ex. if the timezone is UTC+1 the offset is -1
43 set offset "5"
44
45 # If you dont want to use the timezone setting for scripting purpose
46 # only but instead everywhere possible (new) then uncomment the next line.
47 #set env(TZ) "$timezone $offset"
48
49 # if you're using virtual hosting (your machine has more than 1 IP), you
50 # may want to specify the particular IP to bind to. you can specify
51 # by IP. if eggdrop has trouble detecting the hostname when it starts up,
52 # set my_ip. (it will let you know if it has trouble -- trust me.)
53 # my_ip will be used for IPv4 hosts, my_ip6 will be used for IPv6 hosts.
54 #set my_ip "99.99.0.0"
55 #set my_ip6 "3ffe:1337::1"
56
57 ##### LOG FILES #####
58
59 # You can specify a limit on how many log files you can have.
60 # At midnight every day, the old log files are renamed and a new log file begins.
61 # By default, the old one is called "(logfilename).yesterday",
62 # and any logfiles before yesterday are erased.
63
64 # Events are logged by certain categories -- this way you can specify
65 # exactly what kind of events you want sent to various logfiles. the
66 # events are:
67 # m private msgs/ctcps to the bot
68 # k kicks, bans, mode changes on the channel
69 # j joins, parts, netsplits on the channel
70 # p public chatter on the channel
71 # s server connects/disconnects/notices
72 # b information about bot linking and userfile sharing
73 # c commands people use (via msg or dcc)
74 # x file transfers and file-area commands
75 # o other: misc info, errors -- IMPORTANT STUFF
76 # w wallops: msgs between IRCops (be sure to set the bot +w)
77 # There are others, but you probably shouldn't log them, it'd be rather
78 # unethical ;)
79
80 # maximum number of logfiles to allow - this can be increased if needed
81 # (don't decrease this)
82 set max_logs 5
83
84 # maximum size of your logfiles, set this to 0 to disable.
85 # this only works if you have keep_all_logs 0 (OFF)
86 # this value is in KiloBytes, so '550' would mean cycle logs when
87 # it reaches the size of 550 KiloBytes.
88 set max_logsize 0
89
90 # write the logfiles and check the size every minute
91 # (if max_logsize is enabled) instead of every 5minutes as before.
92 # This could be good if you have had problem with the
93 # logfile filling your quota or hdd or if you log +p
94 # and publish it on the web and wants more uptodate info.
95 # If you are concerned with resources keep the default setting 0.
96 # (although I haven't noticed anything)
97 set quick_logs 0
98
99 # each logfile also belongs to a certain channel. events of type 'k', 'j',
100 # and 'p' are logged to whatever channel they happened on. most other
101 # events are currently logged to every channel. you can make a logfile
102 # belong to all channels by assigning it to channel "*". there are also
103 # five user-defined levels ('1'..'5') which are used by Tcl scripts.
104
105 # in 'eggdrop.log' put private msgs/ctcps, commands, misc info, and
106 # errors from any channel:
107 logfile mco * "logs/eggdrop.log"
108 # in 'lame.log' put joins, parts, kicks, bans, and mode changes from #lamest:
109 logfile jk #lamest "logs/lamest.log"
110
111 # [0/1] keep logfiles for more than 48 hours -- instead of being called
112 # "(logfilename).yesterday", the log files are named by the current date,
113 # and kept around forever (eventually your directory might get full, so
114 # be careful with this!)
115 set keep_all_logs 0
116
117 # if keep_all_logs is 1, this setting will define the suffix of the logfiles.
118 # The default will result in a suffix like "04May2000". "%Y%m%d" will produce
119 # the often used yyyymmdd format. Read the strtime manpages for more options.
120 # NOTE: On systems which don't support strftime, the default format will
121 # be used _always_.
122 set logfile_suffix ".%d%b%Y"
123
124 # once a day the logfiles are switched out and started fresh --
125 # this specifies when that should happen (in military time)
126 # [note that a leading 0 will make Tcl think this is an octal value,
127 # something you probably don't want.]
128 set switch_logfiles_at 300
129
130 # [0/1] enable quiet saves? "Writing user file..." and "Writing channel file ..."
131 # will not be logged if this option is enabled.
132 set quiet_save 0
133
134 # this is the default console mode -- what masters will see automatically
135 # when they dcc chat with the bot (masters can alter their own console
136 # flags once they connect, though) -- it uses the same event flags as
137 # the log files
138 # (note that the console channel is automatically set to your "primary"
139 # channel -- the one you defined first in this file. masters can change
140 # their console channel with the '.console' command, however.)
141 set console "mkcobxs"
142
143
144 ##### FILES AND DIRECTORIES #####
145
146 # the userfile: where user records are stored
147 set userfile "LamestBot.user"
148
149 # the pidfile: where eggdrop saves its pid file to
150 # set pidfile "pid.$botnet_nick"
151
152 # where the help files can be found (and there are plenty)
153 set help_path "help/"
154
155 # where the text files can be found (used with various dump commands)
156 set text_path "text/"
157
158 # a good place to temporarily store files (i.e.: /tmp)
159 set temp_path "/tmp"
160
161 # the MOTD is displayed when people dcc chat to the bot.
162 # type '.help set motd' in DCC CHAT for tons of text substitutions
163 # that the bot can performed on the motd.
164 set motd "text/motd"
165
166 # the telnet banner is displayed when people first make a telnet
167 # connection to the bot. type '.help set motd' in DCC CHAT for tons of
168 # text substitutions that the bot can be performed on the telnet banner.
169 set telnet_banner "text/banner"
170
171 # Specifies what permissions the user, channel and notes files should be set
172 # to. The octal values are the same as for the chmod system command.
173 #
174 # u g o u g o u g o
175 # 0600 rw------- 0400 r-------- 0200 -w------- u - user
176 # 0660 rw-rw---- 0440 r--r----- 0220 -w--w---- g - group
177 # 0666 rw-rw-rw- 0444 r--r--r-- 0222 -w--w--w- o - others
178 #
179 # Most users will want to leave the permissions set to 0600, to ensure
180 # maximum security.
181 set userfile_perm 0600
182
183 ##### BOTNET #####
184
185 # you probably shouldn't deal with this until reading 'botnet.doc' or
186 # something. you need to know what you're doing.
187
188 # if you want to use a different nickname on the botnet than you use on
189 # IRC, set it here:
190 #set botnet_nick "LlamaBot"
191
192 # what telnet port should this bot answer?
193 # NOTE: if you are running more than one bot on the same machine, you will
194 # want to space the telnet ports at LEAST 5 apart... 10 is even better
195 # if you would rather have one port for the botnet, and one for normal
196 # users, you will want something like this instead:
197 #listen 3333 bots
198 #listen 4444 users
199 # NOTE: there are more options listed for the listen command in
200 # doc/tcl-commands.doc
201 listen 3333 all
202
203 # [0/1] This setting will drop telnet connections not matching a known host
204 # It greatly improves protection from IRCOPs, but makes it impossible
205 # for NOIRC bots to add hosts or have NEW as a valid login
206 set protect_telnet 0
207
208 # and a timeout value for ident lookups would help (seconds)
209 set ident_timeout 5
210
211 # How long (in seconds) should I wait for a connect (dcc chat, telnet,
212 # relay, etc) before it times out?
213 set connect_timeout 15
214
215 # number of messages / lines from a user on the partyline (dcc, telnet) before
216 # they are considered to be flooding (and therefore get booted)
217 set dcc_flood_thr 3
218
219 # how many telnet connection attempt in how many seconds from the same
220 # host constitutes a flood?
221 set telnet_flood 5:60
222
223 # [0/1] apply telnet flood protection for everyone?
224 # set this to 0 if you want to exempt +f users from telnet flood protection
225 set paranoid_telnet_flood 1
226
227 # how long should I wait (seconds) before giving up on hostname/address
228 # lookup? (you might want to increase this if you are on a slow network).
229 set resolve_timeout 15
230
231
232 ##### MORE ADVANCED STUFF #####
233
234 # are you behind a firewall? uncomment this and specify your socks host
235 #set firewall "proxy:178"
236 # or, for a Sun "telnet passthru" firewall, set it this way
237 # (does anyone besides Sun use this?)
238 #set firewall "!sun-barr.ebay:3666"
239
240 # if you have a NAT firewall (you box has an IP in one of the following
241 # ranges: 192.168.0.0-192.168.255.255, 172.16.0.0-172.31.255.255,
242 # 10.0.0.0-10.255.255.255 and your firewall transparently changes your
243 # address to a unique address for your box.) or you have IP masquerading
244 # between you and the rest of the world, and /dcc chat,/ctcp chat or
245 # userfile shareing aren't working. Enter your outside IP here.
246 # Do not enter anything for my_ip.
247 #set nat_ip "127.0.0.1"
248
249 # if you want all dcc file transfers to use a particular portrange either
250 # because you're behind a firewall, or for other security reasons, set it
251 # here.
252 #set reserved_portrange 2010:2020
253
254 # [0/1] enables certain console/logging flags which can be used to see all
255 # information sent to and from the server, also botnet and share traffic.
256 # NOTE: This is a large security hole, allowing people to see passwords and
257 # other information they shouldn't otherwise really see. These flags are
258 # restricted to +n users only. Please choose your owners carefully when you
259 # enable this option.
260 set debug_output 0
261
262 # temporary ignores will last how many minutes?
263 set ignore_time 15
264
265 # this setting affects what part of the hour the 'hourly' calls occur
266 # on the bot, this includes such things as note notifying,
267 # You can change that here (for example, "15" means to
268 # notify every hour at 15 minutes past the hour)
269 # this now includes when the bot will save its userfile
270 set hourly_updates 00
271
272 # the following user(s) will ALWAYS have the owner (+n) flag (You really
273 # should change this default value)
274 #set owner "MrLame, MrsLame"
275
276 # who should I send a note to when I learn new users?
277 set notify_newusers "$owner"
278
279 # what flags should new users get as a default?
280 # check '.help whois' on the partyline (dcc chat, telnet) for tons of
281 # options.
282 set default_flags "hp"
283
284 # what user-defined fields should be displayed in a '.whois'?
285 # this will only be shown if the user has one of these xtra fields
286 # you might prefer to comment this out and use the userinfo1.0.tcl script
287 # which provides commands for changing all of these.
288 set whois_fields "url birthday"
289
290 # [0/1/2] allow people from other bots (in your bot-net) to boot people off
291 # your bot's party line?
292 # values:
293 # 0 - allow *no* outside boots
294 # 1 - allow boots from sharebots
295 # 2 - allow any boots
296 set remote_boots 2
297
298 # [0/1] if you don't want people to unlink your share bots from remote bots
299 # set this to 0
300 set share_unlinks 1
301
302 # [0/1] die on receiving a SIGHUP?
303 # The bot will save it's userfile when it receives a SIGHUP signal
304 # with either setting.
305 set die_on_sighup 0
306
307 # [0/1] die on receiving a SIGTERM?
308 # The bot will save it's userfile when it receives a SIGTERM signal
309 # with either setting.
310 set die_on_sigterm 1
311
312 # to enable the 'tcl' and 'set' command (let owners directly execute
313 # Tcl commands)? - a security risk!!
314 # If you select your owners wisely, you should be okay enabling these.
315 # to enable, comment these two lines out
316 # (In previous versions, this was enabled by default in eggdrop.h)
317 unbind dcc n tcl *dcc:tcl
318 unbind dcc n set *dcc:set
319
320 # comment the following line out to add the 'simul' command (owners can
321 # manipulate other people on the party line).
322 # Please select owners wisely! Use this command ethically!
323 unbind dcc n simul *dcc:simul
324
325 # maximum number of dcc connections you will allow - you can increase this
326 # later, but never decrease it, 50 seems to be enough for everybody
327 set max_dcc 50
328
329 # [0/1] allow +d & +k users to use commands bound as -|- ?
330 set allow_dk_cmds 1
331
332 # If a bot connects which already seems to be connected, I wait
333 # dupwait_timeout seconds before I check again and then finally reject
334 # the bot. This is useful to stop hubs from rejecting bots that actually
335 # have already disconnected from another hub, but the disconnect information
336 # has not yet spread over the botnet due to lag.
337 set dupwait_timeout 5
338
339
340
341 # You MUST remove this line for this config file to work. This has been
342 # added to prevent you from starting up a bot that is not fully configured.
343 # Bots that have not been fully configured may join the wrong IRC network,
344 # the wrong channels, or generally do things that you do not want. Please
345 # make sure that you have double-checked the settings you want.
346 # There's also a similar line lower down, just to make sure you're reading :)
347
348 die "Please make sure you edit your config file completely."
349
350
351
352 ########## MODULES ##########
353
354 # below are various settings for the modules available with eggdrop,
355 # PLEASE EDIT THEM CAREFULLY, READ THEM, even if you're an old hand
356 # at eggdrop, lots of things have changed slightly
357
358 # this is the directory to look for the modules in, if you run the
359 # bot in the compilation directories you will want to set this to ""
360 # if you use 'make install' (like all good kiddies do ;) this is a fine
361 # default, otherwise, use your head :)
362 set mod_path "modules/"
363
364
365 ##### CHANNELS MODULE #####
366
367 # this next module provides channel related support for the bot, without
368 # it, it will just sit on irc, it can respond to msg & ctcp commands, but
369 # that's all
370 loadmodule channels
371
372 # the chanfile: where dynamic channel settings are stored
373 set chanfile "LamestBot.chan"
374
375 # [0/1] expire bans/exempts/invites set by other opped bots on the channel?
376 # set force_expire 0
377
378 # [0/1] share user greets with other bots on the channel if sharing user data?
379 set share_greet 0
380
381 # [0/1] allow users to store an info line?
382 set use_info 1
383
384 # these settings are used as default values when you
385 # .+chan #chan or .tcl channel add #chan
386 # look in the section above for explanation on every option
387
388 set global_flood_chan 10:60
389 set global_flood_deop 3:10
390 set global_flood_kick 3:10
391 set global_flood_join 5:60
392 set global_flood_ctcp 3:60
393 set global_flood_nick 5:60
394
395 set global_aop_delay 5:30
396
397 set global_idle_kick 0
398 set global_chanmode "nt"
399 set global_stopnethack_mode 0
400 set global_revenge_mode 1
401 set global_ban_time 120
402 set global_exempt_time 60
403 set global_invite_time 60
404
405 set global_chanset {
406 -autoop -autovoice
407 -bitch +cycle
408 +dontkickops +dynamicbans
409 +dynamicexempts +dynamicinvites
410 -enforcebans +greet
411 -inactive -nodesynch
412 -protectfriends +protectops
413 -revenge -revengebot
414 -secret +statuslog
415 +shared +userinvites
416 +userbans +userexempts
417 +honor-global-bans +honor-global-invites
418 +honor-global-exempts
419 }
420
421 # do this for each channel you wish to sit on:
422 # NOTE: for some reason Tcl won't let you put comments inside { } -- so
423 # don't try it, cos it'll mess up your channel definition
424
425 channel add #lamest {
426 chanmode "+nt-likm"
427 idle-kick 0
428 ban-time 120
429 exempt-time 60
430 invite-time 60
431 stopnethack-mode 0
432 revenge-mode 1
433 aop-delay 5:30
434 flood_chan 10:60
435 flood_deop 3:10
436 flood_kick 3:10
437 flood_join 5:60
438 flood_ctcp 3:60
439 flood_nick 5:60
440 }
441
442 # the things inside the { } are CHANNEL OPTIONS -- they can be set within
443 # the "channel add" command, or by using a "channel set" command as in the
444 # examples below. they list all the options you can set for a channel.
445
446 # chanmode
447 # what modes will be enforced? '+' modes will always be kept on, '-' modes
448 # will always be kept off
449 # idle-kick
450 # kick channel members after how many minutes of being idle?
451 # (leave out to disable, or set to 0)
452
453 # stopnethack-mode
454 # de-op anyone who enters the channel with serverops
455 # 0 turn off,
456 # 1 isoptest (allow serverop if registered op),
457 # 2 wasoptest (allow serverop if op before split)
458 # 3 allow serverop if isop or wasop
459 # 4 allow serverop if isop and wasop
460 # 5 if channel -bitch: see stopnethack-mode 3
461 # if channel +bitch: see stopnethack-mode 1
462 # 6 if channel -bitch: see stopnethack-mode 2
463 # if channel +bitch: see stopnethack-mode 4
464
465 # revenge-mode
466 # defines how the bot should punish bad users when revenging.
467 # default is 1.
468 # 0 for deop
469 # 1 for deop and +d
470 # 2 for deop, +d and kick
471 # 3 for deop, chattr +d, kick and ban
472
473 # aop-delay (minimum:maximum)
474 # for autoop and autovoice
475 # aop-delay 0 no autoopdelay
476 # aop-delay x or aop-delay x:x x sec. autoopdelay
477 # aop-delay x:y random delay
478 # if a autoopped user joined during a other delayed autoop is pending,
479 # the bot will sent both autoop based on the last-joined-user-delay-time,
480 # probable in only one line.
481
482 # flood_chan (number:seconds)
483 # how many channel messages in how many seconds is a flood
484 # not specifying or using number = 0 will not check chan floods!
485 # flood_ctcp (number:seconds)
486 # how many channel messages in how many seconds is a flood
487 # not specifying or using number = 0 will not check ctcp floods!
488 # flood_deop (number:seconds)
489 # how many deops in how many seconds is a mass de-op
490 # not specifying or using number = 0 will not check de-op floods!
491 # flood_kick (number:seconds)
492 # how many kicks in how many seconds is a mass kick?
493 # not specifying or using number = 0 will not check mass kicks!
494 # flood_join (number:seconds)
495 # how many joins/nick changes in how many seconds is a join flood?
496 # not specifying or using number = 0 will not check join floods!
497
498 # there are also a lot of options that can be turned on or off for each
499 # channel. to turn an option on, put a + in front of it. to turn it off,
500 # put a - in front of it. i.e., to have auto-op, put:
501 # +autoop
502 # to turn it off, put:
503 # -autoop
504
505 # when a ban is set, kick people who are on the channel and match the
506 # new ban? (i.e., they were on the channel before the ban)
507 channel set #lamest +enforcebans
508
509 # Only activate bans on the channel when necessary? (This keeps the
510 # channel's ban list from getting excessively long.
511 # The bot still remembers every ban, but it only activates a ban on
512 # the channel when it sees someone join who matches that ban.)
513 channel set #lamest +dynamicbans
514
515 # allow bans to be made by users directly? (if turned off, the bot will
516 # require all bans to be made through the bot's console)
517 channel set #lamest +userbans
518
519 # only activate exempts on the channel when necessary? (this keeps the
520 # channel's exempt list from getting excessively long. the bot still
521 # remembers every exempt, but it only activates a exempt on the channel
522 # when it sees a ban set matching the exempt. The exempt remains active
523 # on the channel for as long as the ban is still active.
524 channel set #lamest +dynamicexempts
525
526 # allow exempts to be made by users directly? (if turned off, the bot will
527 # require all exempts to be made through the bot's console)
528 channel set #lamest +userexempts
529
530 # only activate invites on the channel when necessary? (this keeps the
531 # channel's invite list from getting excessively long. the bot still
532 # remembers every invite, but the invites are only activated when the
533 # channel is set to invite only and a user joins after requesting an
534 # invite. Once set the invite remains until the channel goes to -i
535 channel set #lamest +dynamicinvites
536
537 # allow invites to be made by users directly? (if turned off, the bot will
538 # require all invites to be made through the bot's console)
539 channel set #lamest +userinvites
540
541 # op users with the +o (op) flag as soon as they join the channel?
542 # (hint: this is a BAD IDEA)
543 channel set #lamest -autoop
544
545 # only let users with +o (op) flag be channel ops?
546 channel set #lamest -bitch
547
548 # say a user's info line when they join the channel?
549 channel set #lamest +greet
550
551 # re-op a user with the +o (op) flag if they get deopped?
552 channel set #lamest +protectops
553
554 # re-op a user with the +f (friend) flag if they get deopped?
555 channel set #lamest +protectfriends
556
557 # log the channel status line every 5 minutes? (some people think
558 # it's annoying; I think it's neat)
559 channel set #lamest +statuslog
560
561 # remember people who deop/kick/ban bots, valid ops or friends, and punish them?
562 # users with +f (friend) flag are exempt from revenge
563 channel set #lamest +revenge
564
565 # this works similar to revenge, but it triggers only for valid bots and
566 # allows the deop or kick of an op
567 channel set #lamest +revengebot
568
569 # voice users with +v (voice) flag when they join the channel?
570 channel set #lamest +autovoice
571
572 # prevent this channel from being listed on the botnet? (for paranoid
573 # people)
574 channel set #lamest -secret
575
576 # share user channel info for this channel?
577 channel set #lamest -shared
578
579 # cycle the channel when it becomes op-less?
580 channel set #lamest +cycle
581
582 # do you want the bot not to be able to kick +o flag users ?
583 # letting them kick_flood for instance, to protect the channel against
584 # clone attacks
585 channel set #lamest +dontkickops
586
587 # prevents the bot from joining the channel (or makes it leave the channel
588 # if it is already there).
589 # Can be useful to make the bot leave a channel without loosing it's
590 # settings (flood settings, all these "channel set" settings), user flags
591 # for this channel, bans for this channel, and without affecting any
592 # sharing
593 channel set #lamest -inactive
594
595 # allow non-ops to perform channel modes? (Stops bot from
596 # fighting with services such as ChanServ)
597 channel set #lamest +nodesynch
598
599 # here you can disable global bans
600 channel set #lamest +honor-global-bans
601
602 # here you can disable global exempts
603 channel set #lamest +honor-global-exempts
604
605 # here you can disable global invites
606 channel set #lamest +honor-global-invites
607
608 # here's a shorter example:
609 channel add #botcentral {
610 chanmode "+mntisl 1"
611 idle-kick 1
612 }
613 channel set #botcentral +bitch +enforcebans -greet +revenge
614
615
616 ##### SERVER MODULE #####
617
618 # this provides the core server support (removing this is equivalent to
619 # the old NO_IRC define)
620 loadmodule server
621
622 # Uncomment and edit one of the folowing files for network specific
623 # features.
624 source nettype/custom.server.conf
625 #source nettype/dalnet.server.conf
626 #source nettype/efnet.server.conf
627 #source nettype/hybridefnet.server.conf
628 #source nettype/ircnet.server.conf
629 #source nettype/undernet.server.conf
630
631 ##### variables:
632 # the nick of the bot, that which it uses on IRC, and on the botnet
633 # unless you specify a separate botnet_nick
634 set nick "Lamestbot"
635
636 # an alternative nick to use if the nick specified by 'set nick' is
637 # unavailable. All '?' characters will be replaced by a random number.
638 set altnick "Llamabot"
639
640 # what to display in the real-name field for the bot
641 set realname "/msg LamestBot hello"
642
643 # tcl code to run (if any) when first connecting to a server
644
645 bind event - init-server event:init_server
646
647 proc event:init_server {type} {
648 global botnick
649 putserv -quick "MODE $botnick +i-ws"
650 }
651
652 # if no port is specified on a .jump, which port should I use?
653 set default_port 6667
654
655 # the server list -- the bot will start at the first server listed, and cycle
656 # through them whenever it's disconnected
657 # (please note: you need to change these servers to YOUR network's servers)
658
659 # server_add <host> [port] [pass] <-- port and pass are optional
660
661 server_add "hostname.without.port"
662 server_add "hostname.with.port" 6668
663 server_add "hostname.with.port.and.pass" 6669 "somepass"
664 server_add "1.2.3.4" 6660
665
666 # [0/1] if the bot's nickname is changed (for example, if the intended
667 # nickname is already in use) keep trying to get the nick back?
668 set keep_nick 1
669
670 # [0/1] if this is set, a leading '~' on user@hosts WON'T be stripped off
671 set strict_host 0
672
673 # [0/1] Squelch the error message when rejecting a DCC CHAT or SEND?
674 # Normally it tells the DCC user that the CHAT or SEND has been rejected
675 # because they don't have access, but sometimes IRC server operators
676 # detect bots that way.
677 set quiet_reject 1
678
679 # answer HOW MANY stacked ctcps at once
680 set answer_ctcp 3
681
682 # setting any of the following with how many == 0 will turn them off
683 # how many msgs in how many seconds from the same host constitutes a flood?
684 set flood_msg 5:60
685 # how many CTCPs in how many seconds?
686 set flood_ctcp 3:60
687
688 # number of seconds to wait between each server connect (0 = no wait)
689 # useful for preventing ircu throttling
690 # setting this too low could make your server admins *very* unhappy
691 set server_cycle_wait 60
692
693 # how many seconds to wait for a response when connecting to a server
694 # before giving up and moving on?
695 set server_timeout 60
696
697 # [0/1] check for stoned servers? (i.e. Where the server connection has
698 # died, but eggdrop hasn't been notified yet).
699 set check_stoned 1
700
701 # maximum number of lines to queue to the server.
702 # if you're going to dump large chunks of text to people over irc, you
703 # will probably want to raise this -- most people are fine at 300 though
704 set max_queue_msg 300
705
706 # [0/1] trigger bindings for ignored users?
707 set trigger_on_ignore 0
708
709 # [0/1/2] do you want the bot to optimize the kicking queues? Set to 2 if you
710 # want the bot to change queues if somebody parts or changes nickname.
711 # ATTENTION: Setting 2 is very CPU intensive
712 set optimize_kicks 1
713
714
715 ##### CTCP MODULE #####
716
717 # this provides the normal ctcp replies that you'd expect *RECOMMENDED*
718 loadmodule ctcp
719
720 # several variables exist to better blend your egg in. they are
721 # ctcp_version, ctcp_finger, and ctcp_userinfo. you can use set
722 # to set them to values you like.
723
724 # [0/1/2] 0: normal behavior. 1: bot ignores all CTCPs, except for CTCP
725 # CHATs & PINGs requested by +o flag users. 2: bot doesn't answer more
726 # than C CTCPs in S seconds.
727 # C/S are defined by the set flood_ctcp C:S (cf. server module)
728 set ctcp_mode 0
729
730
731 ##### IRC MODULE #####
732
733 # this module provides ALL NORMAL IRC INTERACTION, if you want the normal
734 # join & maintain channels stuff, this is the module.
735 loadmodule irc
736
737 # Uncomment and edit one of the folowing files for network specific
738 # features.
739 source nettype/custom.irc.conf
740 #source nettype/dalnet.irc.conf
741 #source nettype/efnet.irc.conf
742 #source nettype/hybridefnet.irc.conf
743 #source nettype/ircnet.irc.conf
744 #source nettype/undernet.irc.conf
745
746 # [0/1] define this if you want to bounce all server bans
747 set bounce_bans 1
748
749 # [0/1] define this if you want to bounce all the server modes
750 set bounce_modes 0
751
752 # [0/1] let users introduce themselves to the bot via 'hello'?
753 set learn_users 0
754
755 # time (in seconds) to wait for someone to return from a netsplit
756 set wait_split 600
757
758 # time (in seconds) that someone must have been off-channel before
759 # re-displaying their info
760 set wait_info 180
761
762 # this is the maximum number of bytes to send in the arguments to mode's
763 # sent to the server, most servers default this to 200, so it should
764 # be sufficient
765 set mode_buf_length 200
766
767 # many irc ops check for bots that respond to 'hello'. you can change this
768 # to another word by uncommenting the following two lines, and changing
769 # "myword" to the word you want to use instead of 'hello' (it must be a
770 # single word)
771 # novice users are not expected to understand what these two lines do; they
772 # are just here to help you. for more information on 'bind', check the file
773 # 'tcl-commands.doc'
774 #unbind msg - hello *msg:hello
775 #bind msg - myword *msg:hello
776
777 # Many takeover attempts occur due to lame users blindy /msg ident'n to
778 # the bot without checking if the bot is the bot.
779 # We now unbind this command by default to discourage them
780 unbind msg - ident *msg:ident
781
782 # If you or your users use many different hosts and wants to
783 # be able to add it by /msg'ing you need to remove the
784 # unbind ident line above or bind it to another word.
785 #bind msg - myidentword *msg:ident
786
787 # [0/1] If you are so lame you want the bot to display peoples info lines, even
788 # when you are too lazy to add their chanrecs to a channel, set this to 1
789 # *NOTE* This means *every* user with an info line will have their info
790 # display on EVERY channel they join (provided they have been gone longer than
791 # wait_info)
792 set no_chanrec_info 0
793
794
795 ##### TRANSFER MODULE #####
796
797 # uncomment this line to load the transfer module, this provides
798 # dcc send/get support and bot userfile transfer support (not sharing)
799 #loadmodule transfer
800
801 ##### variables:
802 # set maximum number of simultaneous downloads to allow for each user
803 set max_dloads 3
804
805 # set the block size for dcc transfers (ircII uses 512 bytes, but admits
806 # that may be too small -- 1024 is standard these days)
807 # set this to 0 to use turbo-dcc (recommended)
808 set dcc_block 1024
809
810 # [0/1] copy files into the /tmp directory before sending them? this is
811 # useful on most systems for file stability. (someone could move a file
812 # around while it's being downloaded, and mess up the transfer.) but if
813 # your directories are NFS mounted, it's a pain, and you'll want to set
814 # this to 0. If you are low on disk space, you may want to set this to 0.
815 set copy_to_tmp 1
816
817 # time (in seconds) that a dcc file transfer can remain inactive
818 # before being timed out
819 set xfer_timeout 30
820
821
822 ##### SHARE MODULE #####
823
824 # this provides the userfile sharing support
825 # (this requires the channels & transfer modules)
826 #loadmodule share
827
828 ##### variables:
829 # [0/1] When two bots get disconnected this flag allows them to create
830 # a resync buffer which saves all changes done to the userfile during
831 # the disconnect. So, when they reconnect, they will not have to transfer
832 # the complete user file, but instead, just send the resync buffer.
833 # If you have problems with this feature please tell us. Take a look at
834 # doc/BUG-REPORT first though.
835 #set allow_resync 0
836
837 # this specifies how long to hold another bots resync data for before
838 # flushing it
839 #set resync_time 900
840
841 # [0/1] when sharing user lists, DONT ACCEPT global flag changes from other bots?
842 # NOTE: the bot will still send changes made on the bot, it just wont accept
843 # any global flag changes from other bots
844 #set private_global 0
845
846 # when sharing user lists, if private_global isn't set, which global flag
847 # changes from other bots should be ignored ?
848 #set private_globals "mnot"
849
850 # [0/1] when sharing user lists, DON'T ACCEPT any userfile changes from other
851 # bots?
852 # NOTE: paranoid people should use this feature on their hub bot - this
853 # will force all +host/+user/chpass/etc. changes to be made via the hub
854 #set private_user 0
855
856 # [0/1] this setting makes the bot discard it's own bot records in favor of
857 # the ones sent by the hub. Note: This only works with hubs that are v1.5.1
858 # _or higher_.
859 #set override_bots 0
860
861
862 ##### COMPRESS MODULE #####
863
864 # The compress module provides support for file compression. This allows the
865 # bot to transfer compressed user files and therefore save a significant
866 # amount of bandwidth, especially on very active hubs.
867 #loadmodule compress
868
869 # [0/1] allow compressed sending of user files. The user files
870 # are compressed with the compression level defined in `compress_level'.
871 #set share_compressed 1
872
873 # [0-9] default compression level used.
874 #set compress_level 9
875
876
877 ##### FILESYSTEM MODULE #####
878
879 # uncomment this line to load the file system module, this provides
880 # an area within the bot where you can store files
881 #loadmodule filesys
882
883 # this is the 'root' directory for the file system (set it to "" if you
884 # don't want a file system)
885 set files_path "/home/mydir/filesys"
886
887 # if you want to allow uploads, set this to the directory uploads should be
888 # put into
889 set incoming_path "/home/mydir/filesys/incoming"
890
891 # [0/1] alternately, you can set this, and uploads will go to the current
892 # directory that a user is in
893 set upload_to_pwd 0
894
895 # eggdrop creates a '.filedb' file in each subdirectory of your dcc area,
896 # to keep track of its own file system info -- if you can't do that (like
897 # if the dcc path isn't owned by yours) or you just don't want it to do
898 # that, specify a path here where you'd like all the database files to
899 # be stored instead (otherwise, just leave it blank)
900 set filedb_path ""
901
902 # set maximum number of people that can be in the file area at once
903 # (0 to make it effectively infinite)
904 set max_file_users 20
905
906 # maximum allowable file size that will be received, in K
907 # (default is 1024K = 1M). 0 makes it effectively infinite.
908 set max_filesize 1024
909
910
911 ##### NOTES MODULE #####
912
913 # this provides support for storing of notes for users from each other
914 # notes between currently online users is supported in the core, this is
915 # only for storing the notes for later retrieval, direct user->user notes
916 # are built-in
917 loadmodule notes
918
919 # the notefile: where private notes between users are stored
920 set notefile "LamestBot.notes"
921
922 # maximum number of notes to allow to be stored for each user
923 # (to prevent flooding)
924 set max_notes 50
925
926 # time (in days) to let stored notes live before expiring them
927 set note_life 60
928
929 # [0/1] allow users to specify a forwarding address for forwarding notes
930 # to another bot
931 set allow_fwd 0
932
933 # [0/1] set this to 1 if you want the bot to let people know hourly if they
934 # have any notes
935 set notify_users 1
936
937 # [0/1] set this to 1 if you want the bot to let people know on join if they
938 # have any notes
939 set notify_onjoin 1
940
941 # comment out this next line, otherwise your bot won't start
942 die "You didn't edit your config file completely like you were told, did you?"
943
944
945 ##### CONSOLE MODULE #####
946
947 # this module provides storage of console settings when you exit the bot
948 # (or .store)
949 loadmodule console
950
951 ##### variables:
952 # [0/1] save users console settings automatically? (otherwise they have to use
953 # .store)
954 set console_autosave 0
955
956 # [0-99999] if a user doesn't have any console settings saved, which channel
957 # do you want them automatically put on?
958 set force_channel 0
959
960 # [0/1] display a user's global info line when they join a botnet channel?
961 set info_party 0
962
963
964 ##### BLOWFISH MODULE #####
965
966 ##### IF YOU DONT READ THIS YOU MAY RENDER YOUR USERFILE USELESS LATER
967
968 # Choose your encryption method now, 'cause once you do, it ain't
969 # changing 'til you get a new userfile, capish? At the moment, there
970 # is only one encryption option: blowfish
971
972 # uncomment the loadmodule blowfish line to load blowfish, the encryption
973 # module for the bot. The bot will not start without it loaded. It is
974 # commented out to make sure you read the whole config file.
975 #loadmodule blowfish
976
977
978 ##### UPTIME MODULE #####
979
980 # this module reports uptime statistics to http://uptime.eggheads.org
981 # go look and see what your uptime is! (it will show up after 9 hours or so)
982 # (this requires the server module)
983 loadmodule uptime
984
985
986 ##### SCRIPTS #####
987
988 # these are some commonly loaded (and needed) scripts.
989 source scripts/alltools.tcl
990 source scripts/action.fix.tcl
991
992 # use this for tcl and eggdrop downwards compatibility
993 source scripts/compat.tcl
994
995 # This script provides many useful minor informational commands
996 # (like setting user's URLs, email address, etc). You can modify
997 # it to add extra entries, you might also want to modify help/userinfo.help
998 # and help/msg/userinfo.help to change the help files.
999 source scripts/userinfo.tcl
1000 loadhelp userinfo.help

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23