Well i made a kcik counter :)
u can just do $1-
also, ur forgettin a bracket in ur menu
and when u do \"clear %var\" u need to do \"unset %var\"
and the /close gives an error, try \"dialog -x kcounter kcounter\"
and a suggestion for the alias, incase the dialogs already up during the menu or alias, u should do an $iif
alias kcounter dialog $iif($dialog(kcounter),-v,-m) kcounter kcounter