You remove the -j #channel from the server command, and add an on connect script.
Code:
on *:connect:{
  if $network == Global-Dimension { identify <passwd> | join #channel }
  if $network == Another { identify <passwd> | join #chan1,#chan2 ,chan2key }
  ; etc
}