$away

From Scriptwiki
Revision as of 10:14, 2 July 2007 by Cail (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns $true or $false showing if you are marked as away or not

$away
  • It has no parameters or options

Examples

The following creates an alias named awaycheck which will echo if you are away or not.
Usage: /awaycheck

alias awaycheck {
  if ($away == $true) { echo -a I am currently away. }
  else { echo -a I am currently NOT away. }
}

See also