mIRC Homepage
Posted By: flup My Simple KickCount Script!!! - 15/03/03 09:53 AM
Goto:
Tools > Popups and find:

.Kick:/kick # $$
.Kick (why):/kick # $$1 $$?="Reason:"


Replace this with:
.Kick:/kick # $$1 (Kick Count: $calc(%kickcount + 1) ) | set %kickcount $calc(%kickcount + 1)
.Kick (why):/kick # $$1 $$?="Reason:" (Kick Count: $calc(%kickcount + 1) ) | set %kickcount $calc(%kickcount + 1)

Nou if you want to add to your own kick script the kickcount, simply add: (Kick Count: $calc(%kickcount + 1) ) | set %kickcount $calc(%kickcount + 1)
on the end of kick laugh

Simple but it works laugh

Oh yeah, dont forget to:
set %kickcount 0
Before start kicing smile
Posted By: listner Re: My Simple KickCount Script!!! - 15/03/03 01:40 PM
Here's an idea (for the remote section):

on *:START: {
if ( !%kickcount ) { set %kickcount 0 }
}

menu nicklist {
.KickCount: {
inc %kickcount
.kick # $$1 Bye! ( $ord( %kickcount ) kick)
}
.KickCount(Why): {
inc %kickcount
.kick # $$1 $$?="Reason:" ( $ord( %kickcount ) kick)
}
}

Whatcha think? smile

Listner
Posted By: flup Re: My Simple KickCount Script!!! - 15/03/03 03:54 PM
Could be, but in that case it set's everytime %kickcounter to 0 doesn't it?
Posted By: toe_cutter Re: My Simple KickCount Script!!! - 15/03/03 03:58 PM
If %kickcounter doesnt exist it sets it to 0.. therefore the ! just before it (!%kickcounter)

The ! negates whatever option
Posted By: flup Re: My Simple KickCount Script!!! - 16/03/03 11:41 AM
Ok ty wink
© mIRC Discussion Forums