#! /hdd2/home2/ # # ##### MODULES ##### set mod-path "modules/" set help-path "help/" set text-path "text/" set temp-path "tmp/" set motd "text/motd" set telnet-banner "text/banner" loadmodule dns loadmodule channels loadmodule server loadmodule ctcp loadmodule irc loadmodule notes loadmodule console loadmodule blowfish loadmodule uptime ##### BASIC SETTINGS ##### # This setting defines the username the bot uses on IRC. This setting has # no effect if an ident daemon is running on your bot's machine. set username "Eggdrop" # Set the nick the bot uses on IRC, and on the botnet unless you specify a # separate botnet-nick, here. set nick "Rock|News" # Set the alternative nick which the bot uses on IRC if the nick specified # by 'set nick' is unavailable. All '?' characters will be replaced by random # numbers. set altnick "Eggdrop" # Set what should be displayed in the real-name field for the bot on IRC. set realname "Eggdrop" # Set new user notification - set your nickname here. set notify-newusers "Rock|News" # Un-comment the next line and set the list of owners of the bot. # You NEED to change this setting. set owner "ds5" # If you're using virtual hosting (your machine has more than 1 IP), you # may want to specify the particular IP to bind to. You can specify either # by hostname or by IP. You may also want to set the hostname here if # Eggdrop has trouble detecting it when it starts up. #set my-hostname "" #set my-ip "" ##### LOG FILES ##### # Eggdrop is capable of logging various things, from channel chatter to # commands people use on the bot and file transfers. Logfiles are normally # kept for 24 hours. Afterwards, they will be renamed to "(logfile).yesterday". # After 48 hours, they will be overwritten by the logfile of the next day. # # Events are logged by certain categories. This way, you can specify # exactly what kind of events you want sent to various logfiles. # # Logfile flags: # b - information about bot linking and userfile sharing # c - commands # d - misc debug information # h - raw share traffic # j - joins, parts, quits, and netsplits on the channel # k - kicks, bans, and mode changes on the channel # m - private msgs, notices and ctcps to the bot # o - misc info, errors, etc (IMPORTANT STUFF) # p - public text on the channel # r - raw incoming server traffic # s - server connects, disconnects, and notices # t - raw botnet traffic # v - raw outgoing server traffic # w - wallops (make sure the bot sets +w in init-server) # x - file transfers and file-area commands # # Note that modes d, h, r, t, and v can fill disk quotas quickly. There are # also eight user-defined levels (1-8) which can be used by Tcl scripts. # # Each logfile belongs to a certain channel. Events of type 'k', 'j', and 'p' # are logged to whatever channel they happened on. Most other events are # currently logged to every channel. You can make a logfile belong to all # channels by assigning it to channel "*". # This is the maximum number of logfiles allowed. This setting can be # increased; however, don't decrease it. set max-logs 5 # This is the maximum size of your logfiles. Set it to 0 to disable. # This value is in kilobytes, so '550' would mean cycle logs when it # reaches the size of 550 kilobytes. Note that this only works if you # have keep-all-logs 0 (OFF). set max-logsize 0 # This could be good if you have had problem with the logfile filling # your quota/hard disk or if you log +p and publish it to the web and # need more up-to-date info. Note that this setting might increase the # CPU usage of your bot (on the other hand it will decrease your mem usage). set quick-logs 0 # This setting allows you the logging of raw incoming server traffic via # console/log flag 'r', raw outgoing server traffic via console/log mode 'v', # raw botnet traffic via console/log mode 't', and raw share traffic via # console/log mode 'h'. These flags can create a large security hole, # allowing people to see user passwords. This is now restricted to +n users # only. Please choose your owners with care. set raw-log 1 # This creates a logfile named eggdrop.log containing private msgs/ctcps, # commands, errors, and misc. info from any channel. logfile mco * "logs/eSportsTV.log" # This creates a logfile named lamest.log containing joins, parts, # netsplits, kicks, bans, mode changes, and public chat on the # channel #lamest. logfile jpk #eSportsTV "logs/eSportsTV.log" # Use this feature to timestamp entries in the log file. set log-time 1 # If you want to keep your logfiles forever, turn this setting on. All # logfiles will get suffix ".[day, 2 digits][month, 3 letters][year, 4 digits]". # Note that your quota/hard-disk might be filled by this, so check your # logfiles often and download them. set keep-all-logs 0 # If keep-all-logs is 1, this setting will define the suffix of the logfiles. # The default will result in a suffix like "04May2000". "%Y%m%d" will produce # the often used yyyymmdd format. Read the strftime manpages for more options. # NOTE: On systems which don't support strftime, the default format will # be used _always_. set logfile-suffix ".%d%b%Y" # You can specify when Eggdrop should switch logfiles and start fresh. You # must use military time for this setting. 300 is the default, and describes # 03:00 (AM). set switch-logfiles-at 300 # "Writing user file..." and "Writing channel file..." messages won't be # logged anymore if this option is enabled. set quiet-save 0 ##### CONSOLE ##### # This is the default console mode. It uses the same event flags as the log # files do. The console channel is automatically set to your "primary" channel, # which is set in the modules section of the config file. Masters can change # their console channel and modes with the '.console' command. set console "mkcobxs" ##### FILES AND DIRECTORIES ##### # Specify here the filename your userfile should be saved as. set userfile "Eggdrop.user" # Specify here the filename Eggdrop will save its pid to. If no pidfile is # specified, pid.(botnet-nick) will be used. set pidfile "Eggdrop.pid" # 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 0 ##### MODULES ##### #### CHANNELS MODULE #### # Enter here the filename where dynamic channel settings are stored. set chanfile "Eggdrop.chan" # 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 0 # 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 #radiorevolt 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-flood-msg 0:0 set global-aop-delay 0 set global-idle-kick 0 set global-chanmode "" set global-stopnethack-mode 0 set global-revenge-mode 0 set global-ban-time 0 set global-exempt-time 0 set global-invite-time 0 set force-expire 0 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 } # enforcebans # When a ban is set, kick people who are on the channel and match # the ban? # # dynamicbans # Only activate bans on the channel when necessary? This keeps # the channel's ban list from getting excessively long. The bot # still remembers every ban, but it only activates a ban on the # channel when it sees someone join who matches that ban. # # userbans # Allow bans to be made by users directly? If turned off, the bot # will require all bans to be made through the bot's console. # # dynamicexempts # Only activate exempts on the channel when necessary? This keeps # the channel's exempt list from getting excessively long. The bot # still remembers every exempt, but it only activates a exempt on # the channel when it sees a ban set that matches the exempt. The # exempt remains active on the channel for as long as the ban is # still active. # # userexempts # Allow exempts to be made by users directly? If turned off, the # bot will require all exempts to be made through the bot's console. # # dynamicinvites # Only activate invites on the channel when necessary? This keeps # the channel's invite list from getting excessively long. The bot # still remembers every invite, but the invites are only activated # when the channel is set to invite only and a user joins after # requesting an invite. Once set, the invite remains until the # channel goes to -i. # # userinvites # Allow invites to be made by users directly? If turned off, the # bot will require all invites to be made through the bot's console. # # autoop # Op users with the +o flag as soon as they join the channel? # This is insecure and not recommended. # # autohalfop # Halfop users with the +l flag as soon as they join the channel? # This is insecure and not recommended. # # bitch # Only let users with +o) flag be opped on the channel? # # greet # Say a user's info line when they join the channel? # # protectops # Re-op a user with the +o flag if they get deopped? # # protecthalfops # Re-halfop a user with the +l flag if they get dehalfopped? # # protectfriends # Re-op a user with the +f flag if they get deopped? # # statuslog # Log the channel status line every 5 minutes? This shows the bot's # status on the channel (op, voice, etc.), the channel's modes, and # the number of +m/+o/+v/+n/+b/+e/+I users on the channel. A sample # status line follows: # # [01:40] @#lamest (+istn) : [m/1 o/1 v/4 n/7 b/1 e/5 I/7] # # revenge # Remember people who deop/kick/ban the bot, valid ops, or friends # and punish them? Users with the +f flag are exempt from revenge. # # revengebot # This is similar to to the 'revenge' option, but it only triggers # if a bot gets deopped, kicked or banned. # # autovoice # Voice users with the +v flag when they join the channel? # # secret # Prevent this channel from being listed on the botnet? # # shared # Share channel-related user info for this channel? # # cycle # Cycle the channel when it has no ops? # # dontkickops # Do you want the bot not to be able to kick users who have the +o # flag, letting them kick-flood for instance to protect the channel # against clone attacks. # # inactive # This prevents the bot from joining the channel (or makes it leave # the channel if it is already there). It can be useful to make the # bot leave a channel without losing its settings, channel-specific # user flags, channel bans, and without affecting sharing. # # seen # Respond to seen requests in the channel? The seen module must be # loaded for this to work. # # nodesynch # Allow non-ops to perform channel modes? This can stop the bot from # fighting with services such as ChanServ, or from kicking IRCops when # setting channel modes without having ops. #### SERVER MODULE #### # What is your network? # 0 = EFnet # 1 = IRCnet # 2 = Undernet # 3 = DALnet # 4 = +e/+I/max-modes 20 Hybrid # 5 = Others set net-type 5 # 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 +ix" } # Set the default port which should be used if none is specified with # '.jump' or in 'set servers'. set default-port 6667 # This is the bot's server list. The bot will start at the first server listed, # and cycle through them whenever it gets disconnected. You need to change these # servers to YOUR network's servers. # # The format is: # server[:port[:password]] # # Both the port and password fields are optional; however, if you want to set a # password you must also set a port. If a port isn't specified it will default to # your default-port setting. set servers { Krypt.CA.US.GameSurge.net:6667 } # This setting makes the bot try to get his original nickname back if its # primary nickname is already in use. set keep-nick 1 # Set here the port where the eggdrop should listen for telnet connections. listen 3333 all ##### 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 #Default source scripts/alltools.tcl source scripts/action.fix.tcl source scripts/compat.tcl source scripts/userinfo.tcl loadhelp userinfo.help