$arraySort
Sorts an array, created with $textSplit. Can be sorted numerically or alphabetically, or depending on occurrences.
Usage
$arraySort[Ascending (yes/no, default is no);Sort Type;array name (optional)]
1
Sort Types:
num: Sort Numerically
alpha: Sort Alphabetically
frequent: Sort By how many element got repeated
Example (Sort Occurrences):
Member06/01/2026
!!exec $textSplit[3.Mido
1.Azz
2.Rake
2.Rake
3.Mido
3.Mido
4.Finkz;
]
$arraySort[no;frequent]
Custom Command Bot 06/01/2026
The sorted list is
3.Mido
2.Rake
4.Finkz
1.Azz
Example (Sort Numerically):
Member06/01/2026
!!exec $textSplit[1. Azz
3.Mido
2.Rake
4.Finkz;
]
$arraySort[yes;num]
The sorted list is
$arrayJoin[
]
Custom Command Bot 06/01/2026
The sorted list is
1. Azz
2.Rake
3.Mido
4.Finkz
Example (Sort Alphabetically):
Member06/01/2026
!!exec $textSplit[3.Mido
1.Azz
2.Rake
4.Finkz;
]
$arraySort[yes;alpha]
The sorted list is
$arrayJoin[
]
Custom Command Bot 06/01/2026
The sorted list is
1. Azz
4.Finkz
3.Mido
2.Rake