kick,ban counter

By StonedStoner on Feb 20, 2005

counts ur kicks and bans and when u kick someone it puts the number of kicks in the kick reason

;;;;;;;;;;;
;remotes;
;;;;;;;;;;;
menu menubar {
  Kick/Ban Counter
  .display kicks:/msg $acive Kicks: %kick.num
  .reset kicks:/set %kick.num 0
  .display bans:/msg $active Bans: %ban.num
  .reset bans:/set %ban.num 0
}
on *:KICK:#: {
  if ($nick == $me) {
    inc %kick.num 1
  }
  else { halt }
}
on *:BAN:#: {
  if ($nick == $me) {
    inc %ban.num 1
  }
  else { halt }
}
;;;;;;;;;;
;aliases;
;;;;;;;;;;
/kick kick $1- 15(12K14ick 12#14 $+ $calc(%kick.num + 1) $+ 15)

Comments

Sign in to comment.
StonedStoner   -  Mar 02, 2005

its cool

 Respond  
xDaeMoN   -  Mar 01, 2005

heh don\'t worry, I always read the posts before I post mine but I did misunderstood the purpose of this snippet. I thought you were counting the number of times you\'ve been banned that\'s why I posted, my bad.

 Respond  
StonedStoner   -  Mar 01, 2005

is what i already said =/

 Respond  
StonedStoner   -  Mar 01, 2005
on all the servers i chill on it $knick for the person being kicked a $nick for the person kicking and $bnick for the person being banned but only if there nick is in the $banmask
 Respond  
StonedStoner   -  Mar 01, 2005

..b4 commenting read the other ones becuse thats pretty much what i said and its not ban/kick protection it counts how many times u have banned and how many ppl uve kicked

 Respond  
xDaeMoN   -  Mar 01, 2005

Also sometimes people uses masks in banning & $bnick returns $null if the banmask doesn\'t include the nick. You might want to include \" ($banmask iswm $address($me,5))\".

 Respond  
StonedStoner   -  Mar 01, 2005

fixed*

 Respond  
StonedStoner   -  Mar 01, 2005

well shit ur right lol my bad typo

 Respond  
StonedStoner   -  Feb 28, 2005

but u can always change it to suit your needs

 Respond  
StonedStoner   -  Feb 28, 2005

on all the servers i chill on it $knick for the person being kicked a $nick for the person kicking and $bnick for the person being banned but only if there nick is in the $banmask

 Respond  
brottor   -  Feb 22, 2005

um im not sure about all servers but the few i idle on for kick its if ( $knick == $me ) and ban is if ( $bnick == $me )

 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.