Code:
 var %n network network1 networkN ,%c #chan,%a 1
 while ($scon(%a).network != $null) {
 if ($istok(%n,$v1,32)) {
   scon %a
   msg %c something
  }
 inc %a
}

works for more than one or two networks, just seperate them with a space in %n.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel