If I get what you mean, it is something like:
ON *:TEXT:*:#:{
if ($away) && ($me isin $strip($1-)) $&
write away.log $timestamp $+(<,$nick(#,$nick).pnick,>) $1-
}
alias awaylog {
if ($file(away.log)) {
var %@ = $+(@Away,$chr(160),log)
window -ea %@
loadbuf -pi %@ away.log
.remove away.log
}
}
If you're away, it will record what you want on "<your mIRC folder>\away.log". Use
/awaylog to read your messages - the file will be removed right after you used the command.