Auto Connect/Join/Identify v1.0 [ source: http://www.hawkee.com/snippet/565/ ] had a lot of features and was easy to use, but unfortunately it had a lot of bugs and was written REALLY badly (Sorry to the author, but come on, hard coding 50 join statements for 5 servers each with 10 channels each is absurd).
An efficient, recursive mass-mode script which accumulates users as arguments to the aliases and applies the mode to them all at once, in groups of the maximum allowed by server, to prevent spamming up the channel. It also doesn't apply modes to those which already have it (i.e. Won't voice users who already have voice).