I find myself trying to make the simplest script in the world, but still I can't make it work.
Currently I am playing Final Fantasy X and I find myself after defeating Seymour for the first time, when the Guado are chasing you, I am wanting to make a Script that only continuously press the {c} key to skip after the fighting (they are automatic already) and if you find an object, press {n}.
Code: Select all
#NoEnv
SetWorkingDir %A_ScriptDir%
CoordMode, Mouse, Window
SendMode Input
#SingleInstance Force
SetTitleMatchMode 2
#WinActivateForce
SetControlDelay 1
SetWinDelay 0
SetKeyDelay -1
SetMouseDelay -1
SetBatchLines -1
; UserGlobalVars
F1::
Macro1:
MyVar = 0
Loop
{
if (MyVar = 0) {
Sleep 20
Send, {c down}
Sleep 50
MyVar++
} else {
Sleep 20
Send, {n down}
Sleep 50
MyVar--
}
}
Return
y::ExitApp
Help pleaseeeeee xD