Like this?
Code:
alias joinallx { scon -at1 if ( $!network != $$2) { join #$$1 }

/joinallx #channel ExcludedNetworksName