Hay!
I need some help. I can't get my AHK script to work, whatever I do.
The script is a simple anti afk for League of Legends.
So appreciate all the help!
Examples of scripts I've tested
Code:
SendMode Event
CoordMode, Pixel, Screen
#UseHook
Loop
{
WinActivate, League of Legends
MouseClick, right, 38, 38, 1
Sleep, 1500
MouseClick, right, 333, 333, 1
Sleep, 1500
MouseClick, right, 995, 995, 1
Sleep, 1500
MouseClick, right, 574, 898, 1
Sleep, 1500
}
Ins::ExitApp
Code:
Tab::
Loop
{
WinActivate, League of Legends
MouseClick, right, 38, 38, 1
Sleep, 1500
MouseClick, right, 333, 333, 1
Sleep, 1500
MouseClick, right, 995, 995, 1
Sleep, 1500
MouseClick, right, 574, 898, 1
Sleep, 1500
}
Ins::ExitApp