Thread Rating:
  • 3 Vote(s) - 3.33 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Crafting script - Need AHK
#1
I usually have notepad++ open so when i edit the script I can just push F12 to reload it.
F11 is there this script is. F11 once to start the script, 1 more to stop it.

Checktoogle function is to stop the script when you want to stop it, not wait until the end of the rotation. This will work without FF14 active so enjoy crafting while u watch pr0n.

I left my 1star rotation in as an example, but feel free to change it around to match your hotkey.
In the morning the delay can be as low as 2.8 but in the evening, the sky is the limit.

Sometime the numpad0 spam will enable the chat bar so just turn on another window before you start :)

Code:
wintitle = FINAL FANTASY XIV: A Realm Reborn
#SingleInstance Force
#MaxThreadsPerHotkey 3


checkToogle(Toogle, Command, Delay)
{
    if (Toogle)
    {
        Controlsend,,{%Command%}, %wintitle%
        Sleep %delay%
    }
    else
    {
        Send 1
    }
    return
}

F12::
    reload
return

F11::
    Toggle := !Toggle

    While Toggle
    {
        IfWinExist %wintitle%
        {
            checkToogle(Toggle, "Numpad0", 200)
            checkToogle(Toggle, "Numpad0", 200)
            checkToogle(Toggle, "Numpad0", 3000)
            checkToogle(Toggle, "7", 3300)
            checkToogle(Toggle, "6", 3500)
            checkToogle(Toggle, "5", 3500)
            checkToogle(Toggle, "4", 3500)
            checkToogle(Toggle, "0", 3500)
            checkToogle(Toggle, "0", 3500)
            checkToogle(Toggle, "0", 3500)
            checkToogle(Toggle, "0", 3500)
            checkToogle(Toggle, "5", 3500)
            checkToogle(Toggle, "0", 3500)
            checkToogle(Toggle, "0", 3500)
            checkToogle(Toggle, "0", 3500)
            checkToogle(Toggle, "3", 3500)
            checkToogle(Toggle, "0", 3500)
            checkToogle(Toggle, "5", 3500)
            checkToogle(Toggle, "0", 3500)
            checkToogle(Toggle, "=", 3500)
            checkToogle(Toggle, "-", 3500)
            checkToogle(Toggle, "8", 3500)
            checkToogle(Toggle, "9", 3500)
            ;checkToogle(Toggle, "1", 3500)
            checkToogle(Toggle, "1", 7000)
        }
    }
return
Reply
 


Forum Jump:


Users browsing this thread: 1 Guest(s)

We help you win the game.

FFXIV Bot and More.

 

Products