From 506344a903d3fa2fcb53f22a3a1c8174b1deb357 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Thu, 29 Mar 2018 19:04:11 +0100 Subject: Improve support for MOTD escape codes. - Implement escapes for italic, monospace, and strikethrough. - Use the escape codes in the example MOTDs to demonstrate their formatting effects. - Remove support for octal escape codes. In modern computing octal is rarely used and is confusing for users who might confuse it for decimal. --- docs/conf/inspircd.conf.example | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'docs/conf') diff --git a/docs/conf/inspircd.conf.example b/docs/conf/inspircd.conf.example index e28319a69..b5671ee6b 100644 --- a/docs/conf/inspircd.conf.example +++ b/docs/conf/inspircd.conf.example @@ -313,6 +313,18 @@ # Alternate MOTD file for this connect class. The contents of this file are # specified using or + # + # NOTE: the following escape sequences for IRC formatting characters can be + # used in your MOTD: + # Bold: \b + # Color: \c[,] + # Italic: \i + # Monospace: \m (not widely supported) + # Reset: \x + # Strikethrough: \s (not widely supported) + # Underline: \u + # See https://defs.ircdocs.horse/info/formatting.html for more information + # on client support for formatting characters. motd="secretmotd" # port: What port range this user is allowed to connect on. (optional) -- cgit v1.2.3