if ($1 == kb) { mode $chan +b $address($nick,2) | mode $chan +b $nick | mode $chan +b $remtok($gettok($address($nick,0),1,64),*,0,33) }
the first bans the host (virtual ip ) , the second bans the nick and the third bans the ident.
test the 3rd to see it works great
type //echo -a $remtok($gettok($address($me,0),1,64),*,0,33)
token identifiers are very usefull