Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

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