So long as using a bot isn't against the terms of use for the network that you want to use it on, I see no problem with this. There are pre-made bots for a number of specific and general applications that you can download on sites like
Hawkee and
mIRC.net . Additionally each of those sites has links to other sites where you might be able to find what you're wanting, if it's not available directly from either of them.
If you want something custom written, then you should post in the Scripts and Pop-ups forum, but remember that we are not required to write a complete bot for you, however, we will assist you in making it.
I strongly suggest that you check the sites mentioned above for one that's already made.