From WikiChip
Difference between revisions of "mirc/identifiers/$reptokcs"
< mirc‎ | identifiers

(Created page with "{{mirc title|$reptokcs Identifier}}'''$reptokcs''' replaces the Nth matching token in text with a new token using case sensitivity. If N = 0, applies to all matching items =...")
 
m
 
Line 1: Line 1:
{{mirc title|$reptokcs Identifier}}'''$reptokcs''' replaces the Nth matching token in text with a new token using case sensitivity. If N = 0, applies to all matching items
+
{{mirc title|$reptokcs identifier}}'''$reptokcs''' replaces the Nth matching token in text with a new token using case sensitivity. If N = 0, applies to all matching items.
  
  
Line 22: Line 22:
 
{{mIRC compatibility|4.7}}
 
{{mIRC compatibility|4.7}}
  
== See Also ==
+
== See also ==
{{mIRC|$addtokcs}}
+
* {{mIRC|$addtok}}
{{mIRC|$remtok}}
+
* {{mIRC|$deltok}}
{{mIRC|$gettok}}
+
* {{mIRC|$findtok}}
{{mIRC|$deltok}}
+
* {{mIRC|$gettok}}
{{mIRC|$matchtok}}
+
* {{mIRC|$istok}}
{{mIRC|$wildtok}}
+
* {{mIRC|$instok}}
{{mIRC|$findtok}}
+
* {{mIRC|$matchtok}}
{{mIRC|$istok}}
+
* {{mIRC|$numtok}}
{{mIRC|$instok}}
+
* {{mIRC|$puttok}}
{{mIRC|$puttok}}
+
* {{mIRC|$remtok}}
{{mIRC|$numtok}}
+
* {{mIRC|$reptok}}
{{mIRC|$reptok}}
+
* {{mIRC|$sorttok}}
{{mIRC|$sorttokcs}}
+
* {{mIRC|$wildtok}}
 +
{{mIRC identifier list}}
  
 
+
[[Category:mIRC identifiers|reptokcs]]
[[Category:mIRC identifiers|addtok]]
 

Latest revision as of 09:03, 23 September 2017

$reptokcs replaces the Nth matching token in text with a new token using case sensitivity. If N = 0, applies to all matching items.


Synopsis[edit]

$reptokcs(<list>,token,new,N,C)

Paramters[edit]

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

None

Example[edit]

$reptokcs(one two three twO, twO, four, 32) returns one two three four

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