Are you trying to join the channels before identifying to nickserv (or equivalent)?
Yes, I am identified with the BoT NiCk previously.
I think I've found the problem.
The code makes my invite channels in what I am , and perhaps to make a massive autoinvite , whatever I cause the error.
Is there another method to compare if I'm in a channel?
Perhaps the fault is here :
if ($comchan($me,%counter) == $gettok(%recan,%counter,44))
I have tried to eliminate the "else" and replaced by another "if" but did not work , I still invites channels where I am now, and that happens after the code is that I am not in a channel, invited me to that channel and the loop ("while") continues inviting me to other channels without comparing whether or not I am in them.
if ( $comchan($me,%counter) == $gettok(%recan,%counter,44)) { .timer 1 $calc(%counter + 3) echo -s you already are in $comchan($me,%counter)
inc %counter
}
if ( $comchan($me,%counter) != $gettok(%recan,%counter,44)) { .timer 1 $calc(%counter + 3) .msg chan invite $gettok(%recan,%counter,44)
inc %counter
}
Can it be that the fault is in this comparison ?
It does not work with "else" or with an "if" negative.
Will
$comchan($me,%counter) that does not compare well ?