@illogic here is one for notices now this is untested but it should work ok this is tested and does work
on ^*:NOTICE:*:?: {
if ($away) {
window @notice_messages
aline @notice_messages $time(mm/dd/yy h:nn tt)
aline @notice_messages $+($chr(60),$nick,$chr(62)) notice'ed me
aline @notice_messages saying $1-
haltdef
if (!$($+(%,p2pawaywin,$nick),2)) {
.notice $nick Im away now but leave a message and il get back to you when i get back
set -u600 $+(%,p2pawaywin,$nick) $nick
haltdef
}
}
}