Dani_l11 commented on a Page, Slap Dodge  -  Sep 12, 2011

**** yea jethro made a worthless code!

Code:
on *:action:*:*:{
  .ignore -cpu3 $nick 2
  var %slap-excludes = #help,#suppport
  var %active = $iif($active ischan,$v1,$nick) | inc %anti
  if (!$istok(%slap-excludes,%active,44)) && ($count($strip($1-),slap,$me)) {
    describe %active dodges! $chr(91) $+ Slaps Dodged: %anti $+ $chr(93)
  }
}

Can't edit anymore, its too late.

Also; correct one without identifieres to make it look more complicated and me more intelligent is

on *:action:*slap*:*: {
  var %slap-excludes = #help,#suppport
  if (!$istok(%slap-excludes,#,44)) {
    if (($me isin $1-) {
      inc %anti
    describe $iif(#,#,$nick) dodges! $chr(91) $+ Slaps Dodged: %anti $+ $chr(93)    }
  }
}
 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.