From WikiChip
Difference between revisions of "mirc/identifiers/$sorttokcs"
m |
Maroonbells (talk | contribs) 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> |
− | |||
− | |||
+ | == 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|$wildtok}} | * {{mIRC|$wildtok}} | ||
{{mIRC identifier list}} | {{mIRC identifier list}} | ||
[[Category:mIRC identifiers|sorttokcs]] | [[Category:mIRC identifiers|sorttokcs]] |
Revision as of 20:00, 8 January 2018
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$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
- $sorttok
- $addtok
- $deltok
- $findtok
- $gettok
- $instok
- $istok
- $matchtok
- $numtok
- $puttok
- $remtok
- $reptok
- $wildtok
mIRC identifier list