sending msg from one network window to another net - 22/10/05 09:58 AM
Want a script to pick up something from one channel on network 1 and send it to another channel on network 2, but how do I get it to send the msg to XXXXX network?
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 } } }