Difference between revisions of "$away"
From Scriptwiki
m |
|||
(One intermediate revision by one other user not shown) | |||
Line 6: | Line 6: | ||
== Examples == | == Examples == | ||
+ | The following creates an alias named awaycheck which will echo if you are away or not.<br \> | ||
+ | Usage: /awaycheck | ||
[[Alias|alias]] awaycheck { | [[Alias|alias]] awaycheck { | ||
Line 13: | Line 15: | ||
== See also == | == See also == | ||
− | + | * [[Modifying mIRCs own Away system]], [[$awaymsg]] and [[$awaytime]]. | |
− | [[Modifying mIRCs own Away system]], [[$awaymsg]] and [[$awaytime]]. | ||
[[Category:Other Identifiers]] | [[Category:Other Identifiers]] |
Latest revision as of 10:14, 2 July 2007
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. } }