Debian Codegraph @

help/alias/width

raw
1 ! $Id: width,v 1.4 2002-02-21 17:16:31 f Exp $
2 !
3 ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green,
4 ! and other ircII contributors.
5 !
6 ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more
7 ! information.
8 !
9 ALIAS MODIFIER:
10 This modifier is a width specifier for any of the forms of
11 alias. This is done by placing [<width>] after the $ (and
12 after and ^c expressions). For example:
13 $[10]C
14 This expand to your current channel, but it will truncate any
15 characters beyond 10 in the channel name. If the channel is
16 less than 10 characters, it will be padded on the right with
17 blanks. Specifying a negative width will justify the field on
18 the right and pad on the left with blanks. A width of 0 is
19 treated as though no width specifier was used. If you get real
20 tricky, you can do things like this:
21 $([$CHANNEL_NAME_WIDTH]C)
22 The value of the ScrollZ variable CHANNEL_NAME_WIDTH will be expanded
23 in the $() expression. If CHANNEL_NAME_WIDTH is 10, this will result
24 in $[10]C which will then expand as described above.
25
26 Remember, you can use both forms of modifiers, but they must be in
27 the correct order. All ^ modifiers must be first, followed by any
28 [] modifier. For example:
29 $^.[-10]S
30 This will right justify your server name and quote any . in the
31 server name with \.
32
33 See Also:
34 ALIAS QUOTE