Please note that most, if not all, IRCd's have a limit as to the number of channels you can join. This limit is set in the IRCd configuration file.

Also, note that SladeKraven's code does not allow for a possible "Target change too fast" error. The easiest way to get around this, is to change
Code:
join $gettok($readini(mirc.ini,chanfolder,$ini(mirc.ini,chanfolder,%x)),1,44)
to
Code:
.timer 1 %x join $gettok($readini(mirc.ini,chanfolder,$ini(mirc.ini,chanfolder,%x)),1,44)