isaway
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | isaway [2006/08/01 03:45] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | # $EPIC: isaway.txt, | ||
+ | ======Synopsis: | ||
+ | $__isaway__() \\ | ||
+ | $__isaway__(< | ||
+ | |||
+ | ======Technical: | ||
+ | * If the <server refnum> argument is omitted, the "from (current) server" | ||
+ | * If the <server refnum> argument is not a number, it will be changed to the server refnum 0. | ||
+ | * If the <server refnum> argument is not a valid server refnum, the return value is 0. | ||
+ | * This function returns 1 if you are [[AWAY]] on that server, and 0 if you are not. | ||
+ | |||
+ | ======Practical: | ||
+ | You may want to change the behavior of an alias depending on whether or not you | ||
+ | are [[AWAY]]. | ||
+ | |||
+ | ======Returns: | ||
+ | < | ||
+ | 1 if you are AWAY on the specified server | ||
+ | 0 if you are not. | ||
+ | </ | ||
+ | |||
+ | ======Examples: | ||
+ | < | ||
+ | $isaway() | ||
+ | $isaway(3) | ||
+ | </ | ||
isaway.txt · Last modified: 2006/08/01 03:45 by 127.0.0.1