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

m
m
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-sensitive sort
 
== Properties ==
 
== Properties ==
 
None
 
None
Line 21: Line 20:
  
 
== See also ==
 
== See also ==
 +
* {{mIRC|$sorttok}}
 
* {{mIRC|$addtok}}
 
* {{mIRC|$addtok}}
 
* {{mIRC|$deltok}}
 
* {{mIRC|$deltok}}
Line 32: Line 32:
 
* {{mIRC|$remtok}}
 
* {{mIRC|$remtok}}
 
* {{mIRC|$reptok}}
 
* {{mIRC|$reptok}}
* {{mIRC|$sorttok}}
 
 
* {{mIRC|$wildtok}}
 
* {{mIRC|$wildtok}}
 
{{mIRC identifier list}}
 
{{mIRC identifier list}}
  
 
[[Category:mIRC identifiers|sorttokcs]]
 
[[Category:mIRC identifiers|sorttokcs]]

Revision as of 21:00, 8 January 2018

$sorttokcs sorts the token in text using case sensitivity.

Synopsis

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

Parameters

  • <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-sensitive sort

Properties

None

Example

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

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

[Expand]
v · d · e mIRC identifier list