Another idea would be to check if the bot disconnects for example 3 times in a period of seconds then change nick and if it connects change back to the original nick after releasing it.
-SecureServ (suporte@PTnet.org)- You have been Akilled from this network.
-ERROR from server- Closing Link: VectorSigma[vip.na.sublimesp.net] (User has been banned)
This what shows when someone using same vhost does some crap online and all pay for it...
how can I make the bot change vhost and reconnect with new vhost when this shows up?