mIRC Home    About    Download    Register    News    Help

Print Thread
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

Joined: Dec 2002
Posts: 21
L
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.
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?

Joined: Jan 2003
Posts: 38
T
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

Joined: Mar 2003
Posts: 48
F
flup Offline OP
Ameglian cow
OP Offline
Ameglian cow
F
Joined: Mar 2003
Posts: 48
Ok ty wink


Link Copied to Clipboard