Thx for that script RusselB.
Today finally had time to fully test it, and didnt work good.
The timer, takes the delay from the RAW message.
In theory this should work, but in practise not. It's to fast.
When you try to fast, the time that you need wait will increase. So instead of having to wait 3 seconds, it actually ended up with like 85 timers, all trying to join over and over again....
Fixed it easily though, just modied one of your lines:
.timer 1 180 join %failedchan
Gave the timer a 3 minutes delay, which should always be long enough, and solved my problems
Thanks again!