mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2008
Posts: 5
M
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
M
Joined: Dec 2008
Posts: 5
This is mainly beneficial for the times $findfile is run on a network share and not on the local machine. If $findfile is called on a network share, the sort order will be file creation time and not by alphabetical file name.

Request: Add ability to choose sort type on $findfile (e.g. creation date, name, modified data, etc.)

Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Is there a reason order matters? Doing a recursive search on a directory tree is typically orderless. You could have a sort type, but the identifier already has quite a few parameters, and adding more would just make a much more monolithic function for IMO a fairly uncommon case. Note that you can /echo the contents to a hidden @window that has the sort switch enabled and sort that way.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Joined: Dec 2008
Posts: 5
M
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
M
Joined: Dec 2008
Posts: 5
Take the fserve for example, even it does not sort when the dir command is issued. It could be used to show the newest files on top, for example.

Last edited by mrlindstrom; 09/06/12 06:05 PM.
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
But fserve doesn't use $findfile (and even if it did, there would be no way to specify which sort order to use), so what you're asking is now very different from the original request. Are you suggesting that fserve output is buggy?

mIRC could always alphabetically sort directory listings (in $findfile and fserve), but that would be different from adding a customizable parameter.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Joined: Nov 2011
Posts: 30
A
Ameglian cow
Offline
Ameglian cow
A
Joined: Nov 2011
Posts: 30
even if people using the web of www.icq.com i cant read their type of arabic from my mirc version 7.38 so any help..

Joined: Dec 2008
Posts: 1,515
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
Originally Posted By: arc123
even if people using the web of www.icq.com i cant read their type of arabic from my mirc version 7.38 so any help..


LOL! Do not reply on non-related posts, start a new on mIRC Help section on this forum next time, this post has nothing to do with yours reply.

Read about this here


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-

Link Copied to Clipboard