Hey try usin this script!
ON *:CONNECT: {
var %nick = <input nick here>
nick %nick
ns identify password
set %whoistry 1
whois $me $me
}
raw *:*: {
if ($numeric == 307) {
if ($1 == $2) {
join #chan,#chan2
unset %whoistry
}
}
if ($numeric == 433) {
ns release %nick password
set %idnickretry 1
nick %nick
}
}
ON *:NICK: {
if ($newnick == $me) {
if (%idnickretry) {
if ($me == %nick) {
whois $me $me
unset %idnickretry
}
}
}
}
Replace <input nick here> with your desired nick
Replace password with your password
I made it so it checks if you are identified by whoising you.
Also if the nick is used it will try to release it.