From db2cef1ab11cc58cc92c16fd9bccd0fe17e413e4 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Tue, 13 Jul 2010 01:09:40 +0100 Subject: Document this complex new beast. --- doc/user-guide/misc.xml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'doc/user-guide/misc.xml') diff --git a/doc/user-guide/misc.xml b/doc/user-guide/misc.xml index 175f0cd4..825d80ee 100644 --- a/doc/user-guide/misc.xml +++ b/doc/user-guide/misc.xml @@ -179,4 +179,38 @@ If you want to configure your own channels, you can use the channel se + +Nickname formatting + + +The nick_format setting can be set globally using the +set command, or per account using account +set (so that you can set a per-account suffix/prefix or have +nicknames generated from full names for certain accounts). + + + +The setting is basically some kind of format string. It can contain normal +text that will be copied to the nick, combined with several variables: + + + + %nickNickname suggested for this contact by the IM protocol, or just the handle if no nickname was suggested. + %handleThe handle/screenname of the contact. + %full_nameThe full name of the contact. + %first_nameThe first name of the contact (the full name up to the first space). + %groupThe name of the group this contact is a member of + + + +One modifier is currently available: %-@variable will remove all characters from the first @ in the string. + + + +In all cases, invalid characters (like spaces) will be stripped. Depending +on your locale settings, characters with accents will be converted to ASCII. + + + + -- cgit v1.2.3