Top

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

CODE CREATED BY FATSO913 - http://www.mikedontcare.com
------------------------
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!

Grab the Code

Comments

  (27)  RSS
Akishoot
Comments: 131
 
mIRC Snippet:  Mirc Muter!
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. :)
Akishoot
Comments: 131
 
mIRC Snippet:  Mirc Muter!
Posted on Sep 2, 2007 8:49 pm
Ahh scratch that first part :3. I didn\'t read the Introduction (Dee dee dee) :|
Scakk
Comments: 214
 
mIRC Snippet:  Mirc Muter!
Posted on Sep 2, 2007 9:00 pm
The line \" mode # +m \" will mute the entire channel not just a single user.
Godzilla
Comments: 91
 
mIRC Snippet:  Mirc Muter!
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
}
Ghost-lit Warder
Comments: 136
 
mIRC Snippet:  Mirc Muter!
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.
napa182
Comments: 953
 
mIRC Snippet:  Mirc Muter!
Posted on Sep 3, 2007 12:21 am
well maybe it was made for a room that has auto voice users on it.
Ghost-lit Warder
Comments: 136
 
mIRC Snippet:  Mirc Muter!
Posted on Sep 3, 2007 12:38 am
If that is true, then I recommend he include that in the introduction. ;)
kerstt
Comments: 64
 
mIRC Snippet:  Mirc Muter!
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)
mountaindew
Comments: 1,523
 
mIRC Snippet:  Mirc Muter!
Posted on Sep 3, 2007 9:18 pm
why just menu nicklist? how bout

menu * {
mountaindew
Comments: 1,523
 
mIRC Snippet:  Mirc Muter!
Posted on Sep 3, 2007 9:19 pm
ah i see, nvm
mountaindew
Comments: 1,523
 
mIRC Snippet:  Mirc Muter!
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

*
mountaindew
Comments: 1,523
 
mIRC Snippet:  Mirc Muter!
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.
  }
}
Ghost-lit Warder
Comments: 136
 
mIRC Snippet:  Mirc Muter!
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.
mountaindew
Comments: 1,523
 
mIRC Snippet:  Mirc Muter!
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
Ghost-lit Warder
Comments: 136
 
mIRC Snippet:  Mirc Muter!
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.
mountaindew
Comments: 1,523
 
mIRC Snippet:  Mirc Muter!
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
Ghost-lit Warder
Comments: 136
 
mIRC Snippet:  Mirc Muter!
Posted on Sep 3, 2007 10:17 pm
Wouldn\'t the mode # -havoqe already take care of the -v to the muted nick? =x
mountaindew
Comments: 1,523
 
mIRC Snippet:  Mirc Muter!
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!
mountaindew
Comments: 1,523
 
mIRC Snippet:  Mirc Muter!
Posted on Sep 3, 2007 10:20 pm
if ur real desperate to ignore someone, u might wanna add /ignore $1
Ghost-lit Warder
Comments: 136
 
mIRC Snippet:  Mirc Muter!
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.
mountaindew
Comments: 1,523
 
mIRC Snippet:  Mirc Muter!
Posted on Sep 3, 2007 10:21 pm
good idea
napa182
Comments: 953
 
mIRC Snippet:  Mirc Muter!
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
mountaindew
Comments: 1,523
 
mIRC Snippet:  Mirc Muter!
Posted on Sep 3, 2007 11:03 pm
-q means channel owner with chanserv btw
Ghost-lit Warder
Comments: 136
 
mIRC Snippet:  Mirc Muter!
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.
Ghost-lit Warder
Comments: 136
 
mIRC Snippet:  Mirc Muter!
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.
Olliegod
Comments: 74
 
mIRC Snippet:  Mirc Muter!
Posted on Sep 4, 2007 4:00 am
I find it amusing that there are 25 comments for a 5 line code.
Akishoot
Comments: 131
 
mIRC Snippet:  Mirc Muter!
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 :).

Please Register or Login to start posting comments.
Bottom