68 lines
1.3 KiB
Plaintext
68 lines
1.3 KiB
Plaintext
# Auto Example Configuration File.
|
|
|
|
# Server block.
|
|
server "Freenode" {
|
|
# Server address/IP.
|
|
host "irc.freenode.net";
|
|
# Server port.
|
|
port 6667;
|
|
# Bot nickname.
|
|
nick "SomeBot";
|
|
# Bot ident.
|
|
ident "SomeBot";
|
|
# Bot realname.
|
|
realname "SomeBot";
|
|
# IP/host to connect from.
|
|
bind 0.0.0.0;
|
|
# Identify to auth services via PRIVMSG.
|
|
idstr = "PRIVMSG NickServ :IDENTIFY moocow12345";
|
|
# Single-line channel auto-join.
|
|
ajoin "#freenode,#somebot";
|
|
}
|
|
|
|
# Server block.
|
|
server "Thinstack" {
|
|
# Server address/IP.
|
|
host "irc.thinstack.net";
|
|
# Server port.
|
|
port 6667;
|
|
# Bot nickname.
|
|
nick "SomeBot";
|
|
# Bot ident.
|
|
ident "SomeBot";
|
|
# Bot realname.
|
|
realname "SomeBot";
|
|
# Connection password, this is hardly ever used.
|
|
#pass "password";
|
|
# IP/host to connect from.
|
|
bind 0.0.0.0;
|
|
# Identify to auth services via an alias.
|
|
idstr "NS IDENTIFY moocow12345";
|
|
# Multi-line channel auto-join.
|
|
ajoin "#xelhua";
|
|
ajoin "#somebot";
|
|
}
|
|
|
|
# Privileges.
|
|
privset "owner" {
|
|
priv "ALL";
|
|
}
|
|
|
|
# User access.
|
|
user "starcoder" {
|
|
nick "starcoder";
|
|
ident "*";
|
|
host "starcoder.info";
|
|
privs "owner";
|
|
}
|
|
|
|
# Locale.
|
|
locale "en_US";
|
|
|
|
# Expire logs in days. 0 disables.
|
|
expire_logs 15;
|
|
|
|
# Module autoload.
|
|
module "m_weather";
|
|
module "m_gcalc";
|