Advertisement
KeiroD

Eggdrop

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