at the beginning of a script add.
Code:
;for banning nicks
if ($istok($nick,bannnednick1 nick2 durr,32)) halt

;for banning addresses
if ($istok($address($nick,2),*!*@this.is.a.vhost *!*@weeee.weeee.weeee,32)) halt


Just replace the example nicks/addresses with who you want to ban


http://scripting.pball.win
My personal site with some scripts I've released.