$ial(nick) returns the full address - nick!user@123.host.com
$address($me,2) is only the host part of that - *!*@123.host.com
You need $address($me,
5) to match all possible banmasks, which is exactly the same as $ial($me)
Also see
/help /if for info on
&&.
on @*:ban:#:{
if (%securety == 1) [color:red]&&[/color] ($banmask iswm $address($me,[color:red]5[/color])) {
kick $chan $nick 8Security Mode4, 9Dont Try to Ban Me! }
}
}