From WikiChip
$reptokcs Identifier - mIRC
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$reptokcs replaces the Nth matching token in text with a new token using case sensitivity. If N = 0, applies to all matching items
Synopsis
$reptokcs(<list>,token,new,N,C)
Paramters
- <list> - The list of tokens (can be empty)
- token - the token used to match
- new - the token used to replace the matching token.
- N - The Nth matching token, default to 1, if N is 0, applies to all matching tokens.
- <C> - The ascii number (or code point) of the character seperating the tokens
Properties
None
Example
$reptokcs(one two three twO, twO, four, 32) returns one two three four
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 $matchtok $wildtok $findtok $istok $instok $puttok $numtok $reptok $sorttokcs