RButton::
send T
sleep, 180
send T
sleep, 180
send T
sleep, 180
send R
sleep, 180
send F
sleep, 180
return
ok, above is an example on how my script will be, but the problem is i want this script runs when i press hold Right mouse button and ONLY stop when i releasing it(meaning i will press n hold my right mouse button) another example is like im playing an action adventure games. i want to keep kicking ass until i release my right mouse button. can any1 release my burden and thanks in advance!
I really need help on this
Re: I really need help on this
Code: Select all
*~RButton::
loop
{
send T
sleep, 180
send T
sleep, 180
send T
sleep, 180
send R
sleep, 180
send F
sleep, 180
if !GetKeyState("RButton","P")
break
}until !GetKeyState("RButton","P")
return
Re: I really need help on this
I'LL TEST IT..THANKS!!!
Re: I really need help on this
i've tried it but it didnt do wat it should be instead it wrote on chat haha. btw thanx for the effort, appreciated it
Re: I really need help on this
Code: Select all
global break_g = 0
RButton UP::break_g = 1
RButton::
Loop,
{
SendInput, T
Sleep, 180
SendInput, T
Sleep, 180
SendInput, T
Sleep, 180
SendInput, R
Sleep, 180
SendInput, F
Sleep, 180
if(break_g = 1)
{
break_g = 0
Return
}
}
Return
Re: I really need help on this
thx,will try this asap
Who is online
Users browsing this forum: No registered users and 41 guests