Code:
on *:NOTICE:*closing*:?:{ notice $nick Lalal }


Try /help on notice