[code]dialog kickcount {
title "Kick Count"
size -1 -1 110 24
option dbu
text "Your Current Kick Count:", 1, 3 2 60 8
edit "", 2, 65 1 20 10, center
button "Set", 3, 86 1 22 10
button "Reset", 4, 1 14 20 9
button "OK", 5, 91 14 17 9, ok
text "<insert your script name>", 6, 21 15 70 8, disable center
}
alias kicks { if ($dialog(kickcount)) { echo -a Dialog already open ya el retardo;\ } | if (!$dialog(kickcount)) { dialog -m kickcount kickcount } }
on *:dialog:kickcount:init:*:{ if (%kicks == $null) { set %kicks 0 } | did -a kickcount 2 %kicks }
on *:dialog:kickcount:sclick:3:{ set %kicks $did(2) }
on *:dialog:kickcount:sclick:4:{ set %kicks 0 }
on *:kick:#:{ if ($nick = $me) { inc %kicks | if ($dialog(kickcount)) { dialog -x kickcount | dialog -m kickcount kickcount } } }[/code]
Self explanitory. enjoy...
Kick Count Dialog
Moderators: Moderator, Global Moderator
Kick Count Dialog
[align=center]

“If you stop learning, you stop living.” ~Tami Quiring
“It's the rare man who understands the value of a single perfect rose.”
[/align]

“If you stop learning, you stop living.” ~Tami Quiring
“It's the rare man who understands the value of a single perfect rose.”
[/align]
Kick Count Dialog
Brings back memories <img src=\'http://www.killanet.net/forum3/public/s ... /smile.gif\' class=\'bbc_emoticon\' alt=\':)\' /> I even recognise half those commands
Kick Count Dialog
lol yea.. When I get really bored I just make little \"things\" for mirc
[align=center]

“If you stop learning, you stop living.” ~Tami Quiring
“It's the rare man who understands the value of a single perfect rose.”
[/align]

“If you stop learning, you stop living.” ~Tami Quiring
“It's the rare man who understands the value of a single perfect rose.”
[/align]

