diff options
author | Timo Sirainen <cras@irssi.org> | 2001-01-28 03:48:18 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-01-28 03:48:18 +0000 |
commit | 2e2f9194faf7c39d4bec3633eaa4ae275e8f9d1b (patch) | |
tree | 6954d446c07d6aedb36ed52c8053b32901ca078b /docs | |
parent | f382abee30e6ce07df88dcf43160c900dd877c09 (diff) | |
download | irssi-2e2f9194faf7c39d4bec3633eaa4ae275e8f9d1b.zip |
Added long $variables + some updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1151 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'docs')
-rw-r--r-- | docs/special_vars.txt | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/docs/special_vars.txt b/docs/special_vars.txt index a5e376f0..41b63925 100644 --- a/docs/special_vars.txt +++ b/docs/special_vars.txt @@ -14,11 +14,11 @@ numerous variable modifiers available. $[num]variable Expands to the variables value, with 'num' width. If | the number is negative, the value is right-aligned. | The value is padded to meet the width with the - | character given after number (default is space). - | The value is truncated to specified width unless - | '!' character precedes the number. If '.' character - | precedes the number the value isn't padded, just - | truncated. + | character given after number (default is space). + | The value is truncated to specified width unless + | '!' character precedes the number. If '.' character + | precedes the number the value isn't padded, just + | truncated. $#variable Expands to the number of words in $variable. If $variable | is omitted, it assumes $* $@variable Expands to the number of characters in $variable. if @@ -36,7 +36,7 @@ to it. If none of these expandos are used in the alias, or the $() form shown above, any arguments passed will automatically be appended to the last command in the alias. - Expando Description + Expando Description $* expands to all arguments passed to an alias $n expands to argument 'n' passed to an alias (counting from zero) $n-m expands to arguments 'n' through 'm' passed to an alias @@ -47,7 +47,7 @@ command in the alias. These variables are set and updated dynamically by the client. The case of $A .. $Z is important. - Variable Description + Variable Description $, last person who sent you a MSG $. last person to whom you sent a MSG $: last person to join a channel you are on @@ -70,15 +70,24 @@ $A .. $Z is important. $Q nickname of whomever you are QUERYing $R version of current server $S current server name - $T target of current input (channel or QUERY nickname) -! $U value of cutbuffer (*DOES NOT WORK* - there is no cut buffer..) - $V client release date (numeric version string) + $T target of current input (channel or nick of query) + $U value of cutbuffer + $V client release date (format YYYYMMDD) $W current working directory $X your /userhost $N address (user@host) $Y value of REALNAME $Z time of day (hh:mm) $$ a literal '$' + $sysname system name (eg. Linux) + $sysrelease system release (eg. 2.2.18) + $topic channel topic + $usermode user mode + $tag server tag + $chatnet chat network of server + $winref window reference number + $winname window name + For example, assume you have the following alias: alias blah msg $D Hi there! |