30 min ban

By Soresser on Aug 03, 2007

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.
  }

Comments

Sign in to comment.
napa182   -  Mar 26, 2008

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.

 Respond  
criminal   -  Mar 26, 2008

Ban? this is kickban :P
Maybe add a timer that will notice or msg the bannick when he\'s unbanned.
Timer 1 1800 notice $2 You have been unbanned from $chan ( 30M ban )

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.