#! /path/to/executable/eggdrop
# ^- This should contain a fully qualified path to your Eggdrop executable.
#
# $Id: eggdrop.conf,v 1.47 2005-08-29 03:51:36 wcc Exp $
#
# This is a sample Eggdrop configuration file which includes all possible
# settings that can be used to configure your bot.
#
# The pound signs (#) that you see at the beginning of some lines mean that
# the remainder of that line is a comment, or just for your information. By
# adding or deleting pound signs, you can comment or uncomment a setting,
# respectively.
#
# Arguments for a command or setting may be inclosed in <>'s or []'s in the
# example/description. Arguments in <>'s are required, while [] means optional.
#
# More detailed descriptions of all these settings can be found in
# doc/settings/.
###########################
set userfile "Jambot.user"
set pidfile "pid.Jambot"
set chanfile "Jambot.chan"
set nick "\[TCL\]View"
set altnick "\[EGG\]View"
set realname "The eggdrop View"
set notefile "Jambot.notes"
listen 8500 all
set net-type 0
set servers {
irc.swiftirc.net:6667
}
############################
##### BASIC SETTINGS #####
set username "James"
set admin "James <email: Condemed67@aol.com>"
set network "irc.swiftirc.net"
set timezone "GMT"
set offset "0"
#set my-hostname "virtual.host.com"
#set my-ip "99.99.0.0"
# This is the maximum number of logfiles allowed. This setting can be
# increased; however, don't decrease it.
set max-logs 360
set max-logsize 0
set quick-logs 0
set raw-log 1
set log-time 1
set keep-all-logs 1
set logfile-suffix ".%d%b%Y"
# must use military time for this setting. 300 is the default, and describes
# 03:00 (AM).
set switch-logfiles-at 300
set quiet-save 0
set console "mjks"
# If you want your userfile to be sorted upon saving, enable this setting.
# This causes the bot to use bit more CPU when saving the usefile.
set sort-users 1
set help-path "help/"
set text-path "text/"
set temp-path "tmp/"
set motd "text/motd"
set telnet-banner "text/banner"
set userfile-perm 0600
set ignore-time 15
set hourly-updates 10
set owner "James, Khobbits"
set notify-newusers "$owner"
##### BOTNET/DCC/TELNET #####
set remote-boots 0
set share-unlinks 0
set protect-telnet 0
set dcc-sanitycheck 0
set ident-timeout 5
set require-p 1
set open-telnets 1
set stealth-telnets 0
set use-telnet-banner 0
set connect-timeout 15
set dcc-flood-thr 3
set telnet-flood 5:60
set paranoid-telnet-flood 0
set resolve-timeout 20
##### MORE ADVANCED SETTINGS #####
# Set this to your socks host if your Eggdrop sits behind a firewall. If
# you use a Sun "telnet passthru" firewall, prefix the host with a '!'.
#set firewall "!sun-barr.ebay:3666"
# If you have a NAT firewall (you box has an IP in one of the following
# ranges: 192.168.0.0-192.168.255.255, 172.16.0.0-172.31.255.255,
# 10.0.0.0-10.255.255.255 and your firewall transparently changes your
# address to a unique address for your box) or you have IP masquerading
# between you and the rest of the world, and /dcc chat, /ctcp chat or
# userfile sharing aren't working, enter your outside IP here. This IP
# is used for transfers only, and has nothing to do with the my-ip or
# my-hostname settings. You may still need to set my-ip and/or my-hostname.
#set nat-ip "127.0.0.1"
# If you want all dcc file transfers to use a particular portrange either
# because you're behind a firewall, or for other security reasons, set it
# here.
#set reserved-portrange 2010:2020
# Enter the flags that all new users should get by default. See '.help whois'
# on the partyline for a list of flags and their descriptions.
set default-flags "p"
# Enter all user-defined fields that should be displayed in a '.whois'.
# This will only be shown if the user has one of these extra fields.
# You might prefer to comment this out and use the userinfo1.0.tcl script
# which provides commands for changing all of these.
#set whois-fields "url birthday"
set die-on-sighup 0
set die-on-sigterm 1
# Comment these two lines if you wish to enable the .tcl and .set commands.
# If you select your owners wisely, you should be okay enabling these.
#unbind dcc n tcl *dcc:tcl
#unbind dcc n set *dcc:set
# If you enable this setting, only permanent owners (owner setting) will be
# able to use .tcl and .set. Moreover, if you want only let permanent owners
# use .dump, then set this to 2.
set must-be-owner 1
# Comment out this line to add the 'simul' partyline command (owners can
# manipulate other people on the party line). Please select owners wisely
# and use this command ethically!
#unbind dcc n simul *dcc:simul
set max-dcc 50
# Enable this setting if you want +d & +k users to use commands bound as -|-.
set allow-dk-cmds 1
set dupwait-timeout 5
##### MODULES #####
# This path specifies the path were Eggdrop should look for its modules.
# If you run the bot from the compilation directory, you will want to set
# this to "". If you use 'make install' (like all good kiddies do ;), this
# is a fine default. Otherwise, use your head :)
set mod-path "modules/"
#### Transfer #####
loadmodule transfer
set copy-to-tmp 0
set max-dloads 5
set xfer-timeout 120
set dcc-block 0
#### DNS MODULE ####
# This module provides asynchronous dns support. This will avoid long
# periods where the bot just hangs there, waiting for a hostname to
# resolve, which will often let it timeout on all other connections.
loadmodule dns
#### CHANNELS MODULE ####
# This module provides channel related support for the bot. Without it,
# you won't be able to make the bot join a channel or save channel
# specific userfile information.
loadmodule channels
# Set this setting to 1 if you want your bot to expire bans/exempts/invites set
# by other opped bots on the channel.
set force-expire 0
# Set this setting to 1 if you want your bot to share user greets with other
# bots on the channel if sharing user data.
set share-greet 1
# Set this setting to 1 if you want to allow users to store an info line.
set use-info 1
# The following settings are used as default values when you .+chan #chan or .tcl
# channel add #chan. Look in the section below for explanation of every option.
set global-flood-chan 0:0
set global-flood-deop 0:0
set global-flood-kick 0:0
set global-flood-join 0:0
set global-flood-ctcp 0:0
set global-flood-nick 0:0
set global-aop-delay 0:0
set global-idle-kick 0
set global-chanmode ""
set global-stopnethack-mode 0
set global-revenge-mode 0
set global-ban-time 240
set global-exempt-time 120
set global-invite-time 120
set global-chanset {
-autoop +autovoice
-bitch -cycle
+dontkickops -dynamicbans
+dynamicexempts +dynamicinvites
+enforcebans +greet
-inactive -nodesynch
-protectfriends -protectops
-revenge -revengebot
-secret +seen
-shared +statuslog
+userbans +userexempts
+userinvites -protecthalfops
-autohalfop
}
#### SERVER MODULE ####
loadmodule server
# What is your network?
# 0 = EFnet
# 1 = IRCnet
# 2 = Undernet
# 3 = DALnet
# 4 = +e/+I/max-modes 20 Hybrid
# 5 = Others
# This is a Tcl script to be run immediately after connecting to a server.
bind evnt - init-server evnt:init_server
proc evnt:init_server {type} {
global botnick
putquick "MODE $botnick +ixw-s"
}
set default-port 6667
set keep-nick 1
set strict-host 0
set quiet-reject 0
set lowercase-ctcp 1
set answer-ctcp 3
set flood-msg 5:60
set flood-ctcp 3:60
# This settings makes the bot cycle forever through the server list until
# it successfully connects to one.
set never-give-up 1
# This setting defines how long Eggdrop should wait before moving from one
# server to another on disconnect. If you set 0 here, Eggdrop will not wait
# at all and will connect instantly.
set server-cycle-wait 60
set server-timeout 60
set servlimit 0
# Set this to 1 if Eggdrop should check for stoned servers? (where the
# server connection has died, but Eggdrop hasn't been notified yet).
set check-stoned 1
set serverror-quit 1
set max-queue-msg 500
set trigger-on-ignore 0
set exclusive-binds 0
set double-mode 0
set double-server 1
set double-help 0
set use-penalties 1
set optimize-kicks 1
# If your network supports more recipients per command then 1, you can
# change this behavior here. Set this to the number of recipients per
# command, or set this to 0 for unlimited.
set stack-limit 6
### SERVER MODULE - OTHER NETWORKS (net-type 5) ###
# This settings defines how umode +r is understood by Eggdrop. Some networks
# use +r to indicate a restricted connection. If this is your case, and you
# want your bot to leave restricted servers and jump to the next server on its
# list, then set it to 1.
#set check-mode-r 1
# This setting allows you to specify the maximum nick-length supported by your
# network. The default setting is 9. The maximum supported length by Eggdrop
# is 32.
set nick-len 30
#### CTCP MODULE ####
loadmodule ctcp
set ctcp-mode 2
# There are also several variables to help make your bot less noticeable.
# They are: ctcp-version, ctcp-finger, and ctcp-userinfo. You can use set to set
# them to values you'd like.
#### IRC MODULE ####
loadmodule irc
set bounce-bans 0
set bounce-exempts 0
set bounce-invites 0
set bounce-modes 0
set max-bans 40
set max-exempts 0
set max-invites 0
set max-modes 40
# The following settings should be left commented unless the default values
# are being overridden. By default, exempts and invites are on for EFnet and
# IRCnet, but off for all other large networks. This behavior can be modified
# with the following 2 flags. If your network doesn't support +e/+I modes then
# you will be unable to use these features.
#
# Do you want to enable exempts (+e modes)?
#set use-exempts 0
# Do you want to enable invites (+I modes)?
#set use-invites 1
set kick-fun 0
set ban-fun 0
# If you want people to be able to add themselves to the bot's userlist
# with the default userflags (defined above in the config file) via the
# 'hello' msg command, set this to 1.
set learn-users 1
# Set here the time (in seconds) to wait for someone to return from a netsplit
# (i.e. wasop will expire afterwards). Set this to 1500 on IRCnet since its
# nick delay stops after 30 minutes.
set wait-split 600
# Set here the time (in seconds) that someone must have been off-channel
# before re-displaying their info line.
set wait-info 360
# Set this to the maximum number of bytes to send in the arguments
# of modes sent to the server. Most servers default this to 200.
set mode-buf-length 200
# Many IRCops find bots by seeing if they reply to 'hello' in a msg.
# You can change this to another word by un-commenting the following
# two lines and changing "myword" to the word wish to use instead of
# 'hello'. It must be a single word.
#unbind msg - hello *msg:hello
#bind msg - myword *msg:hello
#bind msg - idme *msg:ident.
bind msg - addhost *msg:addhost
set opchars "@"
#set opchars "@&~"
set no-chanrec-info 0
### IRC MODULE - OTHER NETWORKS (net-type 5) ###
# If your network supports more users per kick command then 1, you can
# change this behavior here. Set this to the number of users to kick at
# once, or set this to 0 for all at once.
#set kick-method 1
#set modes-per-line 6
#set include-lk 1
# Set this to 1 if your network uses IRCu2.10.01 specific /who requests.
# Eggdrop can, therefore, ask only for exactly what's needed.
set use-354 0
# If your network doesn't use rfc 1459 compliant string matching routines,
# set this to 0.
set rfc-compliant 1
#### NOTES MODULE ####
loadmodule notes
set max-notes 50
set note-life 120
set allow-fwd 0
set notify-users 1
set notify-onjoin 1
#### CONSOLE MODULE ####
loadmodule console
set console-autosave 1
set force-channel 0
set info-party 1
#### SHARE MODULE ####
loadmodule share
set allow-resync 1
set resync-time 900
set private-global 0
set private-globals ""
set private-user 0
set override-bots 0
#### OTHER MODULES #
loadmodule blowfish
loadmodule uptime
##### SCRIPTS #####
#This is a good place to load scripts to use with your bot.
# This line loads script.tcl from the scripts directory inside your Eggdrop's
# directory. All scripts should be put there, although you can place them where
# you like as long as you can supply a fully qualified path to them.
#
# source scripts/script.tcl
source scripts/alltools.tcl
source scripts/action.fix.tcl
source scripts/fsck.tcl