mIRC Home    About    Download    Register    News    Help

Print Thread
help #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
Re: help [Re: learn3r] #172936 18/03/07 11:05 AM
Joined: Mar 2007
Posts: 139
S
Solo1 Offline
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/

Re: help [Re: 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