Changeset 6f0ea57 for doc


Ignore:
Timestamp:
2010-07-17T14:37:33Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
0d691ea
Parents:
5e98ff0
Message:

Making nick_format a tiny bit more complicated: Allow truncating a variable
to a certain length.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/user-guide/misc.xml

    r5e98ff0 r6f0ea57  
    204204
    205205<para>
    206 One modifier is currently available: %-@variable will remove all characters from the first @ in the string.
    207 </para>
    208 
    209 <para>
    210 In all cases, invalid characters (like spaces) will be stripped. Depending
    211 on your locale settings, characters with accents will be converted to ASCII.
     206Invalid characters (like spaces) will always be stripped. Depending on your
     207locale settings, characters with accents will be converted to ASCII.
     208</para>
     209
     210<para>
     211See <emphasis>set nick_format2</emphasis> for some more information.
     212</para>
     213
     214</sect1>
     215
     216<sect1 id="nick_format2">
     217<title>Nickname formatting - modifiers</title>
     218
     219<para>
     220Two modifiers ares currently available: You can include only the first few
     221characters of a variable by putting a number right after the %. For example,
     222<emphasis>[%3group]%-@nick</emphasis> will include only the first three
     223characters of the group name in the nick.
     224</para>
     225
     226<para>
     227Also, you can truncate variables from a certain character using
     228the <emphasis>-</emphasis>modifier. For example, you may want to leave out
     229everything after the @. <emphasis>%-@handle</emphasis> will expand to
     230everything in the handle up to the first @.
    212231</para>
    213232
Note: See TracChangeset for help on using the changeset viewer.