Mirc Muter!
+ 0 likes
Please Register to submit score.
| Average Score | 0.0 |
| Scores Submitted | 0 |
| Date Added | Sep 02, 2007 |
| Last Updated | Sep 02, 2007 |
| Tags | alias channel devoice flood help moderate mute popup protect protection quiet remote silence |
Introduction
------------------------
This is a simple code that just "Mute's" The user of your choice.
You must be an Half-Op Or higher to use this script.
PASTE THE BELOW SCRIPT IN THE ALIASES SECTION OF THE SCRIPTS EDITOR
This can be activated by typing "/mute <user>" Once the Script has been entered into the ALIASES section you can goto the Remote Section and paste the following:
| Code: |
| menu nicklist { Mute User:/mute $$1 } |
You will now be able to right click on a user in the NickList and Mute them by pressing "Mute User"
------------------------------------------------
PLEASE READ THE INTRODUCTION FIRST!
mIRC Snippet:
Mirc Muter!
Posted on Sep 2, 2007 8:48 pm
Posted on Sep 2, 2007 8:48 pm
I believe you are missing \' alias \' before mute { (forgive me if I\'m wrong :3)
That\'s one way to do it. The only problem with that way is that any users not voiced or higher would get the same effect.
Another way would be:
menu nicklist {
mode $chan +b ~q: $+ $address($$1,2)
}
You\'d need to deop or devoice and such, but I tend to use this a lot. That is, if the server you\'re on supports ~q. :)
That\'s one way to do it. The only problem with that way is that any users not voiced or higher would get the same effect.
Another way would be:
menu nicklist {
mode $chan +b ~q: $+ $address($$1,2)
}
You\'d need to deop or devoice and such, but I tend to use this a lot. That is, if the server you\'re on supports ~q. :)
mIRC Snippet:
Mirc Muter!
Posted on Sep 2, 2007 8:49 pm
Posted on Sep 2, 2007 8:49 pm
Ahh scratch that first part :3. I didn\'t read the Introduction (Dee dee dee) :|
mIRC Snippet:
Mirc Muter!
Posted on Sep 2, 2007 9:00 pm
Posted on Sep 2, 2007 9:00 pm
The line \" mode # +m \" will mute the entire channel not just a single user.
mIRC Snippet:
Mirc Muter!
Posted on Sep 2, 2007 11:34 pm
Posted on Sep 2, 2007 11:34 pm
It has a few errors, it can be:
| Code: |
| mute { say $1 $+ , You are now muted from $chan until Further Notice. mode $chan +m mode $chan -qaohve $1 $1 $1 $1 $1 $1 } |
mIRC Snippet:
Mirc Muter!
Posted on Sep 3, 2007 12:08 am
Posted on Sep 3, 2007 12:08 am
How about voicing every other user before you devoice the muted user, so you don\'t have others muted as well.
mIRC Snippet:
Mirc Muter!
Posted on Sep 3, 2007 12:21 am
Posted on Sep 3, 2007 12:21 am
well maybe it was made for a room that has auto voice users on it.
mIRC Snippet:
Mirc Muter!
Posted on Sep 3, 2007 12:38 am
Posted on Sep 3, 2007 12:38 am
If that is true, then I recommend he include that in the introduction. ;)
mIRC Snippet:
Mirc Muter!
Posted on Sep 3, 2007 10:17 am
Posted on Sep 3, 2007 10:17 am
mode # -havoqe $1- $1- $1- $1- $1- $1-
try using $str
mode # -havoqe $str($1- $chr(32),6)
try using $str
mode # -havoqe $str($1- $chr(32),6)
mIRC Snippet:
Mirc Muter!
Posted on Sep 3, 2007 9:18 pm
Posted on Sep 3, 2007 9:18 pm
why just menu nicklist? how bout
menu * {
menu * {
mIRC Snippet:
Mirc Muter!
Posted on Sep 3, 2007 10:07 pm
Posted on Sep 3, 2007 10:07 pm
| Code: |
menu nicklist { $iif(%muted [ $+ [ $1 ] ],Unmute,Mute) $1: $iif(%muted [ $+ [ $1 ] ],unmute,mute) $1 Unmute All { unmuteall } } alias unmute unset %muted [ $+ [ $1 ] ] | say $1 is now unmuted from # $+ . alias mute { say $1 $+ , You are now muted from # until Further Notice. mode # +m mode # -havoqe $str($1- $chr(32),6) set %muted [ $+ [ $1 ] ] muted } alias unmuteall unset %muted* | mode # -m | say Everyone is now unmuted from # $+ . on *:join:#:{ if (%muted [ $+ [ $nick ] ] == muted) { timer 1 5 mode # -havoqe $str($nick $chr(32),6) msg $chan $nick $+ , You are muted from # until Further Notice. } } |
*if they /hop it deops/devoices/de...\'s them
*Now has a menu to mute/unmute nick, depending on how the variable is set
*Feature to unmute everyone
*
mIRC Snippet:
Mirc Muter!
Posted on Sep 3, 2007 10:09 pm
Posted on Sep 3, 2007 10:09 pm
actually, make it
| Code: |
menu nicklist { $iif(%muted [ $+ [ $1 ] ],Unmute,Mute) $1: $iif(%muted [ $+ [ $1 ] ],unmute,mute) $1 Unmute All { unset %muted* | mode # -m | say Everyone is now unmuted from # $+ . } } alias unmute unset %muted [ $+ [ $1 ] ] | say $1 is now unmuted from # $+ . alias mute { say $1 $+ , You are now muted from # until Further Notice. mode # +m mode # -havoqe $str($1- $chr(32),6) set %muted [ $+ [ $1 ] ] muted } on *:join:#:{ if (%muted [ $+ [ $nick ] ] == muted) { timer 1 5 mode # -havoqe $str($nick $chr(32),6) msg $chan $nick $+ , You are muted from # until Further Notice. } } |
mIRC Snippet:
Mirc Muter!
Posted on Sep 3, 2007 10:09 pm
Posted on Sep 3, 2007 10:09 pm
| Code: |
alias mute { var %x = 1 while ($nick($active, %x)) { mode # +vvv $nick($active, %x) | inc %x 1 } mode # +m mode # -havoqe $str($1- $chr(32),6) say $1 $+ , you are now muted from $chan until further notice. } |
That should work. It will voice everyone else first and then set +m.
mIRC Snippet:
Mirc Muter!
Posted on Sep 3, 2007 10:13 pm
Posted on Sep 3, 2007 10:13 pm
well, if u do that u might voice someone that is supposed to be unmuted...so if u do mine and urs combines or w/e, ud need to check if %muted [ $+ [ $nick ] ] == muted, mode # -v $nick
mIRC Snippet:
Mirc Muter!
Posted on Sep 3, 2007 10:16 pm
Posted on Sep 3, 2007 10:16 pm
Well, sure if you want to combine our codes go for it. But to clarify, the order of the script should voice everyone then devoice the muted nick.
mIRC Snippet:
Mirc Muter!
Posted on Sep 3, 2007 10:16 pm
Posted on Sep 3, 2007 10:16 pm
| Code: |
menu nicklist { $iif(%muted [ $+ [ $1 ] ],Unmute,Mute) $1: $iif(%muted [ $+ [ $1 ] ],unmute,mute) $1 Unmute All { unset %muted* | mode # -m | say Everyone is now unmuted from # $+ . } } alias unmute unset %muted [ $+ [ $1 ] ] | say $1 is now unmuted from # $+ . on *:join:#:{ if (%muted [ $+ [ $nick ] ] == muted) { timer 1 5 mode # -havoqe $str($nick $chr(32),6) msg $chan $nick $+ , You are muted from # until Further Notice. } } alias mute { var %x = 1 while ($nick($active, %x)) { mode # +vvv $nick($active, %x) | inc %x 1 if (%muted [ $+ [ $nick($active, %x ] ] == muted) mode # -v $nick($active, %x) } mode # +m mode # -havoqe $str($1- $chr(32),6) say $1 $+ , you are now muted from $chan until further notice. set %muted [ $+ [ $1 ] ] muted } |
that should work
mIRC Snippet:
Mirc Muter!
Posted on Sep 3, 2007 10:17 pm
Posted on Sep 3, 2007 10:17 pm
Wouldn\'t the mode # -havoqe already take care of the -v to the muted nick? =x
mIRC Snippet:
Mirc Muter!
Posted on Sep 3, 2007 10:19 pm
Posted on Sep 3, 2007 10:19 pm
what im sayin, is if there are previously muted nicks in the channel still, you wouldnt want to voice them!
mIRC Snippet:
Mirc Muter!
Posted on Sep 3, 2007 10:20 pm
Posted on Sep 3, 2007 10:20 pm
if ur real desperate to ignore someone, u might wanna add /ignore $1
mIRC Snippet:
Mirc Muter!
Posted on Sep 3, 2007 10:21 pm
Posted on Sep 3, 2007 10:21 pm
Ah, I see. I misunderstood the point of your previous code and thought that it was only for one nick. =0 In that case you might as well use $addtok to simple set the nicks to one variable.
mIRC Snippet:
Mirc Muter!
Posted on Sep 3, 2007 11:00 pm
Posted on Sep 3, 2007 11:00 pm
i dont get why you would put the -q isent q chan owner? cuz it is on the server im on
mIRC Snippet:
Mirc Muter!
Posted on Sep 3, 2007 11:03 pm
Posted on Sep 3, 2007 11:03 pm
-q means channel owner with chanserv btw
mIRC Snippet:
Mirc Muter!
Posted on Sep 3, 2007 11:08 pm
Posted on Sep 3, 2007 11:08 pm
It would ignore the ones you can\'t use and simply put \'#channel You\'re not a channel owner.\'
@ fatso913, you should make it -ohve and use if ($me isop $chan) so you are not including modes a server doesn\'t have.
@ fatso913, you should make it -ohve and use if ($me isop $chan) so you are not including modes a server doesn\'t have.
mIRC Snippet:
Mirc Muter!
Posted on Sep 3, 2007 11:11 pm
Posted on Sep 3, 2007 11:11 pm
[ It would ignore the ones you can\'t use and simply put \'#channel You\'re not a channel owner.\' ] - Nevermind, that would be if the server supported qa modes.
mIRC Snippet:
Mirc Muter!
Posted on Sep 4, 2007 4:00 am
Posted on Sep 4, 2007 4:00 am
I find it amusing that there are 25 comments for a 5 line code.
mIRC Snippet:
Mirc Muter!
Posted on Sep 4, 2007 5:20 am
Posted on Sep 4, 2007 5:20 am
mountaindew/napa182 - Up there I did not put a -q ;) It\'s ~q (tilde) which is a quiet ban on the server I\'m on :3. I\'m not sure if it is for the server he\'s on or not, I was just suggesting that he try it :).






