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

m
m (Compatibility: $sorttokcs was added in 5.91)
 
(2 intermediate revisions by 2 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 ==
 
== 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]]

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