Ok, I'm trying to get a script, that will solve the "Cannot join channel, target change to fast" problem.

Raw 439 is actually triggered when this happens.
$2 is the channel that couldnt be joined.

With this, it should be possible to write the channel to a variable, like %failedchan-channame
The channame has to change obviously.

raw 439:*Target change too fast*:{
set %failedchan- $+ $2
}

Then when the connect is done, I want a timer, that will search for this variable, and if it exist, join the channel that couldnt be joined before.

Can anyone help me with this please?