From WikiChip
$matchtok identifier - mIRC
< mirc‎ | identifiers

$matchtok returns the tokens that contain the specified string. $matchtokcs is the case sensitive version


Synopsis[edit]

$matchtok(<list>,string,N,C)

Parameters[edit]

  • <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[edit]

None

Example[edit]

$matchtok(one two three, e, 0, 32) returns 2
 
$matchtok(one two three, e, 2, 32) returns three

Compatibility[edit]

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[edit]

[Expand]
v · d · e mIRC identifier list