Windrop Example Configuration

The Windrop Config

The Windrop config is no different then the Eggdrop Config. The proceeding section of this page will deal with the eggdrop.conf settings needed to get a single bot up and running with BogusTrivia. Below are the minimum settings needed to get your new bot online with the BogusTrivia script.
If you prefer to preview the Windrop Config before editing you can view it here.
Please NOTE: It is recommended you edit your configuration file fully.

##BASIC SETTINGS##

Set Your Botnick

This setting is found at approximately line 21 in the eggdrop config. Set your desired nick for the bot within the quotes.
# 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 "lamest"

Set Your IRC Network

This setting is found at approximately line 29 in the eggdrop config. Set the IRC Network you want your bot to connect to within the quotes.
# This setting is used only for info to share with others on your botnet.
# Set this to the IRC network your bot is connected to.
set network "I.didn't.edit.my.config.file.net"

Set The Eggdrop Bots Address

This setting is found at approximately line 51 in the eggdrop config. Uncomment the two set commands and fill in the appropriate information. If your computer is behind a nat firewall you will leave these lines commented and set the bots address further down in the conf file.
Note: Uncomment means to remove the # symbol from the beginning of the line. Do not remove # symbols other then set commands you wish to enable.
# 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 "virtual.host.com"
#set my-ip "99.99.0.0"

##FILES AND DIRECTORIES##

Set Your Filenames

This setting is found at approximately line 173 in the eggdrop config. You may choose any filename you wish, however it is recommended you replace LamestBot with your chosen botnick, leaving the file extension in place. i.e. yourbotnick.user where .user is the file type.
# Specify here the filename your userfile should be saved as. set userfile "LamestBot.user"

##MORE ADVANCED SETTINGS##
Behind a NAT Firewall

This setting is found at approximately line 322 in the eggdrop config. Do NOT put the ip assigned by your router here. This setting must contain you actual ip provided by your Internet Service Provider.
Please NOTE: If your ISP has assigned you a Dynamic IP (one that changes) you will need to change this setting each time you wish to bring your Windrop back online.

# 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. Do not
# enter anything for my-ip or my-hostname if you use this setting.
#set nat-ip "123.12.123.12"

Set Owners

This setting is found at approximately line 350 in the eggdrop config.
# Un-comment the next line and set the list of owners of the bot.
# You NEED to change this setting.
#set owner "MrLame, MrsLame"
Uncomment the line above and insert your primary IRC Nick within the quotes. If you have more then one nick or user you wish to add as Owner separate with comma's as seen above.
Warning Allowing a user Owner status gives them full control over your bot. Choose carefully.

This second setting is found at approximately line 407 in the eggdrop config. You MUST comment out or remove the line below.
# You MUST remove this line for your bot to start. This has been added to
# prevent you from starting up a bot that is not fully configured. Bots
# that have not been fully configured may join the wrong IRC network, the
# wrong channels, or generally do things that you do not want. Please make
# sure that you have double-checked every setting. There's also a similar line
# lower down, just to make sure you're reading.
die "Please make sure you edit your config file completely."

##MODULES##

##DNS MODULE##

This second setting is found at approximately line 423 in the eggdrop config.
# 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##

These settings are found at approximately line 431 in the eggdrop config. Add the channel name you wish your bot to join on your chosen Network. It is assumed for this tutorial's purpose that your bot will be running BogusTrivia, so many of the settings do not apply and can be left at default.
Uncomment each line and simply add the static channel name you wish your bot to connect to.
# Add each static channel you want your bot to sit in using the following
# command. There are many different possible settings you can insert into
# this command, which are explained below.
#
# channel add #lamest {
# chanmode "+nt-likm"
# idle-kick 0
# stopnethack-mode 0
# revenge-mode 0
# ban-time 120
# exempt-time 60
# invite-time 60
# aop-delay 5:30
# need-op { putserv "PRIVMSG #lamest :op me cos i'm lame!" }
# need-invite { putserv "PRIVMSG #lamest :let me in!" }
# need-key { putserv "PRIVMSG #lamest :let me in!" }
# need-unban { putserv "PRIVMSG #lamest :let me in!" }
# need-limit { putserv "PRIVMSG #lamest :let me in!" }
# flood-chan 10:60
# flood-deop 3:10
# flood-kick 3:10
# flood-join 5:60
# flood-ctcp 3:60
# flood-nick 5:60
# }

##SERVER MODULE##

These settings begin at approximately line 758 in the eggdrop config.
# This module provides the core server support. You have to load this
# if you want your bot to come on IRC. Not loading this is equivalent
# to the old NO_IRC define.
loadmodule server

Select the Network you wish your bot to connect to.
# What is your network?
# 0 = EFnet
# 1 = IRCnet
# 2 = Undernet
# 3 = DALnet
# 4 = +e/+I/max-modes 20 Hybrid
# 5 = Others
set net-type 0

Set Your Network Servers List.
# 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 {
you.need.to.change.this:6667
another.example.com:7000:password
}
Example: us.undernet.org

Set the Nick your bot will use on IRC.
# Set the nick the bot uses on IRC, and on the botnet unless you specify a
# separate botnet-nick, here.
set nick "Lamestbot"

Select an alternate Nickname for your bot.
# 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 "Llamab?t"

Choose a comment or description for the realname. This information will be what users see if they whois your bot. It is recommend you change this from the default.
# Set what should be displayed in the real-name field for the bot on IRC.
# This can not be blank, it has to contain something.
set realname "/msg LamestBot hello"

##IRC MODULE##

This setting is at approximately line 1027 in the eggdrop config. This setting MUST temporally be changed so you may message your bot when it first appears online. After your bot is online and you have set you password it is recommended you disable this setting. Uncomment #bind msg : myword *msg:hello.
# 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

##NOTES MODULE##

This setting is at approximately line 1251 in the eggdrop config. You MUST comment out or remove the line below.
# Comment out this next line. Otherwise, your bot won't start.
die "You didn't edit your config file completely like you were told, did you?"

##SCRIPTS##

This setting is at approximately line 1331 in the eggdrop config. This is where you load the tcl scripts you wish to use. Note there are several scripts loaded by default in Eggdrop. Simply follow the syntax below to add the scripts you wish to run.
# 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
# Use this script for Tcl and Eggdrop backwards compatibility.
# NOTE: This can also cause problems with some newer scripts.
#source scripts/compat.tcl
# This script provides many useful informational functions, like setting
# users' URLs, e-mail address, ICQ numbers, etc. You can modify it to add
# extra entries.
source scripts/userinfo.tcl
loadhelp userinfo.help