Mute and unmute

By Firedog150 on Aug 15, 2007

This is will mute a user on a channel
Commands -
!mute nick reason - Must hop or higher
!unmute nick - Must be hop or higher

You can customized like you want.
Example colors.

Edit - Added a Reason to it thanks to napa182

on *:text:!mute*:#:{ if ($nick isop $chan) || ($nick ishop $chan) {
    /mode $chan +b ~q: $+ $address($2,2)
    /msg $chan I just muted $2 Reason: $3-
  }
}
on *:text:!unmute*:#:{ if ($nick isop $chan) || ($nick ishop $chan) {
    /mode $chan -b ~q: $+ $address($2,2)
    /msg $chan I just unmuted $2 
  }
}

Comments

Sign in to comment.
Fuzion   -  Jul 22, 2008

nice

 Respond  
Anti   -  Aug 16, 2007

seem\'s dejatoons not working come to deja napa gawsh....

 Respond  
napa182   -  Aug 16, 2007

well sometimes ~q dont work on some servers

 Respond  
Anti   -  Aug 16, 2007

hehehe just like your crackpotbot napa! :P this gag doesnt work. on my bot when it sets mode ~q: they can still talk...

 Respond  
napa182   -  Aug 16, 2007

thats nice but how about add a way to leave a reason. Like..

on *:text:!mute*:#: { 
  if ($nick isop #) || ($nick ishop #) {
    mode $chan +b ~q: $+ $address($2,2) 
    msg $chan 4,1 $2 0,1Has been silenced 4,1:Reason:0,1 $3-
  }
}
 Respond  
Monky   -  Aug 15, 2007

hehe me 2 =p nice job

 Respond  
Anti   -  Aug 15, 2007

Fire dog this is also known as Gaging :P Well done i might just put on my bot. :)

 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.