Top

bot mute script


mIRC Code
+ 0 likes
Please Register to submit score.
Bookmark and Share
Average Score  1.6 (of 5 scores)
Date Added  Oct 04, 2008
Last Updated  Apr 03, 2009
Tags  bot  mute  script 

Introduction

Just place it in your bots remotes.
and set your self as auser level 5 or higher.

Grab the Code

on $5:text:/^!mute\b/Si:*:{
  tokenize 32 $strip($1-)
  if ($address($2,2)) { 
    .mode $chan +bb ~q: $+ $v1 ~n: $+ $v1
    else msg $chan No address found for $2 $+ .
    .mode $chan -aohv $2 $2 $2 $2
    .msg $chan 04 $+ $nick Just Muted You For: $iif($3,$3-,Blatent Retardation.)
  }
}
 
on $5:text:/^!unmute\b/Si:*:{
  tokenize 32 $strip($1-)
  if ($address($2,2)) { mode $chan -bb ~q: $+ $v1 ~n: $+ $v1
    else msg $chan 04No address found for $2 $+ .
    .mode $chan +v $2
    .msg $chan $2 $+ , you have been unmuted, please do not annoy anyone else, or you will be banned.
  }
}
 
 

Comments

  (21)  RSS
Bullet_Dodger
Comments: 313
 
mIRC Snippet:  bot mute script
Posted on Oct 4, 2008 5:04 am
Also add ~n so no nickname changes
6/10 Good Script ;P
a careful warchild
Comments: 243
 
mIRC Snippet:  bot mute script
Posted on Oct 4, 2008 5:06 am
nickname wont affect the mute ban, as it bans the hostmask not the nick ;)
Bullet_Dodger
Comments: 313
 
mIRC Snippet:  bot mute script
Posted on Oct 4, 2008 5:07 am
I know but,
When i mute people they change there nick to {{Dont_Mute_Me}}
ect
a careful warchild
Comments: 243
 
mIRC Snippet:  bot mute script
Posted on Oct 4, 2008 5:12 am
added.
EL
Comments: 1,125
 
mIRC Snippet:  bot mute script
Posted on Oct 4, 2008 5:19 am
Why are you /tokenize 'ing in the first place there is no need ,also why not $Strip($1) and allow the use of color commands, and maybe auto set the user level and to your main none bot nick and also add a on NICK event so you can keep you in command even on away's or afk nicks or just feckin around ,and make sure if you do something like that you ruser the temp nick.And maybe expand a little more i know ircD servers have tons of crap you can do so maybe add more commands.Good work tho.`-.-ยด
Gummo
Comments: 151
 
mIRC Snippet:  bot mute script
Posted on Oct 4, 2008 5:19 am
You're missing the closing bracket for the first on text event.
Also:
Code:
mode $chan +b ~q: $+ $v1 | mode $chan +b ~n: $+ $v1

Can be:
Code:
mode $chan +bb ~q: $+ $v1 ~n: $+ $v1

Etc.
a careful warchild
Comments: 243
 
mIRC Snippet:  bot mute script
Posted on Oct 4, 2008 5:34 am
added gummo, and gummo when i close the brackets on the first on *:text:*:#: it seems to stop working >.<
Scakk
Comments: 296
 
mIRC Snippet:  bot mute script
Posted on Oct 4, 2008 5:45 am
The seconds one will not work as you have it using * as the basis for the comparison before it goes into the event. Merge them as below and they will work.

Code:

on 5:text:*:#: {
  tokenize 32 $strip($1-)
  if ($1 == !mute) {
    if ($address($2,2)) mode $chan +bb ~q: $+ $v1 ~n: $+ $v1
    else msg $chan No address found for $2 $+ .
    mode $chan -aohv $2 $2 $2 $2
    msg $chan $2 Just Muted You For Reason: $iif($3,$3-,Blatent Retardation.)
  }
  if ($1 == !unmute) {
    if ($address($2,2)) mode $chan -bb ~q: $+ $v1 ~n: $+ $v11
    else msg $chan No address found for $2 $+ .
    mode $chan +v  $2
    msg $chan You have been unmuted... That was your only warning.. Do not annoy me again or you will be banned.
  }
}
a careful warchild
Comments: 243
 
mIRC Snippet:  bot mute script
Posted on Oct 4, 2008 8:47 am
i tried that, and it didn't work >.<
Bullet_Dodger
Comments: 313
 
mIRC Snippet:  bot mute script
Posted on Nov 1, 2008 12:07 pm
9/10
TheImrac
Comments: 64
 
mIRC Snippet:  bot mute script
Posted on Nov 1, 2008 12:22 pm
SMH... Bullet_dodger you scrub... Stop giving people rim jobs with your ratings and +likes... This script doesn't even work and you give it a 9? I mean come on.
napa182
Comments: 1,453
 
mIRC Snippet:  bot mute script
Posted on Nov 1, 2008 12:26 pm
^^5
a careful warchild
Comments: 243
 
mIRC Snippet:  bot mute script
Posted on Nov 2, 2008 2:57 pm
TheImrac, it works perfectly fine for me....
TheImrac
Comments: 64
 
mIRC Snippet:  bot mute script
Posted on Nov 2, 2008 8:03 pm
How about you take a gander at the code up top. Maybe you have updated your version since then, but just glancing at the code you are missing bracket(s).
Jace
Comments: 60
 
mIRC Snippet:  bot mute script
Posted on Nov 2, 2008 8:08 pm
And why do you have 2 separate on text events?.
Scakk
Comments: 296
 
mIRC Snippet:  bot mute script
Posted on Nov 3, 2008 5:22 am
*points at his remake up a few post from October*
a careful warchild
Comments: 243
 
mIRC Snippet:  bot mute script
Posted on Nov 3, 2008 1:58 pm
imrac: well this version, for me works fine, i have taken out the tokenize 32 on mine and editted it to if ($strip($1) == !mute) { ect ect
but apart from that it works fine 0.o
Bullet_Dodger
Comments: 313
 
mIRC Snippet:  bot mute script
Posted on Nov 24, 2008 10:36 am
Just a question.. Did you base this on Fans mute script ?
a careful warchild
Comments: 243
 
mIRC Snippet:  bot mute script
Posted on Nov 24, 2008 3:59 pm
no, i saw him use the $iif command, but i just thought of making one, i took his idea about the default reason tho.
a careful warchild
Comments: 243
 
mIRC Snippet:  bot mute script
Posted on Apr 3, 2009 8:29 pm
Updated, finally works now, sorry for my ignorancy over this long and laborious time. But there you go :)
napa182
Comments: 1,453
 
mIRC Snippet:  bot mute script
Posted on Apr 3, 2009 8:35 pm
you dont need to use "tokenize 32 $strip($1-)" if you are stripping the color out in the regex.

also whynot put them under 1 on text event. here's just an example



Code:
on $5:text:/^(!mute|!unmute)\b/Si:#:{
  if ($2 != $me && $2 ison #) {
    if ($regml(1) == !mute && $address($2,2)) {
      mode # +bb-aohv ~q: $+ $v1 ~n: $+ $v1 $str($2 $chr(32),4)
      msg # 04 $+ $nick Just Muted You For: $iif($3,$3-,Blatent Retardation.)
    }
    if ($regml(1) == !unmute && $address($2,2)) {
      mode # -bb+v ~q: $+ $v1 ~n: $+ $v1 $2
      msg # $2 $+ , you have been unmuted, please do not annoy anyone else, or you will be banned.
    }
  }
}


Commenting Options

Register or Login to Hawkee.com or use your Facebook or Twitter account by clicking the corresponding button below.

  
Bottom