Kick Bad words

By xbox_gamer1 on Mar 19, 2012

Kick bad Words

Commands


!bad on
!bad off

You may add more words if need to the list

;;;;;;;;kick Bad works;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;By: xbox_gamer1;;;;;;;;;;;;;;;;;;;;;
MIRC - irc.themirageirc.com 

On $*:TEXT:/^!bad o(n|ff)$/iS:#: { 
  if ($me !isop #) describe $chan i most be moded in order to use this command :) 
  elseif ($nick !isop #) describe $chan You can not use this command >(
  else { 
    var %a describe $chan Badwords is now ON!
    var %b describe $chan Badwords is now OFF! 
    goto $regml(1) 
    :n | %a | set %bad. [ $+ [ $chan ] ] 1 | halt 
    :ff | %b | unset %bad. [ $+ [ $chan ] ] | halt 
  } 
} 
On $*:TEXT:/(fuck|a-hole|ass|asshold)/iS:#: { 
  if ($nick !isop #) { 
    if (%bad. [ $+ [ $chan ] ] == 1) { 
      kick # $nick 
      /mode # -b $nick
      describe $chan $nick No Saying badwords! :P  
    } 
  } 
}

Comments

Sign in to comment.
Mr.MaSTeR   -  Aug 24, 2012

/mode # +b $nick

 Respond  
Jethro   -  May 26, 2012

lol

 Respond  
Jethro   -  May 25, 2012

This snippet looks so familiar to me.

 Respond  
KilllerX   -  Mar 19, 2012

I have seen so many of these before. people who do a check for if they are not opped. they forget to see, if they are voiced (given ability to speak more) or whatnot. So a if ($nick isreg #) would work better.

 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.