Kick,Ban,kill counter

By newb on Feb 12, 2005

Hey

erm, i made this to count MY kicks kills and bans, I dont know much about scripting so i guess there is a better way to do this code but it seemed to work 4 me so thats all i care about,

Just add it to your remotes and it should start counting your kicks, kils and bans from there

;################
;#Kick,Ban,Kill Counter#
;################
menu channel {
  Counter
  .Kill's ( $+ %kill.count $+ )
  ..Resrt Counter:/set %kill.count 0
  .Kicks ( $+ %kick.count $+ )
  ..Reset Counter:/set %kick.count 0
  .Bans ( $+ %ban.count $+ )
  ..Reset Counter:/set %ban.count 0
}
alias kick {
  inc %kick.count 1
  kick $chan $2 $3- )  (Kick %kick.count 
} 
alias kill {
  inc %kill.count 1
  kill $1 $2- )  (kill %kill.count 
}
alias ban {
  inc %ban.count 1
  mode $chan +b $1- | /msg $chan Ban %ban.count 
}

Comments

Sign in to comment.
sith_   -  Jul 02, 2007

The way it is, it won\'t add 1 to the kick, kill, etc. this way will work.

menu channel {
Counter
.Kill\'s ( $+ %kill.count $+ )
..Resrt Counter:/set %kill.count 0
.Kicks ( $+ %kick.count $+ )
..Reset Counter:/set %kick.count 0
.Bans ( $+ %ban.count $+ )
..Reset Counter:/set %ban.count 0
}
alias kick {
inc %kick.count 1
kick $chan $1 $2- ) ( $calc(%kick.count + 1)
}
alias kill {
inc %kill.count 1
kill $1 $2- ) ( $calc(%kill.count + 1)
}
alias ban {
inc %ban.count 1
mode $chan +b $1- | /msg $chan Ban $calc(%ban.count + 1)
}

 Respond  
Yoinx   -  Feb 13, 2005

darthreven, its counting the kicks you make. not the channel\'s kicks.

 Respond  
newb   -  Feb 13, 2005

erm, i dont know much about scripting, i just try make it work anyway i can, and that code worked for me, i just added it to remotes and it started counting from there

 Respond  
LilPiMp   -  Feb 13, 2005

how do i make it work????????????

 Respond  
LilPiMp   -  Feb 13, 2005

how do i make it work????????????

 Respond  
LIQUID_NiTrO   -  Feb 13, 2005

yeah, you should make the code so that you dont have to add code to it....also don\'t know whats up with the parentheses around the kill deal...

 Respond  
DarthReven   -  Feb 12, 2005

on :kick:#: { inc %kick.count } on :ban:#: { inc %ban.count }

 Respond  
LilPiMp   -  Feb 12, 2005

how do you make it work? what do you have to type?

 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.