From WikiChip
Difference between revisions of "mirc/identifiers/$hmatch"
(Created page with "{{mirc title|$hmatch identifier}}{{Deprecated feature|new={{mIRC|$hfind}}}}'''$hmatch''' Searches an hash table for the Nth item name which matches the wildcard text. Returns...") |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | {{mirc title|$hmatch identifier}}{{Deprecated feature|new={{mIRC|$hfind}}}}'''$hmatch''' Searches an hash table for the Nth item name which matches the wildcard text. Returns item name. | + | {{mirc title|$hmatch identifier}}{{Deprecated feature|new={{mIRC|$hfind}}}}'''$hmatch''' Searches an hash table for the Nth item name which matches the {{mirc|wildcard}} text. Returns item name. |
Line 7: | Line 7: | ||
== Parameters == | == Parameters == | ||
* '''name/N''' - the Nth hash table or the name of it | * '''name/N''' - the Nth hash table or the name of it | ||
− | * '''text''' - the wildcard expression to use to find a match | + | * '''text''' - the {{mirc|wildcard}} expression to use to find a match |
− | * '''N''' - The Nth match, use 0 to get the total number of match | + | * '''N''' - The Nth match, use 0 to get the total number of match |
== Properties == | == Properties == |
Latest revision as of 15:28, 20 October 2018
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
Note: This feature has essentially been replaced by $hfind.$hmatch Searches an hash table for the Nth item name which matches the wildcard text. Returns item name.
Synopsis[edit]
$hmatch(name/N, wildtext, N)
Parameters[edit]
- name/N - the Nth hash table or the name of it
- text - the wildcard expression to use to find a match
- N - The Nth match, use 0 to get the total number of match
Properties[edit]
- .data - instead of looking for matches against item, matches against data, but the item name is still returned.
Example[edit]
Compatibility[edit]
Added: mIRC v5.81
Added on: 09 Nov 2000
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