It would be best if you did put it on the bot. Note that the bot is a different installation of mIRC from the one that you use. The fact that it's in the room is irrelevant.

Likewise with my script that I posted in response to your other request.