menu Channel,Query,Status { View Log:viewlog } alias viewlog { if (!$window(@Log)) { window -kz @Log } loadbuf -r @Log $$sfile($gettok($mklogfn($active),1- -2,92) $+ \) }
alias logviewer { window -k0 @LogViewer | filter -cfw $qt($sfile($mircdirlogs\)) @LogViewer $iif($1 != $null, $1, *) }