Code: Select all
| Anchor.mac
| Yes the /echo for the OMW thing looks off, but its lined up in the MQ Window
| Can Not remember which script i Got MoveToAnchor from, but credits to the maker.
| Fair Warning This will Run you in a STRAIGHT line.
#turbo 50
#define AnchorX "####.##" | LOC for your Anchor Point X
#define AnchorY "####.##" | LOC for your Anchor Point Y
Sub Main
/echo -====================================-
/echo -=== On My Way to the Following Location: ===-
/echo -====================================-
/echo -============ X:[AnchorX] ==============-
/echo -============ Y:[AnchorY] ==============-
/echo -====================================-
/call MoveToAnchor
/endmacro
Sub MoveToAnchor
:AnchorMoveLoop
/if "$char(state)"=="SIT" /stand
/face nolook loc AnchorX,AnchorY
/if n $distance(AnchorX,AnchorY)>11 /sendkey down up
/if n $distance(AnchorX,AnchorY)<=11 {
/sendkey up up
/return
}
/goto :AnchorMoveLoop
/return
Kirre

