Project

General

Profile

$notify » History » Version 3

Per Amundsen, 01/31/2019 02:58 AM

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 3 Per Amundsen
.sound - Returns online beep/filename or [[$null]].
24
.sound2 - Returns offline beep/filename or [[$null]].
25 2 Per Amundsen
.whois - Returns [[$true]] if /whois for this nick is enabled, otherwise [[$false]].
26
.addr - Returns the hostname for the nick.
27
.network - Returns the network name set for this nick.
28 1 Per Amundsen
29
*Example*
30
31
<pre>
32
: Print number of notiy nicks.
33
//echo -ag $notify(0)
34
35
; Print the first notify nick.
36
//echo -ag $notify(1) is $iif($notify(1).ison, online, offline)
37
</pre>