/help ON CHAT
ex
on ^*:CHAT:<matchtext>:{ haltdef }
Works just like ON TEXT but is for dcc chats a PM equavilant would have looked like on ^*:TEXT:<matchtext>:?:{ haltdef }
PS: of curse u might want to add some if $nick = suchandsuch check in there for all i know