need help with a macro please?

11/12/2012 08:55 efini#1
hi guys

because the server i am in has harmony... that basically rules out the usage of openkore..... unless of course someone knows how to bypass?

anyway as an alternative i was thinking of building a macro to help with farming dokebi for gold...

ive read some guides but i am not too sure how to put them together.
ii need a macro that is able to do this:
1) press alt+3 to warp (i have binded @warp pay_dun04 to alt+3)
2) press f2 (storm gust hotkey) on four points of the screen
3) repeat

now i understand that i may need coordinate checking to define which points to click onthe screen...

i am new to this and i donot know anything about scripting other than openkore's config.txt and html...

help please? will reward with digital huugs and kisses

--------------EDIT---------------

oh guys... i've written up my own script
Code:
#RequireAdmin

; Press Esc to terminate script, Pause/Break to "pause"

Global $Paused
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{ESC}", "Terminate")
HotKeySet("+!d", "ShowMessage") ;Shift-Alt-d

Sleep (5000)
While 1=1
   Send("{altdown}{2}{altup}")
   send("{f2}")
   MouseClick("left", 601, 259, 1)
   sleep (500)
   send("{f2}")
   MouseClick("left", 727, 240, 1)
   sleep (500)
   send("{f2}")
   MouseClick("left", 573, 401, 1)
   sleep (500)
   send("{f2}")
   MouseClick("left", 775, 406, 1)
   WEnd
While 1
    Sleep(100)
WEnd
;;;;;;;;

Func TogglePause()
    $Paused = Not $Paused
    While $Paused
        Sleep(100)
        ToolTip('Script is "Paused"', 0, 0)
    WEnd
    ToolTip("")
EndFunc   ;==>TogglePause

Func Terminate()
    Exit 0
EndFunc   ;==>Terminate

Func ShowMessage()
    MsgBox(4096, "", "This is a message.")
EndFunc   ;==>ShowMessage
problem now is... whenever i try to launch the script, the game says "Something bad has happened". at one time it crashed saying something about access violation..

help please?

--------------EDIT---------------

ah crap... its harmony shield that is preventing the macro from working....