Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
171 lines (112 sloc) 4.73 KB
# $Id$
# Define a database where links will be stored. Currently only
# supports a single flat-file database.
# The code name for this database. It is used internally to
# associate IRC clients, MUD clients, and web servers with a
# data source.
name db
# The type of database this is. Currently only supports File,
# but other types are planned.
type File
dbname ./links.list
# Define a web log. Each log is actually a separate server, with a
# different host and/or port address.
# The code name for this web log/server. It is used
# internally to associate IRC/MUD clients and data sources
# with the server that presents the list of links.
name global
# The local interface to bind on. It's not uncommon for this
# address to be different than what the outside world knows.
# This interface may be a name or numeric address.
# The public interface name for this server's address. It
# should be as human-friendly as possible.
# The port to listen on.
port 10000
# Login and password to use for http authentication. If
# either is omitted, no authentication is done.
login memephage
passwd noroboto
# Define an IRC client. Each "irc" section defines another client
# that memephage uses to connect to a network. Each client may listen
# on as many channels as its server allows.
# The code name for this IRC client. It is used internally to
# associate IRC clients with web servers.
name efnet
# A list of IRC servers to connect to. The bot will cycle
# through them in order, so put your favorites first.
# The nickname this client will use.
nick memephage
# The user name this client will advertise when connecting to
# the network.
uname memephage
# The bot's "IRC name", which appears in /whois. If you
# follow the convention of putting the bot's URL here, be sure
# the host and port match "ifname" and "port" in the
# corresponding "web_server" section.
# The bot's "away" message.
away eating memes <>
# The bot's "quit" message.
quit *byoop*
# Any flags you wish to set on the bot once it connects. This
# makes the bot "invisible", which helps keep it from being
# harassed.
flags +i
# The bot's CTCP USERINFO. Some servers/networks require
# clients to respond to this.
cuinfo default user information
# The bot's CTCP VERSION. Some servers/networks require
# clients to respond to this.
cver memephage 1.0 <>
# The bot's CTCP CLIENTINFO. Some servers/networks require
# clients to respond to this.
# A list of channels to join once the bot has connected. The
# bot may exist on several channels per server.
channel perl
channel perlhelp
# The internal code name for the web log that will display
# URLs from this client. This routes logged URLs to the
# proper web interface.
logto global
# Define a MUD client. Currently the Client/ file only
# recognizes PerlMud.
# The code name for this MUD client. It is used internally to
# associate MUD clients with web servers.
name tastymud
# The MUD's remote host and port.
port 1234
# A message template for shortened links. One of the MUD
# features of memephage is to replace longer links (more than
# 75 characters) with a short one that won't wordwrap in
# standard terminal sizes. The "<<id>>" part is replaced by a
# unique link ID.
short See also:<<id>>
# The MUD bot's login ID. This is used to detect when the bot
# is being addressed.
login tastybot
# A simple login script. When a line appears with text from a
# "get" entry, the next "put" entry is sent. In this way, the
# bot can generically negotiate login prompts.
get Type "connect name password" now to log in.
put connect tastybot password
get Welcome Room
put @doing logging urls at
get Doing doing doing!
put goto tastyroom
get Tastyroom Chat
put @desc me=I'm a bot. See my @doing for info!