From WikiChip
Difference between revisions of "mirc/identifiers/$sorttokcs"
(Created page with "{{mirc title|$sorttokcs Identifier}}'''$sorttokcs''' sorts the token in text using case sensitivity == Synopsis == <pre>$sorttokcs(<list>,C,nrca)</pre> == Paramters == * '...") |
(Fix typo) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{mirc title|$sorttokcs | + | {{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-insensitive sort | ||
== Properties == | == Properties == | ||
None | None | ||
Line 20: | Line 19: | ||
{{mIRC compatibility|4.7}} | {{mIRC compatibility|4.7}} | ||
− | == See | + | == See also == |
− | {{mIRC|$ | + | * {{mIRC|$sorttok}} |
− | {{mIRC|$ | + | * {{mIRC|$addtok}} |
− | {{mIRC|$ | + | * {{mIRC|$deltok}} |
− | {{mIRC|$ | + | * {{mIRC|$findtok}} |
− | {{mIRC|$ | + | * {{mIRC|$gettok}} |
− | {{mIRC|$ | + | * {{mIRC|$instok}} |
− | {{mIRC|$ | + | * {{mIRC|$istok}} |
− | {{mIRC|$ | + | * {{mIRC|$matchtok}} |
− | {{mIRC|$ | + | * {{mIRC|$numtok}} |
− | {{mIRC|$puttok}} | + | * {{mIRC|$puttok}} |
− | {{mIRC|$ | + | * {{mIRC|$remtok}} |
− | {{mIRC|$reptok}} | + | * {{mIRC|$reptok}} |
− | {{mIRC|$ | + | * {{mIRC|$wildtok}} |
− | + | {{mIRC identifier list}} | |
− | [[Category:mIRC identifiers| | + | [[Category:mIRC identifiers|sorttokcs]] |
Revision as of 06:35, 9 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-insensitive 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