hi guys
i need a macro for rebirthro(ragnarok)
i want a macro to farm that use automatically teleport
i wanna automatic click of a key every 4 seconds and a key to disable macro.
can u send me a script?
hi guys
i need a macro for rebirthro(ragnarok)
i want a macro to farm that use automatically teleport
i wanna automatic click of a key every 4 seconds and a key to disable macro.
can u send me a script?
I think you can figure this out using Hotkeys, SetTimer, Send, KeyList. And return.
Then you have two choices for ending it: Either using SetTimer, label, Off
or using ExitApp.
The way to use the first one would more easily be shown using If/else, and the ! (logical-not) operator
a:: ; just pressing a activates or deactivates the timer toggle:=!toggle; this changes the variables value between 1 and 0 If toggle ; AHK evaluates the variable's value. It is considered TRUE if it is 1 SetTimer, label, 4000 else ; the variable toggle must be FALSE (0) SetTimer, label, off return
I'll leave the part where you make the label up to you.
i cant make it. i'm italian and i cant understand all about this macro(i dont understand english very well)
can u make it for me?
i made this but i dont know if its good
$s:: ;
Loop
{
Send, {s}
Sleep, 5000
if GetKeyState("p", "P") ;press the end command to stop
break
}
return
Using your approach looks OK. Do note you have to be holding "p" at the time that it would try to Send "s" to make it end.
One way to do it without waiting is to use p to set a variable.
p::my_Break:=1 ; "true" $s:: my_Break:=0 ; "false" Loop { Send, {s} Sleep, 5000 if my_Break ; evaluates if my_Break holds a "true" value break } return