mIRC Homepage
Posted By: damdevil Help With a kick counter - 25/07/03 05:49 PM
im trying to find a scrip or something that will display how many kick/bans ive done ive seen them in channles are they made by users or is it a script? confused
Posted By: LocutusofBorg Re: Help With a kick counter - 25/07/03 05:59 PM
This is my default reply in #Helpesk to your question.

To create a kickcounter that will keep track of people you have kicked out of a certain channel, use this line in your remote section:

Code:
on @*:KICK:#: if ($nick == $me) { 
  inc %kc. [ $+ [ $chan ] ] 1 
  .notice $knick You are person number %kc. [ $+ [ $chan ] ] I  have kicked out of $chan $+. Thank you and have a nice day. 
} 


Keeps different counters for the different channels you op in. It however does not add the count to your kick msg. You can script that by kicking via a popup or automated script, and simply in that code append %kc. [ $+ [ $chan ] ] to your kick message.
Posted By: codemastr Re: Help With a kick counter - 25/07/03 06:00 PM
you have a typo:
I have kicked out of $chan $+ . Thank you and have a nice day.

There needs to be a space after the $+ before the .
Posted By: damdevil Re: Help With a kick counter - 25/07/03 06:29 PM
do i put this under the variables or aliases or remote?
Posted By: Collective Re: Help With a kick counter - 25/07/03 06:30 PM
Remote.
Posted By: damdevil Re: Help With a kick counter - 25/07/03 06:35 PM
thank you ill let u know if it works
Posted By: damdevil Re: Help With a kick counter - 25/07/03 06:44 PM
ok i put everything in the way its typed and then i put the 2end part in to my kick popup and it just shows the strand and not a count? im not sure if it the script that im using it on or not??
Posted By: LocutusofBorg Re: Help With a kick counter - 25/07/03 07:26 PM
Pls paste your EXACT popup code for the kick/ban
Posted By: FunChatter Re: Help With a kick counter - 26/07/03 02:42 PM
In #HelpDesk @ DALnet website, in the documentetion part, in the FAQ there is a verry nice kick couter laugh check out http://helpdesk.zaz.net/documents/FAQ/index.php?kbcount
and for a full list of documents witch is also verry usefull since you can find almost everything you might need to script anything!! for all the docs check out http://helpdesk.zaz.net/documents/
© mIRC Discussion Forums