Where you are putting "bnc1" you need to put the actual value that is returned by $network for that server. To find that out, connect to one of the servers manually and type this command:
//echo -a $network
It should display the network name for that server. Simply copy that network name into the correct line in the onCONNECT code above.
Example:
/server irc.efnet.net
(after connected)
//echo -a $network
(displays "
efnet" without quotes)
(copy "efnet" into the code below)
on *:CONNECT:{
if (($network == [color:red]efnet[/color]) && ($me == feb`dyna)) /dyna
elseif (($network == dalnet) && ($me == feb`dyn)) /dynamic
elseif (($network == afternet) && ($me == feb`dyn)) /dyna
}
-genius_at_work