mIRC Home    About    Download    Register    News    Help

Print Thread
My Simple KickCount Script!!! #15475 15/03/03 09:53 AM
Joined: Mar 2003
Posts: 48
F
flup Offline OP
Ameglian cow
OP Offline
Ameglian cow
F
Joined: Mar 2003
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

Re: My Simple KickCount Script!!! #15476 15/03/03 01:40 PM
Joined: Dec 2002
Posts: 21
L
listner Offline
Ameglian cow
Offline
Ameglian cow
L
Joined: Dec 2002
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.
Re: My Simple KickCount Script!!! #15477 15/03/03 03:54 PM
Joined: Mar 2003
Posts: 48
F
flup Offline OP
Ameglian cow
OP Offline
Ameglian cow
F
Joined: Mar 2003
Posts: 48
Could be, but in that case it set's everytime %kickcounter to 0 doesn't it?

Re: My Simple KickCount Script!!! #15478 15/03/03 03:58 PM
Joined: Jan 2003
Posts: 38
T
toe_cutter Offline
Ameglian cow
Offline
Ameglian cow
T
Joined: Jan 2003
Posts: 38
If %kickcounter doesnt exist it sets it to 0.. therefore the ! just before it (!%kickcounter)

The ! negates whatever option

Re: My Simple KickCount Script!!! #15479 16/03/03 11:41 AM
Joined: Mar 2003
Posts: 48
F
flup Offline OP
Ameglian cow
OP Offline
Ameglian cow
F
Joined: Mar 2003
Posts: 48
Ok ty wink