anti slapper

By fire_wizard1 on Nov 26, 2008

this is a script that is modifide from ChunkieMonkey, it took me about an hour to get right though, his original one was not working. so i worked on it and it seems fine and tested.

on *:action:$($+(*,slap,*,$me,*)):#:{
  if ($me isin $1-) {
    describe $chan { slaps  $nick }
    }
  }

Comments

Sign in to comment.
fire_wizard1   -  Jan 05, 2009

eh, im pretty happy with my work on this snippet, its the first snippet that i worked on that worked, so i feel pretty dang well accomplished on this

 Respond  
napa182   -  Nov 26, 2008

you could do
i added flood pro and instead of just saying " slaps $nick " it takes what they said and replaces ur nick with theirs.

ex:

  • &Sick0 slaps napa182 with a Brick
  • ~napa182 slaps Sick0 with a Brick
on *:action:$($+(*,slap,*,$me,*)):#:{ if (!$($+(%,slapflood,.,$nick),2)) { set -u3 $+(%,slapflood,.,$nick) on | describe $chan $replace($1-,$me,$nick) } }
 Respond  
guest598594   -  Nov 26, 2008

I think it'd be obvious that $me isin $1- if you check for it in the first line.

 Respond  
a careful warchild   -  Nov 26, 2008

i don't see why you have to post old scripts that are modified when it's much easier to put that code into the


 tags. In future do this as it saves time and space.
 Respond  
newklear   -  Nov 26, 2008

on :action:$($+(,slap,,$me,)):#:{
if ($me isin $1-) {
describe $chan { slaps $nick }
}
}

Rather do it this way:

on :action:$($+(,slap,,$me,)):#: {
describe $chan slaps $nick
}
OR
on :action:slap*:#: {
if ($me isin $1-) {
describe $chan slaps $nick
}
}

 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.