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

(Created page with "{{mirc title|$maddress Identifier}}'''$maddress''' return the address that was matched for the event, or information about the user list. == Synopsis == <pre>$maddress</pre> ...")
 
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{mirc title|$maddress Identifier}}'''$maddress''' return the address that was matched for the event, or information about the user list.
+
{{mirc title|$maddress Identifier}}'''$maddress''' return the address that was matched for the event, or returns information about the user list.
 +
 
  
 
== Synopsis ==
 
== Synopsis ==
 
<pre>$maddress</pre>
 
<pre>$maddress</pre>
  
<pre>$maddress(<address>,[L,<N>])</pre>  {{Deprecated feature|new={{mIRC|$ulist|$ulist()}}}}
 
  
== Paramters ==
+
<pre>$maddress(<address>,[L,<N>])</pre>{{Deprecated feature|new={{mIRC|$ulist|$ulist()}}}}
  
None
+
== Parameters ==
 +
* '''<address>''' - the address used to match, you can specify * for all address, non complete address are completed with wildcards
 +
* '''L''' - if you specify L, only matching addresses that contain the specified level L are returned. Optional, but if you provide L, you must provide N below
 +
* '''N''' - returns the Nth match, optional.
  
 
== Properties ==
 
== Properties ==
 
+
* '''.info''' - returns information about that user in the user list
None
 
  
 
== Example ==
 
== Example ==
 +
To get the address from the event:
 
<source lang="mIRC">on *:text:*:#:echo -a $maddress</source>
 
<source lang="mIRC">on *:text:*:#:echo -a $maddress</source>
 +
 +
And for the user list: //echo -a $maddress(*,1)
  
 
== Compatibility ==
 
== Compatibility ==
 
{{mIRC compatibility|4.6}}
 
{{mIRC compatibility|4.6}}
  
== See Also ==
+
== See also ==
{{mIRC|$fulladdress}}
+
* {{mIRC|$fulladdress}}
{{mIRC|$wildsite}}
+
* {{mIRC|$wildsite}}
{{mIRC|$site}}
+
* {{mIRC|$site}}
{{mIRC|$ulist}}
+
* {{mIRC|$ulist}}
[[Category:MIRC identifiers]]
+
{{mIRC identifier list}}
 +
[[Category:mIRC identifiers|maddress]]

Latest revision as of 16:40, 27 April 2019

$maddress return the address that was matched for the event, or returns information about the user list.


Synopsis[edit]

$maddress


$maddress(<address>,[L,<N>])
Note: This feature has essentially been replaced by $ulist().

Parameters[edit]

  • <address> - the address used to match, you can specify * for all address, non complete address are completed with wildcards
  • L - if you specify L, only matching addresses that contain the specified level L are returned. Optional, but if you provide L, you must provide N below
  • N - returns the Nth match, optional.

Properties[edit]

  • .info - returns information about that user in the user list

Example[edit]

To get the address from the event:

on *:text:*:#:echo -a $maddress

And for the user list: //echo -a $maddress(*,1)

Compatibility[edit]

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


See also[edit]

[Expand]
v · d · e mIRC identifier list