menu 10min ban

By _Lestat_ on Dec 04, 2011

a menu ban that bans for 10 mins and undoes simply right click on someones name go to ban nick and it does the rest

menu nicklist { 
  10_min_Ban
  ..Ban $1:{
    mode $chan +b $address($1,2) 
    kick $chan $1 10 Minute Ban 
    timer 1 600 mode $chan -b $address($1,2)
  }
}

Comments

Sign in to comment.
_Lestat_   -  Dec 05, 2011

right I do agree and have changed this on mine as always looking for the shorter route so ty

 Respond  
Jethro   -  Dec 05, 2011

I see, but you still don't need timer for removing the ban. Use:

ban -u600 $chan $address($1,2)
 Respond  
_Lestat_   -  Dec 05, 2011

I actually did try that like 10 seconds after I though but the script has to be at least 100 characters and with the code ou present it only hits 86 so I cant

 Respond  
Jethro   -  Dec 04, 2011

You can save all these:> mode $chan +b $address($1,2)
kick $chan $1 10 Minute Ban
timer 1 600 mode $chan -b $address($1,2)and replace them with this:

ban -ku600 # $1 2 10 Minute 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.