$Cont=0
While 1
HotKeySet("E", End)
HotKeySet( ".", point_character)
WEnd
Func point_character()
$Cont=$Cont+1
HotKeySet(".")
Send(".")
EndFunc
Func End()
Msgbox(0, "How many points have you put?", "You have put: " & $Cont, 1000)
Exit
EndFunc
This is the script.