| 1 |
! $Id: status_format,v 1.8 2006-10-31 12:31:27 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 |
Usage: SET STATUS_FORMAT <format description for status line> |
| 10 |
Setting the variable allows you to alter the appearance of the |
| 11 |
status line. Certain special characters are recognized in |
| 12 |
this format line and replaced with various bits of status line |
| 13 |
information. Each of these special characters is preceeded by |
| 14 |
a '%'. Here is a list of these characters: |
| 15 |
A Value of STATUS_AWAY variable. * |
| 16 |
B Value of STATUS_HOLD_LINES variable. * |
| 17 |
C Your current channel. |
| 18 |
D Current status of user list (F=on, f=off). * |
| 19 |
E Current status of nethack protection: (N=on, n=off). * |
| 20 |
(q=quiet, m=medium, f=full) |
| 21 |
F Value of STATUS_NOTIFY variable. * |
| 22 |
H Value of STATUS_HOLD variable. * |
| 23 |
I Value of STATUS_INSERT variable. * |
| 24 |
J Current DCC status: G=DCC get, g=DCC reget |
| 25 |
S=DCC send, s=DCC resend |
| 26 |
and the completion status. * |
| 27 |
L Current status of CTCP cloak (H=hide, K=on, k=off). * |
| 28 |
M Value of STATUS_MAIL variable. * |
| 29 |
N Your current nickname. |
| 30 |
O Value of STATUS_OVERWRITE variables. * |
| 31 |
P Value of STATUS_SCROLLED variable. * |
| 32 |
s Value of STATUS_SCROLLED_LINES variable. * |
| 33 |
Q Value of STATUS_QUERY variable. * |
| 34 |
R Current window refnum or name. |
| 35 |
S Value of STATUS_SERVER variable. * |
| 36 |
T Value of STATUS_CLOCK variable. * |
| 37 |
U Value of STATUS_CHANNELCOUNT variable. * |
| 38 |
V Current ircII version |
| 39 |
W Value of STATUS_WINDOW variable. * |
| 40 |
X Current status of flood protection (M=max, P=on, p=off). * |
| 41 |
Z Value of STATUS_LOADAVG variable (only in Cele). * |
| 42 |
+ Value of STATUS_MODE variable. * |
| 43 |
!00 - !09 Value of STATUS_USER, |
| 44 |
STATUS_USER1 to STATUS_USER9 variable. * |
| 45 |
* Value of STATUS_OPER variable. * |
| 46 |
@ Value of STATUS_CHANOP variable. * |
| 47 |
# Value of STATUS_UMODE variable. |
| 48 |
> Makes anything beyond it right justified. |
| 49 |
% Replaced by % |
| 50 |
1 Value of STATUS_UPTIME variable. * |
| 51 |
2 Current lag. * |
| 52 |
3 Last person to join the current channel. * |
| 53 |
4 Number of Cdcc packs offered. * |
| 54 |
5 Number of active DCC send connections. * |
| 55 |
6 Number of active DCC get connections. * |
| 56 |
7 Current status of Cdcc autoget (A=on, a=off). * |
| 57 |
8 Current status of Cdcc security (S=on, s=off). * |
| 58 |
9 Current channel's topic. * |
| 59 |
|
| 60 |
Those marked with * are only displayed in the status line when |
| 61 |
certain conditions are met. Please get help on the variables |
| 62 |
mentioned above for specifics about each one. |
| 63 |
|
| 64 |
For example, the standard default ScrollZ status line format |
| 65 |
looks like this: |
| 66 |
|
| 67 |
%y1[%y2%R%y6] %y2%*%y6%y3%@%y6%y7%N%y6%#%C%+%A%Q%S%I%O %y3%W%y6 |
| 68 |
%F%y9%H%y6 %> [lj %y5%3%y6]%y0 |
| 69 |
which when expanded for the nickname Dae on the channel #blue |
| 70 |
[1] @Dae on #blue (+tn) [lj Dae/#blue] |
| 71 |
|
| 72 |
The window number %R is 1 |
| 73 |
The nickname %N is Dae and Dae is a channel op %@ @ |
| 74 |
Dae is on channel %C #blue |
| 75 |
The mode %+ calls up the contents of the STATUS_MODE variable |
| 76 |
and displays the channel modes, (+ps) |
| 77 |
The end of the status_format %3 expands to the contents of |
| 78 |
person that last joined #blue "Dae/#blue" |
| 79 |
|
| 80 |
Everything else is ignored unless it's needed. |
| 81 |
|
| 82 |
You can now include text modification characters |
| 83 |
(^B, ^V, ^_ and ^O) in STATUS_FORMAT. If you change |
| 84 |
the format at the start of STATUS_FORMAT, you will |
| 85 |
have to do it again after any %C or %U, as these |
| 86 |
both reset it to reverse video. Additionaly %y1 |
| 87 |
to %y6 expand to values of COLOR SBAR and %y7 to |
| 88 |
%y9, %ya, %yb and %yc expand to values of COLOR SBAR2. |
| 89 |
You can turn all colors off with %y0. |
| 90 |
|
| 91 |
See Also: |
| 92 |
SET STATUS_AWAY |
| 93 |
SET STATUS_CHANNEL |
| 94 |
SET STATUS_CHANNELCOUNT |
| 95 |
SET STATUS_CHANOP |
| 96 |
SET STATUS_CLOCK |
| 97 |
SET STATUS_DQUERY |
| 98 |
SET STATUS_FORMAT |
| 99 |
SET STATUS_HOLD |
| 100 |
SET STATUS_HOLD_LINES |
| 101 |
SET STATUS_INSERT |
| 102 |
SET STATUS_LOADAVG |
| 103 |
SET STATUS_MAIL |
| 104 |
SET STATUS_MODE |
| 105 |
SET STATUS_NOTIFY |
| 106 |
SET STATUS_OPER |
| 107 |
SET STATUS_OVERWRITE |
| 108 |
SET STATUS_QUERY |
| 109 |
SET STATUS_REVERSE |
| 110 |
SET STATUS_SERVER |
| 111 |
SET STATUS_SCROLLED |
| 112 |
SET STATUS_SCROLLED_LINES |
| 113 |
SET STATUS_UMODE |
| 114 |
SET STATUS_UPTIME |
| 115 |
SET STATUS_USER |
| 116 |
SET STATUS_WINDOW |
| 117 |
SET CLOCK |