on *:text:!echo *:#channel1:{ var %text = $2- if ($network == network1) scid -at1 if ($network == network2) msg #channel2 % $+ text }