mIRC Home    About    Download    Register    News    Help

Print Thread
Save channel listing cache files in a subdir! #38401 26/07/03 12:13 PM
Joined: Jul 2003
Posts: 18
jez Offline OP
Pikka bird
OP Offline
Pikka bird
Joined: Jul 2003
Posts: 18
This feature request is simple: channel logfiles are saved in a subdir, by default \txts. File downloads are saved, by default, in the subdir \download. Why on earth is mIRC still saving channel listing caches (eg. EFNET.txt, DALNET.txt, QuakeNet.txt, etc) in the MAIN mIRC directory? I have about 20 of these caches there and they're ugly, and clutter the directory.

Could mIRC please save them, by default, in something like \channels ? I have, in fact, been requesting this feature for over a year now. :-) I e-mailed Khaled about it ages ago and he said it was on the 'to do' list. Must be one hell of a list!

Come on. This is nice and easy to implement, Khaled. PLEASE just pop it into one of the next mIRC releases? PRETTY PLEASE??????


== Jez ==
"Each victory is a missed opportunity to die..."
Re: Save channel listing cache files in a subdir! #38402 26/07/03 03:23 PM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
I have none of these "channel listing caches" nor have I ever heard of them, what's in them?

Re: Save channel listing cache files in a subdir! #38403 26/07/03 03:41 PM
Joined: Dec 2002
Posts: 2,809
C
codemastr Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
You have to specifically tell mIRC to save it to a file, however you can just as easily tell it to save to a subdir. First, in windows explorer go to the mIRC directory, and create a subdir called "chanlist" now go to the mIRC channel list dialog, and change the using file from "somenet.txt" to "chanlist\somenet.txt"

Re: Save channel listing cache files in a subdir! #38404 26/07/03 03:53 PM
Joined: Jul 2003
Posts: 18
jez Offline OP
Pikka bird
OP Offline
Pikka bird
Joined: Jul 2003
Posts: 18
Quote:
I have none of these "channel listing caches" nor have I ever heard of them, what's in them?


Sorry, I just assumed people knew what I meant by the channel cache files.

They are text files, generated by mIRC, that allow you to locally view/search a channel listing once you've got it from a particular server. They simply hold the name and topic for every channel on a certain server, as given by the /LIST command.

If you don't have any, as an example, connect to /server irc.newnet.net (relatively small and easy to get channel listing). Click the 'List channel ' button, fourth from the left on the toolbar, looks like a picture of a globe. For 'Using file', type 'NewNet.txt' and make sure the 'Match text' box is empty. Set min at 0 and max at 9999, and uncheck any other options. Then click 'Get list!'. mIRC will get the list of channels on the server for you and a beep will notify you when it has finished. If you now do the channel listing again, but click 'Apply', it will be almost instantaneous thanks to the local channel listing cache.

However, go look in your mIRC directory. Yuk! A file called NewNet.txt has been created, the cache file. Now, if you never do a channel listing/search and always know the name of the channel you're going to join, I guess you wouldn't have any of these files in your mIRC dir. But for those of us who do, it ends up getting very cluttered and it should all be saved in a subdirectory!! :-)


== Jez ==
"Each victory is a missed opportunity to die..."
Re: Save channel listing cache files in a subdir! #38405 26/07/03 03:54 PM
Joined: Dec 2002
Posts: 2,809
C
codemastr Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
And as I said, instead of saying "newnet.txt" say "chanlist/newnet.txt"

Re: Save channel listing cache files in a subdir! #38406 26/07/03 03:55 PM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Thanks, was obvious what you meant thinking about it crazy

Re: Save channel listing cache files in a subdir! #38407 26/07/03 04:04 PM
Joined: Jul 2003
Posts: 18
jez Offline OP
Pikka bird
OP Offline
Pikka bird
Joined: Jul 2003
Posts: 18
Quote:
And as I said, instead of saying "newnet.txt" say "chanlist/newnet.txt"


I was just coming to you, codemastr :-)

Now, it's true that, with that extra effort, you can get it to save in a subdirectory. However, this is:
1) Inconvenient. I will most likely forget to prepend 'chanlist\' to each text file I put in that box. More often, a textfile name is automatically specified by mIRC, by using the $network identifier, so I don't even type the name of the textfile. It's not a good enough solution.
2) Inconsistent. Logfiles and downloaded files have their save directories specified in the options dialog. These cache files should too, to maintain consistency.

Therefore, what I am proposing is that you shouldn't even have to prepend the subdir name to the filename in the channel listing box to specify saving it in a subdirectory. It should be possible to specify a subdirectory to save these caches to, by default, in the options dialog. I do acknowledge that, with very inconvenient extra work, it's possible to do this at the moment, though.


== Jez ==
"Each victory is a missed opportunity to die..."
Re: Save channel listing cache files in a subdir! #38408 02/08/03 10:10 PM
Joined: Jul 2003
Posts: 18
jez Offline OP
Pikka bird
OP Offline
Pikka bird
Joined: Jul 2003
Posts: 18
Looking at the Options dialog, I would suggest adding another button to specify this subdir in the Options -> IRC -> Logging section, right at the bottom. Just add another button for "Channel listing cache folder", and make something like "\Cache" the default.


== Jez ==
"Each victory is a missed opportunity to die..."
Re: Save channel listing cache files in a subdir! #38409 07/08/03 06:26 PM
Joined: Feb 2003
Posts: 11
T
totally Offline
Pikka bird
Offline
Pikka bird
T
Joined: Feb 2003
Posts: 11
This can easily be made using raws, no need for mirc to add it...

Re: Save channel listing cache files in a subdir! #38410 07/08/03 09:21 PM
Joined: Jul 2003
Posts: 18
jez Offline OP
Pikka bird
OP Offline
Pikka bird
Joined: Jul 2003
Posts: 18
This functionality can *NOT* be properly achieved using RAW events. Sure, you could move the channel cache files immediately after receiving the end of a /list. However, where would mIRC look for the network's cache file next time you tried to generate a channel list? The main mIRC directory.

This DOES need to be a proper mIRC option.


== Jez ==
"Each victory is a missed opportunity to die..."