Use "!b " to ban that person for 30 minutes.
(Only Ops can use this command)
on *:Text:!b *:#:{
if ($nick isop $chan) {
kick # $2 Banned for 30 Minutes. | ban -u1800 # $address($2,1) | /unset % [ $+ [ $2 ] $+ [ %h ] $+ [ $chan ] $+ ] .
}
else {
/notice $nick Sorry you need to be a Operator to use this command.
}
um i dont know why you have it unsetting a var that it never set\'s .
and these 2 lines
kick # $2 Banned for 30 Minutes. | ban -u1800 # $address($2,1)
you can do this instead
ban -ku1800 # $2 1 Banned for 30 Minutes.
and you are also missing a ending bracket...
@criminal why tell them they are unbaned for. when it says they are banned for 30 Minutes in the kick message.