[AHK] What is wrong with this script ?
Hey guys :P
So today i wanted to make an auto clicker with certain times inbetween the clicks.
I used the same base i use in all my scripts, but in this script, it doesnt work.
Maybe some people can help me, i cant find the mistakes i made ...
P.S. If this is in the wrong section, i didnt really know where to put this ... Move if necesairy :P
So heres the code :
It doesnt even make the first click ... :l So something is messed up, since this "base" works in other scripts ...
So today i wanted to make an auto clicker with certain times inbetween the clicks.
I used the same base i use in all my scripts, but in this script, it doesnt work.
Maybe some people can help me, i cant find the mistakes i made ...
P.S. If this is in the wrong section, i didnt really know where to put this ... Move if necesairy :P
So heres the code :
Code:
;VARIABLES, here i declare the variable wich can be turned ON/OFF without exiting the programm
V_OnOff = 0
;On Off Trigger, determine wich buttons turn it ON/OFF
F7::
V_OnOff = 0
Return
F8::
V_OnOff = 1
Return
;Script, heres the actual script.
If V_OnOff = 1
{
Loop
{
MouseClick, Left
Sleep 500
Send, {LButton Down}
Sleep Sleep 1500
Send, {LButton Up}
Sleep 8000
If (GetKeyState("LButton","P")=0)
{
Break
Return
}
}
}
}