Bot script for Shutting up people

By Wishmaker on Aug 12, 2007

This Script will Deop, Dehalfop, and Devoice a user and set +m (muted/moderated) on a channel, useful for flooders you don't want kicked, just type !shutup you might want it to only work for you, or add the script to botmaster only(or whatever your type of bot calls it) cause it can be abused badly.

on :text:!Shutup:#: {
    .mode $chan +m 
    .mode $chan -v $2
    .mode $chan -h $2
    .mode $chan -o $2
  }
}

Comments

Sign in to comment.
Anti   -  Aug 12, 2007

Rofl i dont got the time to fix my pc. :P

 Respond  
napa182   -  Aug 12, 2007

i told you befor to fix ur pc =P

 Respond  
Anti   -  Aug 12, 2007

Very nice napa simple and easy but people like me with no mouse cannot access the nicklist so i prefure the original snippet :)

 Respond  
napa182   -  Aug 12, 2007

here\'s the same thing but if you want to use it in a nick list..

Menu Nicklist  {
  shutup {
    inc %shutup.count
    set %shutup.nick $1
    mode $chan +m
    mode $chan -a %shutup.nick 
    mode $chan -v %shutup.nick 
    mode $chan -h %shutup.nick 
    mode $chan -o %shutup.nick 
    msg $chan Sorry %shutup.nick But you Left Me No Other Choice. %shutup.nick You Are The4 $ord(%shutup.count) Person I Had To Make ShutUP.
    unset %shutup.nick
  }
} 
 Respond  
Anti   -  Aug 12, 2007

hmm yeah once again forgot the wildcards
:D

 Respond  
Wishmaker   -  Aug 12, 2007

yeah I kinda made it in a rush, I\'m still learning as I go, so I just made a simple script, lol

 Respond  
Ghost-lit Warder   -  Aug 12, 2007

Well, at least the -qa part.

 Respond  
Ghost-lit Warder   -  Aug 12, 2007

AHBARAR, wouldn\'t that only work if you were the owner of the channel?

 Respond  
Ghost-lit Warder   -  Aug 12, 2007

That would work too. When I said the alias I meant making it a nicklist popup so that it does all the $$1 work for you. :p

 Respond  
AHBARAR   -  Aug 12, 2007

i prefer if u add
on :text:!shutup:#: {
if ($2 == $null) {
if ($me !isop $chan) && ($me !ishop $chan) { .msg $nick im not op in $chan or halfop | closemsg $nick | halt }
if ($2 ison $chan) { .msg $nick $2 Is not on $chan | closemsg $nick | halt }
if ($me isop $chan) || ($me ishop $chan) { .mode $chan +m | mode $chan -qavho $2 $2 $2 $2 $2 }

 Respond  
Anti   -  Aug 12, 2007

on :text:!Shutup:#: {
.mode $chan +m
.mode $chan -v $2-
.mode $chan -h $2-
.mode $chan -o $2-
.mode $chan -a $2-
.mode $chan -e $2-
}
}
There i think that should be right i dont know if anyone noticed that you cant type !shutup with someones name beside it because it doesnt have * wildcard beside !shutup :P

 Respond  
Anti   -  Aug 12, 2007

yeah that would work just take to long rofl ..

 Respond  
Ghost-lit Warder   -  Aug 12, 2007

*an btw.

 Respond  
Ghost-lit Warder   -  Aug 12, 2007

Or you could make it a alias and make a nicklist popup. So that you can just use $$1.

 Respond  
Anti   -  Aug 12, 2007

INPUT rofl isnt that just going to set modes on the chan not the person you want it to set it on wishmaker wasnt this to shutup you bot? rofl well put that (if$nick == ) thingy in there make it alot better also add that *< .. hehe and make more commments rofl..

 Respond  
Shadow Clash   -  Aug 12, 2007

Yeah, for to tell that. lol

 Respond  
Lindrian   -  Aug 12, 2007

The on text event is incorrect.
its on *:text:#: {.

 Respond  
Shadow Clash   -  Aug 12, 2007

No need of bots. We could do ourself.

 Respond  
Shadow Clash   -  Aug 12, 2007

Test it if it works before you make any snippets.

We can\'t use TEXT event on ourself.

The right on is,

on *:input:#:{
if ($1 == !shutup) {
mode $chan +m
mode $chan -v $2
mode $chan -h $2
mode $chan -o $2
mode $chan -a $2
mode $chan -q $2
}
}

 Respond  
Wishmaker   -  Aug 12, 2007

if you don\'t have any kind of access level or don\'t know how to add the script to owner/master only, here\'s a version that only works for you, just replace with your nickname:

on :text:!Shutup:#: {
if ($nick == )
.mode $chan +m
.mode $chan -v $2
.mode $chan -h $2
.mode $chan -o $2
}
}

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.