From WikiChip
Difference between revisions of "mirc/identifiers/$maddress"
(→Synopsis) |
|||
(11 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()}}}} |
− | + | == 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 | |
− | |||
== 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 | + | == See also == |
− | {{mIRC|$fulladdress}} | + | * {{mIRC|$fulladdress}} |
− | {{mIRC|$wildsite}} | + | * {{mIRC|$wildsite}} |
− | {{mIRC|$site}} | + | * {{mIRC|$site}} |
− | {{mIRC|$ulist}} | + | * {{mIRC|$ulist}} |
− | [[Category: | + | {{mIRC identifier list}} |
+ | [[Category:mIRC identifiers|maddress]] |
Latest revision as of 15:40, 27 April 2019
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$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]
mIRC identifier list