I dunt know whats wrong with muh kick counter. When i kick some it shows this
* StatewidePlaya459 was kicked by SpAzZ (test .:.Kicks =.:.): StatewidePlaya459
Heres the code for my kick counter.
dialog kickcounter {
title ".:.Twiztid v3 Kick Counter by: Shaggy .:."
size -1 -1 138 56
option dbu
box "Counter", 1, 2 2 70 30
text "You have kicked", 2, 4 10 40 6
edit "", 3, 46 10 23 8, disable read
button "unset", 4, 4 20 30 10
box "Options", 5, 74 2 62 30
check "Activate Kick Counter", 6, 76 10 58 8
check "Show Count on Kick", 7, 76 18 56 8
text "Msg all chans your kickcount", 8, 2 34 76 6
button "Msg", 9, 80 34 20 8
button "Close", 10, 54 44 30 10, ok cancel
}
on *:dialog:kickcounter:init:0:{
/did -a kickcounter 3 %kickcounter.count
}
on *:dialog:kickcounter:sclick:*:{
if ($did == 4) {
set %kickcounter.count 0
/did -a kickcounter 3 %kickcounter.count
echo -a 4,1 Kick Counter Reset.
}
if ($did == 6) {
set %kickcounter.status on
echo -a 4,1 Kick Counter On.
}
if ($did == 7) {
set %kickcounter.counter on
echo -a 4,1 Kick shown on Count
}
if ($did == 9) {
amsg $chan 4,1 I have kicked %kickcounter.count people.
}
}
alias kick {
if (%kickcounter.status == off) { raw -q kick $1 $2 : $+ $3- | halt }
else {
if (!%kickcounter.count) {
set %kickcounter.count 0
}
inc %kickcounter.count
if (%kickcounter.counter == On) { raw -q kick $1 $2 : $+ $3- .:.Kicks = $+ %kick.countcounter $+ .:. }
else { raw -q kick $1 $2 : $+ $3- }
}
}
menu menubar,status,channel {
Kick Counter
.Kick Counter
..Open:dialog -m kickcounter kickcounter
..On: set %kickcounter.status on | echo -a Kick Counter On.
..Off: set %kickcounter.status off | echo -a Kick Counter Off.
}
Thanks,