From WikiChip
$matchtok Identifier - mIRC
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$matchtok returns the tokens that contain the specified string.
Synopsis
$matchok(<list>,string,N,C)
Paramters
- <list> - The list of tokens (can be empty)
- string - the string used to match token
- N - The Nth matching token, default to 1, if N is 0, returns the total number of matching tokens.
- <C> - The ascii number (or code point) of the character seperating the tokens
Properties
None
Example
$matchtok(one two three, e, 0, 32) returns 2 $matchtok(one two three, e, 2, 32) returns three
Compatibility
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
$addtokcs $remtok $gettok $deltok $matchtokcs $wildtok $findtok $istok $instok $puttok $numtok $reptok $sorttokcs