It supposed to be #antiad on/off, thats why it doesnt enable/disable the group.
You should do a check to see if you are op and you also could use .ban -k $chan $nick 2 instead of kick and then ban (it should be $nick instead of $2 and in the mode +b, at the begin it should be \'.\' not \';\', if you meant that)