why not use mirc's perform?
u can set all kinds of commands there and what server to perform them on.
if your server is not in the server list u can add it.