Thanks for the tip the bot will always be an op so im not to worried about it i will indeed keep that in minds now i do have one more question. Will this work for a 24hr ban

Code:
on *:TEXT:!ban24*:#: {
  if ($nick isop #) && ($2 ison #) {
   ban -k $chan $2 2 Banned for $duration($duration(24 hrs)
  }
}


or should i do it this way?

Code:
on *:TEXT:!ban24*:#: {
  if ($nick isop #) && ($2 ison #) {
   mode $chan +b $2 Banned for $duration($duration(24hrs)
  }
}


Thanks