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