mIRC Home    About    Download    Register    News    Help

Print Thread
#172932 18/03/07 10:22 AM
Joined: Oct 2006
Posts: 342
L
learn3r Offline OP
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Oct 2006
Posts: 342
Code:
%token @arnel,@lorcan,@arnold,@malissa


How to make this alpabhetically in order?

Code:
sample: 
on *:text:!list:#:{ 
 msg # list: %token ( in alphabetical order ) 
}


learn learn learn
learn3r #172936 18/03/07 11:05 AM
Joined: Mar 2007
Posts: 139
S
Vogon poet
Offline
Vogon poet
S
Joined: Mar 2007
Posts: 139
/set -s %token @arnel.@lorcan.@arnold.@malissa
Code:
on *:text:!list:# msg # list: $sorttok(%token,46) 

instead of 46 you can use whatever the asc for whatever chr spereates the tokens in the variable you want to sort/

Solo1 #172946 18/03/07 02:51 PM
Joined: Oct 2006
Posts: 342
L
learn3r Offline OP
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Oct 2006
Posts: 342
$sorttok

have to read the helpfile before asking here thanks


learn learn learn

Link Copied to Clipboard