mIRC Homepage
Posted By: Aenox /logdir - 11/04/05 10:15 AM
Command to change log directory.
Posted By: Zelda4ever32 Re: /logdir - 11/04/05 10:27 PM
You can sorta already do that as it is. I suppose you COULD modify the mirc.ini file such as:

alias logdir { if (!$1) { echo 4 -s Error: New directory not specified } | writeini mirc.ini dirs logdir $remove($1-,$chr(34)) }

But then again, it would most likely take a restart of mIRC and could have some SERIOUSLY DAMAGING effects from doing so, as shown like so from the mIRC .hlp file:
Warning: Do not use this command to modify any of the INI files currently being used by mIRC.

But a good suggestion nonetheless, but if it is implemented, you might as well make /mp3dir, /wavdir, /oggdir, etc.

-Zelda4ever
aka "The Big 'Z'"
Posted By: Hrung Re: /logdir - 11/04/05 10:45 PM
Changing the mirc.ini likely won't work anyway. mIRC stores settings in ram while it is open instead of going to disk all the time, so you are correct that mIRC would have to be restarted. But on exit, the changes will probably be overwritten by mIRC flushing settings back to disk. I think that this suggestion is probably useful for some people, though some of that can already be done with the /log command, such as:

Code:
 /log on #somechan -f c:\path\to\logs\#somechan.log  

It doesn't change the log folder for all logs, but with a little creativity and some script, it could be done.
Posted By: Aenox Re: /logdir - 08/05/05 01:01 PM
/dccdir also
© mIRC Discussion Forums