mIRC Home    About    Download    Register    News    Help

Topic Options
#15475 - 15/03/03 09:53 AM My Simple KickCount Script!!!
flup Offline
Ameglian cow

Registered: 11/03/03
Posts: 48
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

Top
#15476 - 15/03/03 01:40 PM Re: My Simple KickCount Script!!!
listner Offline
Ameglian cow

Registered: 31/12/02
Posts: 21
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
_________________________
Morals: When the p0rn shop gives you too much change, and you don't keep it.

Top
#15477 - 15/03/03 03:54 PM Re: My Simple KickCount Script!!!
flup Offline
Ameglian cow

Registered: 11/03/03
Posts: 48
Could be, but in that case it set's everytime %kickcounter to 0 doesn't it?

Top
#15478 - 15/03/03 03:58 PM Re: My Simple KickCount Script!!!
toe_cutter Offline
Ameglian cow

Registered: 19/01/03
Posts: 38
Loc: Sweden, Södertälje
If %kickcounter doesnt exist it sets it to 0.. therefore the ! just before it (!%kickcounter)

The ! negates whatever option

Top
#15479 - 16/03/03 11:41 AM Re: My Simple KickCount Script!!!
flup Offline
Ameglian cow

Registered: 11/03/03
Posts: 48
Ok ty wink

Top