From 32622052ac64fedb2271f0db348503454dcb4b08 Mon Sep 17 00:00:00 2001 From: Elijah Perrault Date: Mon, 3 Jan 2011 15:02:07 -0700 Subject: [PATCH] Example config. --- etc/auto.conf.example | 55 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 etc/auto.conf.example diff --git a/etc/auto.conf.example b/etc/auto.conf.example new file mode 100644 index 0000000..419d3e4 --- /dev/null +++ b/etc/auto.conf.example @@ -0,0 +1,55 @@ +# 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; + # 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"; + # IP/host to connect from. + bind 0.0.0.0; + # 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"; +} + +# Module autoload. +module "m_weather"; +module "m_gcalc";