From WikiChip
Difference between revisions of "mirc/identifiers/$maddress"
(→Example) |
|||
(One intermediate revision by the same user not shown) | |||
Line 9: | Line 9: | ||
== Parameters == | == 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 == | ||
Line 18: | Line 20: | ||
<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( | + | And for the user list: //echo -a $maddress(*,1) |
== Compatibility == | == Compatibility == |
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