about this
on ^*:text:*:?:{
.did -a NC 1 < $+ $nick $+ > $1-
.haltdef
}
if the person receives a pm, and the dialog NC is closed?
you can use this
on *:text:*:?:{
if ($dialog(NC)) { did -a NC 1 < $+ $nick $+ > $1- | .closemsg $nick }
}
that will analize if the dialog is openned, and then will close the pm, if not, it will receive the pm normally