mIRC Home    About    Download    Register    News    Help

Print Thread
#117027 11/04/05 10:15 AM
Joined: Dec 2002
Posts: 59
A
Aenox Offline OP
Babel fish
OP Offline
Babel fish
A
Joined: Dec 2002
Posts: 59
Command to change log directory.

#117028 11/04/05 10:27 PM
Joined: Apr 2004
Posts: 73
Z
Babel fish
Offline
Babel fish
Z
Joined: Apr 2004
Posts: 73
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'"

#117029 11/04/05 10:45 PM
Joined: Dec 2002
Posts: 208
H
Fjord artisan
Offline
Fjord artisan
H
Joined: Dec 2002
Posts: 208
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.


If I knew now what I will know then... maybe things will have been different...
#117030 08/05/05 01:01 PM
Joined: Dec 2002
Posts: 59
A
Aenox Offline OP
Babel fish
OP Offline
Babel fish
A
Joined: Dec 2002
Posts: 59
/dccdir also


Link Copied to Clipboard