$notify » History » Revision 2
« Previous |
Revision 2/6
(diff)
| Next »
Per Amundsen, 04/01/2016 02:49 PM
Added in 2.3
$notify
Returns $true if Notify is enabled, otherwise $false.
Added in 1.9.0
$notify(N|nick)
Returns the Nth nickname in your Notify list.
Parameters
N|nick - Nick or if N = 0, number of nicks, otherwise the Nth nick.
Properties
.ison - Returns $true if the nick is online, otherwise $false.
.note - Returns note for this nick.
.sound - Returns beep/filename or $null.
.whois - Returns $true if /whois for this nick is enabled, otherwise $false.
.addr - Returns the hostname for the nick.
.network - Returns the network name set for this nick.
Example
: Print number of notiy nicks. //echo -ag $notify(0) ; Print the first notify nick. //echo -ag $notify(1) is $iif($notify(1).ison, online, offline)
Updated by Per Amundsen over 8 years ago · 2 revisions