Project

General

Profile

$notify » History » Version 2

Per Amundsen, 04/01/2016 02:49 PM

1 2 Per Amundsen
_Added in 2.3_
2 1 Per Amundsen
3
*$notify*
4
5 2 Per Amundsen
Returns [[$true]] if Notify is enabled, otherwise [[$false]].
6 1 Per Amundsen
7
-----------------------------------------------------------------------------
8
9 2 Per Amundsen
_Added in 1.9.0_
10
11 1 Per Amundsen
*$notify(N|nick)*
12
13
Returns the Nth nickname in your Notify list.
14
15
*Parameters*
16
17
N|nick - Nick or if N = 0, number of nicks, otherwise the Nth nick.
18
19
*Properties*
20
21
.ison - Returns [[$true]] if the nick is online, otherwise [[$false]].
22 2 Per Amundsen
.note - Returns note for this nick.
23
.sound - Returns beep/filename or [[$null]].
24
.whois - Returns [[$true]] if /whois for this nick is enabled, otherwise [[$false]].
25
.addr - Returns the hostname for the nick.
26
.network - Returns the network name set for this nick.
27 1 Per Amundsen
28
*Example*
29
30
<pre>
31
: Print number of notiy nicks.
32
//echo -ag $notify(0)
33
34
; Print the first notify nick.
35
//echo -ag $notify(1) is $iif($notify(1).ison, online, offline)
36
</pre>