alias -l w return $+(@,notice,.,$1)
alias -l theme.notice {
return 6<2 $+ $iif($prop,$1 $+ 6> notices to 6<2 $+ $3,$1) $+ 6>1: $iif($prop,$4-,$3-)
}
on &^*:notice:*:*:{
if ($nick != Chanserv) && ($nick != Nickserv) && ($nick != Memoserv) {
window $+(-e,$iif($window($w($nick)),a)) $w($nick)
echo $w($nick) $theme.notice($nick,$address($nick,2),$1-)
haltdef
}
else { echo -a $theme.notice($nick,$address,$1-) | haltdef }
}
on *:input:@notice.*:{
if ($left($1,1) != $readini($mircini,text,commandchar)) {
.notice $gettok($active,2,46) $1-
.echo $active $theme.notice($me,$address,$gettok($active,2,46),$1-).me
}
}