on *:text:*:#channel: {
if ($network == [color:red]TheNetworkYouGetTextFrom[/color]) {
var %network = [color:red]TheNetworkYouSendTextTo[/color] , %schan = [color:red]#ChannelToSendTextTo[/color]
var %text = $+(<,$nick,>) $1- , %i = 1
while ($scon(%i)) {
if ($scon(%i).network == %network) { scon $scon(%i) msg %schan %text | return }
inc %i
}
}
}