Code:
on &^*:notice:*:?: { 
  if ($window($+(@notice.,$nick))) { 
    echo -bflrt $v1 $theme.notice($nick,$1-) 
    write $qt($mircdirlogs\noticelog.log) $+($time $nick,$chr(58),$1-)
    haltdef
  } 
}

change the path to the one you want it to be.. this one will store it in your log folder inside mirc.

write $qt($mircdirlogs\noticelog.log) $+($time $nick,$chr(58),$1-)


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }