Site Tools


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,v 1.2 2006/08/01 03:40:36 sthalik Exp $
 +======Synopsis:======
 +$__isaway__() \\
 +$__isaway__(<server refnum>)
 +
 +======Technical:======
 +   * If the <server refnum> argument is omitted, the "from (current) server" is the default.
 +   * 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:======
 +<file>
 +1  if you are AWAY on the specified server
 +0  if you are not.
 +</file>
 +
 +======Examples:======
 +<file>
 +$isaway()         might return 0 or 1
 +$isaway(3)        might return 0 or 1
 +</file>
  
isaway.txt · Last modified: 2006/08/01 03:45 by 127.0.0.1