If you would still like a script to perform an autojoin, RusselB made a terrific script. I have used it for a while and it works great.

http://www.hawkee.com/snippet/2280/


The IRC Wiki
For everything IRC
http://www.irc-wiki.org