From WikiChip
Difference between revisions of "mirc/identifiers/$notify"
< mirc‎ | identifiers

(Created page with "{{mirc title|$notify Identifier}}'''$speak''' returns informations about nick in your notify list == Synopsis == <pre>$notify(N/nick)</pre> == Paramters == * '''nick''' - T...")
 
m (Properties: Added stuff from v7.74)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{mirc title|$notify Identifier}}'''$speak''' returns informations about nick in your notify list
+
{{mirc title|$notify Identifier}}'''$notify''' returns informations about nick in your notify list
  
  
 
== Synopsis ==
 
== Synopsis ==
 
<pre>$notify(N/nick)</pre>
 
<pre>$notify(N/nick)</pre>
 +
 +
'''Note:''' $notify by itself returns ''$true'' if notify is enabled, otherwise it returns ''$false''.
  
 
== Paramters ==
 
== Paramters ==
Line 13: Line 15:
 
* '''.note''' - returns the note associated for that nickname in the notify list
 
* '''.note''' - returns the note associated for that nickname in the notify list
 
* '''.sound''' - returns the online sound setting for that nickname
 
* '''.sound''' - returns the online sound setting for that nickname
 +
* '''.sound2''' - returns the offline sound setting for that nickname
 
* '''.whois''' - returns $true if the option 'whois' is set for this nickname
 
* '''.whois''' - returns $true if the option 'whois' is set for this nickname
 
* '''.addr''' - returns the server adddress entry for this nickname if you used a server format
 
* '''.addr''' - returns the server adddress entry for this nickname if you used a server format
 
* '''.network''' - returns the network entry for this nickname (if you used something that isn't a server format, basically)
 
* '''.network''' - returns the network entry for this nickname (if you used something that isn't a server format, basically)
 +
* '''.account''' - returns the user account name
 +
* '''.away''' - returns $true if the users is /away, $false otherwise
 +
* '''.awaymsg''' - returns the /away message
 +
* '''.gecos''' - returns the gecos/real name
  
 
Without a property, $notify(nick) returns the Nth position and $notify(N) returns the nickname
 
Without a property, $notify(nick) returns the Nth position and $notify(N) returns the nickname
 
  
 
== Example ==
 
== Example ==

Latest revision as of 19:32, 12 February 2024

$notify returns informations about nick in your notify list


Synopsis[edit]

$notify(N/nick)

Note: $notify by itself returns $true if notify is enabled, otherwise it returns $false.

Paramters[edit]

  • nick - The nickname you want to get information about
  • N - The Nth nick in the notify list you want to get information about, if N = 0, returns the total number of nicknames in the notify list

Properties[edit]

  • .ison - returns $true if the user is on IRC, $false otherwise
  • .note - returns the note associated for that nickname in the notify list
  • .sound - returns the online sound setting for that nickname
  • .sound2 - returns the offline sound setting for that nickname
  • .whois - returns $true if the option 'whois' is set for this nickname
  • .addr - returns the server adddress entry for this nickname if you used a server format
  • .network - returns the network entry for this nickname (if you used something that isn't a server format, basically)
  • .account - returns the user account name
  • .away - returns $true if the users is /away, $false otherwise
  • .awaymsg - returns the /away message
  • .gecos - returns the gecos/real name

Without a property, $notify(nick) returns the Nth position and $notify(N) returns the nickname

Example[edit]

//echo -a $notify(0)

Compatibility[edit]

Added: mIRC v4.5
Added on: 30 Jun 1996
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also[edit]

/notify