User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

isaway [2006/08/01 03:45] (current)
Line 1: Line 1:
 +# $EPIC: isaway.txt,​v 1.2 2006/08/01 03:40:36 sthalik Exp $
 +$__isaway__() \\
 +$__isaway__(<​server refnum>)
 +   * 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.
 +You may want to change the behavior of an alias depending on whether or not you
 +are [[AWAY]].
 +1  if you are AWAY on the specified server
 +0  if you are not.
 +$isaway() ​        might return 0 or 1
 +$isaway(3) ​       might return 0 or 1
isaway.txt ยท Last modified: 2006/08/01 03:45 (external edit)