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

(Created page with "{{mirc title|$sorttokcs Identifier}}'''$sorttokcs''' sorts the token in text using case sensitivity == Synopsis == <pre>$sorttokcs(<list>,C,nrca)</pre> == Paramters == * '...")
 
m (Compatibility: $sorttokcs was added in 5.91)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{mirc title|$sorttokcs Identifier}}'''$sorttokcs''' sorts the token in text using case sensitivity
+
{{mirc title|$sorttokcs identifier}}'''$sorttokcs''' sorts the token in text using case sensitivity.
 
 
  
 
== Synopsis ==
 
== Synopsis ==
<pre>$sorttokcs(<list>,C,nrca)</pre>
+
<pre>$sorttokcs(<list>, <C> [,nrca] )</pre>
 
 
== Paramters ==
 
  
 +
== Parameters ==
 
* '''<list>''' - The list of tokens (can be empty)
 
* '''<list>''' - The list of tokens (can be empty)
 
* '''<C>''' - The ascii number (or code point) of the character seperating the tokens
 
* '''<C>''' - The ascii number (or code point) of the character seperating the tokens
* '''ncra''' - default is alphabetical sort, n = numeric sort; c = channel prefix sort; r = reverse; a = alphanumeric sort
+
* '''ncra''' - default is alphabetical sort (ASCII sort) if 3rd parameter not used, n = numeric sort; c = channel prefix sort; r = reverse; a = alphanumeric (ASCII) sort
  
 +
Note: See $sorttok for case-insensitive sort
 
== Properties ==
 
== Properties ==
 
None
 
None
Line 18: Line 17:
  
 
== Compatibility ==
 
== Compatibility ==
{{mIRC compatibility|4.7}}
+
{{mIRC compatibility|5.91}}
 
 
== See Also ==
 
{{mIRC|$addtokcs}}
 
{{mIRC|$remtok}}
 
{{mIRC|$gettok}}
 
{{mIRC|$deltok}}
 
{{mIRC|$matchtok}}
 
{{mIRC|$wildtok}}
 
{{mIRC|$findtok}}
 
{{mIRC|$istok}}
 
{{mIRC|$instok}}
 
{{mIRC|$puttok}}
 
{{mIRC|$numtok}}
 
{{mIRC|$reptok}}
 
{{mIRC|$sorttok}}
 
  
 +
== See also ==
 +
* {{mIRC|$sorttok}}
 +
* {{mIRC|$addtok}}
 +
* {{mIRC|$deltok}}
 +
* {{mIRC|$findtok}}
 +
* {{mIRC|$gettok}}
 +
* {{mIRC|$instok}}
 +
* {{mIRC|$istok}}
 +
* {{mIRC|$matchtok}}
 +
* {{mIRC|$numtok}}
 +
* {{mIRC|$puttok}}
 +
* {{mIRC|$remtok}}
 +
* {{mIRC|$reptok}}
 +
* {{mIRC|$wildtok}}
 +
{{mIRC identifier list}}
  
[[Category:mIRC identifiers|addtok]]
+
[[Category:mIRC identifiers|sorttokcs]]

Latest revision as of 04:41, 26 January 2024

$sorttokcs sorts the token in text using case sensitivity.

Synopsis[edit]

$sorttokcs(<list>, <C> [,nrca] )

Parameters[edit]

  • <list> - The list of tokens (can be empty)
  • <C> - The ascii number (or code point) of the character seperating the tokens
  • ncra - default is alphabetical sort (ASCII sort) if 3rd parameter not used, n = numeric sort; c = channel prefix sort; r = reverse; a = alphanumeric (ASCII) sort

Note: See $sorttok for case-insensitive sort

Properties[edit]

None

Example[edit]

//echo -a $sorttokcs(C a c b A B,32)

Compatibility[edit]

Added: mIRC v5.91
Added on: 15 Jun 2001
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