Skip to content

Instantly share code, notes, and snippets.

@nmreadelf
Created August 19, 2024 05:48
Show Gist options
  • Save nmreadelf/cbac42fb77ba8ea59914ada9c4c8e676 to your computer and use it in GitHub Desktop.
Save nmreadelf/cbac42fb77ba8ea59914ada9c4c8e676 to your computer and use it in GitHub Desktop.
take lc
^F7::
{
; open shop
MouseMove 355, 44
MouseClick "left"
Sleep 50
; choose consumables in shop
MouseMove 562, 588
MouseClick "left"
; move to a pos for scoll
MouseMove 1279, 852
loopCount := 0
; scoll panel
while (loopCount < 6) {
Send "{WheelDown}"
Sleep 50
loopCount += 1
}
Sleep 50
; move to lc pos
MouseMove 1321, 760
Sleep 150
loopCount := 0
while (loopCount < 9) {
MouseClick "left"
Sleep 400
loopCount += 1
}
; to close panel
MouseMove 2117, 280
Sleep 150
MouseClick "left"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment