mIRC Home    About    Download    Register    News    Help

Print Thread
#234490 28/10/11 12:02 AM
Joined: Sep 2010
Posts: 9
I
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
I
Joined: Sep 2010
Posts: 9
It would be nice to have sorting options available in the mIRC options, or at least be able to script our own sorting routine, to sort the nicklist in ways other than by mode -> Alphabetical.

For example, I am wanting this so I can sort the nicklist by idle time, though there are a bunch of other variations of sorting that I'm sure others could find useful, even if they had to script their own sorting routine.

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
I doubt sorting by idle time would be included in mIRC because there are a variety of issues with using idle time on large channels (hundreds of users). If mIRC only looked at idle time based on what you see (when you join the channel, everyone's idle is set to 0s instead of what their real idle time is and then starts counting up from there), then that would be easier to do, but it wouldn't be a true idle time.

Other types of sorting might be possible, though.

You might check into the nicklust.dll as that allows a lot of control over how your nick list looks. It might allow sorting.


Invision Support
#Invision on irc.irchighway.net
Joined: Sep 2010
Posts: 9
I
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
I
Joined: Sep 2010
Posts: 9
True, the idle time would be a lot more efficient if you're constantly parked in a channel, and new joins would also have 0s to start. However, having the ability to script your own custom sortation would be neat (it would allow my idle time sorting without having to hard code it into the program). And having other methods of sortation (that of course would be more useful than what I want) COULD be hardcoded.

As for nicklust.dll, could you possibly point me in the right direction, Sir? =D

EDIT: Found it, doesn't do what I want frown

Joined: Nov 2009
Posts: 295
P
Fjord artisan
Offline
Fjord artisan
P
Joined: Nov 2009
Posts: 295
Mibbit can sort it's nicklist by idle time sort of. I don't use Mibbit often if I can help it, but it puts anyone who has spoken recently at the top and sorts the rest of list like normal.

So instead of sorting by literal idle time, just have people who have been active in the last X minutes be at the top and the rest are just "idle"


http://scripting.pball.win
My personal site with some scripts I've released.
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Having a *SCRIPTABLE* sortable nicklist would certainly be useful though. Not idle time specific, not last person speaking specific, not op-voice-regular order either; something users can specify.

Since we can sort other listboxes in any other custom window (/window -S), it seems feasible to just expose this switch (as a separate command) to channels as well. It certainly wouldn't be the first /window switch that worked on channels. Admittedly, /window -S wouldn't meet all the requirements, but if that can be done, I don't see why some kind of /sort command couldn't be added to mIRC that worked like a simplified /filter -ww.



- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"

Link Copied to Clipboard