mIRC Homepage
Posted By: Phenom Kick Counter Script - 30/12/03 09:34 PM
Anyone know a good Kick Counter script, where if I kick someone it shows how many I've kicked.

Thanks alot.
Posted By: EVH Re: Kick Counter Script - 30/12/03 09:44 PM
Here's something to get ya started on making your own ...
Code:
on ME:*:KICK:#: {
  inc $+(%,kick-count.,#)
  echo -cet kick # * $knick is the $ord($eval($+(%,kick-count.,#),2)) person you've kicked from #
}
Posted By: Phenom Re: Kick Counter Script - 30/12/03 09:50 PM
That's cool, but I want it to show like this..

Say I want to do a Kick (why) and I put my reason, I want it to show my reason, and this <#ofkicked>
Posted By: EVH Re: Kick Counter Script - 30/12/03 10:00 PM
Code:
on ME:^*:KICK:#: {
  inc $+(%,kick-count.,#)
  echo -ct kick # * You kicked $knick from # (Reason: $1- $+ ) &lt;Kick $+($chr(35),$eval($+(%,kick-count.,#),2)) for # $+ &gt;
  haltdef
}
Posted By: Phenom Re: Kick Counter Script - 30/12/03 10:12 PM
That one was better...

I want it to say this "[16:09] * Nean was kicked by Phenom (testing 123 <1>)" as <1> Showing how many I've kicked in the channel. Not in the status window.

is that possible?
Posted By: EVH Re: Kick Counter Script - 30/12/03 10:16 PM
Code:
on ME:^*:KICK:#: {
  inc $+(%,kick-count.,#)
  inc %kick-count
  echo -ct kick # * $knick was kicked by $nick ( $+ $1- &lt; $+ $eval($+(%,kick-count.,#),2) kicks on # - %kick-count kicks Total&gt;
  haltdef
}
Posted By: Phenom Re: Kick Counter Script - 30/12/03 10:27 PM
haha, still the same kinda...

It still says it in the status window, and not the Channel..

When someone gets kicked, it says this in the channel
[16:23] * Ruey was kicked by Phenom (New test)

I want it to say (New test <#ofkicked>) in the Channel, not the Status window...Is that possible to do?
Posted By: EVH Re: Kick Counter Script - 30/12/03 10:28 PM
what version of mIRC are you using ?

the one I pasted shows perfectly on mIRC 6.12
Posted By: Phenom Re: Kick Counter Script - 30/12/03 10:36 PM
6.1 shocked
Posted By: EVH Re: Kick Counter Script - 30/12/03 10:43 PM
Ok .. try this .. must use both to put count in the reason
I used the kick alias and kick event because just
because you use the kick command doesn't mean it's
going to happen .. like if you're not opped or something.
So this way, it shows the kick count in the kick reason
but doesn't actually increase the count until the actual
kick event takes place.
Code:
on ME:*:KICK:#: {
  inc $+(%,kick-count.,#)
  inc %kick-count
}
alias kick {
  var %t = $iif(!%kick-count,0,%kick-count) + 1
  var %c = $iif(!$eval($+(%,kick-count.,$1),2),0,$eval($+(%,kick-count.,$1),2)) + 1
  kick $1-2 $iif($3 != $null,$3-,$2) $+(&lt;,$ord(%c)) on $1 - $ord(%t) Total&gt;
}


pasted below so you don't have to sort it

on ME:*:KICK:#: {
inc $+(%,kick-count.,#)
inc %kick-count
}
alias kick {
var %t = $iif(!%kick-count,0,%kick-count) + 1
var %c = $iif(!$eval($+(%,kick-count.,$1),2),0,$eval($+(%,kick-count.,$1),2)) + 1
kick $1-2 $iif($3 != $null,$3-,$2) $+(<,$ord(%c)) on $1 - $ord(%t) Total>
}
© mIRC Discussion Forums