i try to write a script command for the twitch.tv irc chat. The bot should whisper someone if he joins the chatroom. The problem is that the whisper chat is on a different server and channel than the chatroom where the person joins.

When user(a) joins channel(a) on server(a) the bot should send a message to user(a) on server(b) in channel(b).

I tried it with the following command but that just works if the channels are on the same server.
on *:join:#: { msg #channel(b) .w $nick Texmessage }

Is that possible to realize with a mirc script? Or do I need to find someone who can code it in something like python.

I hope you understand my problem and you can help me

Regards and Thanks