Thanks for your reply. The syntax seems to work but there is a bug to it -

/join #chan1,#chan2,#chan3
/server -m <server2> [port] -j #chan4,#chan5,#chan6
/server -m <server3> [port] -j #chan7,#chan8,chan#9

I connect to channels 1, 2 and 3 and when the other server connects it not only connects to 4, 5 and 6 but also to 1, 2 and 3, which aren't supposed to open for that server. Server 3 then connects to channels 7, 8 and 9 but also to all channels mentioned before - 1 - 6.

How do I make to open only channels I want for the particular server? Thanks.