Why doesn't this rename work? - 27/02/07 01:27 AM
I wrote a script that filters extraneous lines out of my log files, and it works fine.
My logs are saved as mircdir\logs\network\#channel.date.log
I filter from the log file to a text file, which is then renamed to mircdir\logs\network\#channel.date.txt
I thought I'd prefer to have it renamed as mircdir\logs\network\#channel.date.log.txt
but I can't get it to work.
This:
Code:
//echo -s $+(%chlog,.txt)
returns mircdir\logs\network\#channel.date.log.txt
But this:
Code:
/rename filtchlog.txt $+(%chlog,.txt)
still returns mircdir\logs\network\#channel.date.txt
While being able to do this is truly unimportant, I would love to know if I am missing something,
or if this is a bug, or what.