Well for one, it's missing a bracket. And is accessible through the nicklist. Click on someone's nickname to bring up the menu.
Here's a clean up of that:
menu nicklist {
relay
.Start {
set %source_nick $1
set %source_chan #
set %source_net $network
set %target_net $$?="Insert network here"
set %target_chan $$?="Insert channel here"
}
.Stop { unset %source_* %target_* }
}
on *:text:*:%source_chan:{
if (($nick == %source_nick) && ($network == %source_net)) {
scon -at1 if $!network == %target_net && $!me ison %target_chan { msg %target_chan $+(<,$nick,@,$network,>) $1- }
}
}
However, I'm not much on relaying chat back and forth over networks. What this says is:
on the source channel, if nick says soemthing and they are the source_nick and are on the source network it preforms the scon command. Which then if the $network equals target_net and you are on the target_chan it then messages the target_chan what source_nick said on the source network and source channel. I managed to get it working here on my irc test server and a friends server. You just have to know what the target's are.