Code:
/join -inx #chan1,#chan2,#chan3 key1,key2,key3


if a channel has no key just fill in NO_KEY or something for the key because if you give a key to a channel without +k it will just be ignored...

haven't had any problems with this