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