Not sure what your terminology means. Is 'stream' the same thing as 'chats'? And they both mean what real IRC calls "channels"? Or does one of them refer to having multiple mirc connections, and you're trying to get a script to respond to things typed from that same mirc?

And by 'doesnt work', does that mean it acts like it doesn't see the command, or it tries to do the command but fails?