Ok i have updated it to
$iif($regml(1) == !,notice $nick,msg $chan)
i have also added some flood protection
.ignore -u4 $nick