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

(Created page with "{{mirc title|$ial Identifier}}'''$ial''' returns the Nth address matching a mask in the IAL == Synopsis == <pre>$ial - returns $true or $false depending on whether the IAL is...")
 
(Properties)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
== Synopsis ==
 
== Synopsis ==
 
<pre>$ial - returns $true or $false depending on whether the IAL is on or off.
 
<pre>$ial - returns $true or $false depending on whether the IAL is on or off.
$ial(nick/mask,N)</pre>
+
$ial(nick/mask,N) - returns the Nth address matching a mask in the IAL
 +
</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 11: Line 12:
 
== Properties ==
 
== Properties ==
 
* '''.nick''' - returns the nickname of the matched entry
 
* '''.nick''' - returns the nickname of the matched entry
* '''.user''' - returns the username of the matched entry
+
* '''.user''' - returns the username (ident) of the matched entry
 
* '''.host''' - returns the host of the matched entry
 
* '''.host''' - returns the host of the matched entry
 
* '''.addr''' - returns the address in the format "user@host" of the matched entry
 
* '''.addr''' - returns the address in the format "user@host" of the matched entry

Latest revision as of 16:07, 11 November 2018

$ial returns the Nth address matching a mask in the IAL

Synopsis[edit]

$ial - returns $true or $false depending on whether the IAL is on or off.
$ial(nick/mask,N) - returns the Nth address matching a mask in the IAL

Parameters[edit]

  • nick/mask - a nickname or a mask
  • N - optional, the Nth matching entry in the IAL, use N = 0 for the total number of matches

Properties[edit]

  • .nick - returns the nickname of the matched entry
  • .user - returns the username (ident) of the matched entry
  • .host - returns the host of the matched entry
  • .addr - returns the address in the format "user@host" of the matched entry
  • .mark - returns the mark for that entry, set with /ialmark
  • .account - returns the account name of the entry (need CAP support for extended-join and account-notify)
  • .away - returns the away status for that entry
  • .gecos - returns the fullname of that entry
  • .id - returns an unique ID to uniquely reference that nickname over any connection

Example[edit]

//echo -a $ial(*,0)

Compatibility[edit]

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


See Also[edit]

$ialchan