mIRC Home    About    Download    Register    News    Help

Print Thread
#9782 05/02/03 06:27 AM
T
thereal_flipper
thereal_flipper
T
Im looking at making an /hsort command, sytax would be
/hsorttok -adl <table> <totable> <tokenseperator> <token>

the -a would specify acending, and d would specify , l would specify alpha charaters decending

<table> being the table to sort and store in new table <totable>
ordered by the N specified for <token>

so a logical statement would be

/hsorttok -d scores top10 32 1
where the table contents are
<nick>|<wins> <credits> <etc....>

this would return the top10 results based on the N token and store it in the new table

#9783 08/02/03 10:58 AM
S
Spola
Spola
S
/filter has a switch (i believe it's the -t) that does something like that.

I'm sure that with a bit of imagination you could get there wink

#9784 08/02/03 01:49 PM
G
Gon_
Gon_
G
I think a /hsort command, that sorts the hash table items, alphabeticaly or numericaly would be great. I have often needed this, and it's better and faster than saving a hashtable to a file and then /loadbuf to a window.

Maybe also:

/hcopy <from table> <to table>
/hrename <old name> <new name>


Link Copied to Clipboard