I can make it echo but I'm trying to make it so it sends to another channel on another server.

Here's an example. Say you have #a on serv1 and #b on serv2

Whenever in #a on serv1 someone says clan! blablabla, i'll automatically say on #b on server 2 whatever was said on #a.