Can anyone help me with a script that can detect a mode +b by a server? Just trying to make a script that will unban any ban that is placed due to netsplit (placed by the returning server). Thanks..
detecting +b modes set by the server is done in exactly the same way as bans set by a user. the way to detect in the proc that its a server, is that userhost will not have a ! or @ in it, so a simple [string match *!*@* $userhost] will return 0 if its a server, and 1 if its a user.