alias logread {
var %logfile = $+($chr(34),$$sfile($logdir*.log,Select Log File,Read it),$chr(34))
var %logwin = $iif($chr(32) isin $nopath(%logfile),$nopath($shortfn(%logfile)),$nopath(%logfile))
window -dk[0] @ $+ %logwin
loadbuf 1- $+ $lines(%logfile) -p @ $+ %logwin %logfile
}
Just type /logread after putting that code in your remotes. This will open an mIRC custom window, and therefore you'll be able to see the effect of color and other control codes if you are logging them.