$notify

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

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

Returns the Nth nickname in your notify list or information about it.

$notify(N/nick)


$notify has the following properties:

Property Meaning
ison returns $true if this user is on IRC, $false if not.
note returns the optionally added note about this user.
sound returns the sound that will be played when this user joins/leaves IRC.
whois returns $true if mIRC will perform a /whois when this users joins, $false if not.
addr returns the address of this user, if it is on, else $false.

Example

echo -a $notify(0)

This would echo the total number of nicknames in your notify list to your active window.


echo -a $notify(1).addr

This would echo the address of the first user in your notify list, if it is on, else it would bring an error.


echo -a $notify(Dana)

It echos the Nth position of nickname Dana in the notify list.

See Also

  • /notify to add or remove someone from your notify list.