This is my code:
Code: Select all
TeleportPosX = 1536
TeleportPosY = 39
TeleportSearchPosX = 1351
TeleportSearchPosY = 250
AreaToGoToX = 956
AreaToGoToY = 353
^F1::GoToArea("Void Spiral", false)
GoToArea(Area, AutoFarm)
{
MouseMove, TeleportPosX, TeleportPosY
Click
Click
MouseMove, TeleportSearchPosX, TeleportSearchPosY
Click
Click
Click
Sleep, 500
send %Area%
MouseMove, AreaToGoToX, AreaToGoToY
Click
}
[Mod edit: Added [code][/code] tags. Please use them yourself when posting code!]
[Mod edit: Moved topic from AHK v2 help since this is v1 code.]