You also have to make sure that the bot is an OP too

Code:
on @*:TEXT:!ban*:#: {

  if ($nick isop #) && ($2 ison #) {

   mode $chan +b $2

 }

}  


The "@" checks if the bot is an op then the script continues.


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!