It lets an op kick-ban someone for a certain amount of time.
usage:
!ban -nick- -time (in seconds)- -message-
!ban -nick- -if a time is not specified it will set the ban for 120 seconds.
if you are using a bot it might be easier to change ($nick isop $chan) to ($ulevel == number goes here)
any comments/suggestions are appreciated
on *:TEXT:!ban*:#:{
if (($nick isop $chan) && ($3)) .ban -ku $+ $3 $chan $2 $4-
if (($nick isop $chan) && (!$3)) .msg $chan if the ban time in seconds is not specified the default is 120 seconds
if (($nick isop $chan) && (!$3)) .ban -ku120 $chan $2
if (($nick isop $chan) && (!$2)) .msg $chan you need to specify a nick!
if ($nick !isop $chan) .msg $chan $nick $+ : You cant ban anyone! | hault
}