The part in green is what is making it show up twice.
aline %win $timestamps $theme(text,$nick,$1-)
Why the -k switch in /aline? It doesn't do anything :tongue:
As for the colours still being in the log, I thought you meant you wanted them stripped from the filename. Try this instead:
Save Log:{
set %log_file $+(",$logdir,Misc\Notices\,$mkfn($gettok($active,2,160)),.log")
filter -rwk 1-200 $active _write
unset %log_file
}
Then you need a _write alias:
alias _write {
if ($isfile(%log_file)) { write %log_file $strip($1) }
}