Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /mute {
- if ($1 !ison $chan) { echo -a 4 $+ $1 is not on $chan $+ ! }
- elseif ($1 == $null || $2 == $null) { echo -a 4One or more required parameters are missing. }
- elseif ($1 ison $chan) { mode $chan -aohv+b $1 $1 $1 $1 ~q: $+ $address($1,2) | msg $chan 7 $+ $1 6has been muted for 7 $+ $2- }
- else { echo -a Unexpected error. | HALT }
- }
- /unmute {
- if ($1 !ison $chan) { echo -a 4 $+ $1 is not on $chan $+ ! }
- elseif ($1 == $null) { echo -a 4One or more required parameters are missing. }
- elseif ($1 ison $chan) { mode $chan -b ~q: $+ $address($1,2) | msg $chan 7 $+ $1 6has been unmuted. }
- else ( echo -a Unexpected error. | HALT }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement