summaryrefslogtreecommitdiff
path: root/blabouncer.conf.example
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2019-09-14 20:44:32 +0100
committerLuke Bratch <luke@bratch.co.uk>2019-09-14 20:44:32 +0100
commit4dea4c16313ba3d1575cfa6722d75492c907f551 (patch)
treecade95813a471e3aa4597a5a35e907e2cd675181 /blabouncer.conf.example
parente1f41810ac85a0d210062ed33f43938dc4b03be4 (diff)
Specify multiple nicks using a configuration array instead of multiple individual settings.
Diffstat (limited to 'blabouncer.conf.example')
-rw-r--r--blabouncer.conf.example31
1 files changed, 25 insertions, 6 deletions
diff --git a/blabouncer.conf.example b/blabouncer.conf.example
index 12727c9..0513fdc 100644
--- a/blabouncer.conf.example
+++ b/blabouncer.conf.example
@@ -1,18 +1,34 @@
# blabouncer configuration file
#
-# Entries must be in the form:
+# Normal entries must be in the form:
# option name, space, equals sign, space, double quote, option value, double quote
# e.g.
# realname = "Mr Bla Bouncer"
#
+# Array entries must be in the form:
+# option name, space, equals sign, space, open brace
+# (optional indentation,) double quote, element value, double quoute
+# (optional multiple values to be repeated after the first one(s))
+# close brace
+# e.g.
+# connectcommands = {
+# "PRIVMSG NickServ IDENTIFY bananas"
+# "PRIVMSG myfriend I'm online!"
+# }
+#
# Shell expansion is not supported, so do not try and specify e.g.
# "~/.blabouncer/" or "$HOME/.blabouncer/", instead use "/home/foo/.blabouncer"
#
# Some settings can be reloaded at runtime, please refer to README for details.
-nick = "blabounce"
-nick2 = "bbounce2"
-nick3 = "bbounce3"
+# Nick(s) to use when connecting - will be cycled through in order in the event of
+# a nick being in use or invalid
+nicks = {
+ "blabounce"
+ "bbounce2"
+ "bbounce3"
+}
+
username = "bounceusr"
realname = "Mr Bla Bouncer"
@@ -57,8 +73,11 @@ ircserverport = "6697"
# Real IRC server password
#ircserverpassword = "apples"
-# Command to send to the server upon completing registration (e.g. a NickServ password)
-#connectcommand "PRIVMSG NickServ IDENTIFY bananas"
+# Command(s) to send to the server upon completing registration (e.g. a NickServ password)
+#connectcommands = {
+# "PRIVMSG NickServ IDENTIFY bananas"
+# "PRIVMSG myfriend I'm online!"
+#}
# Base directory (defaults to $HOME/.blabouncer/)
# Things such as the logs directory will be placed below this