This is what I have:

Code:
on *:CONNECT:if $network == Windfyre { /j #zfgc | /j #zelda | /j #gaming | /j #insane }
on *:CONNECT:if $network == Scoutlink { /j #dutch | /j english }
on *:CONNECT:if $network == umbranet { /j #withintemptation }


The problem is, the on connect only works when I'm connecting to Windfyre, it doesn't work with any of the other networks... Can anybody tell me how to fix this?