Just wondering what the correct way to click on a DTM is. Currently building my first script and have encountered some trouble. Read all of the beginner guides and examines a lot of scripts that perform similar functions and I know I am missing something obvious.
Is this the right way to be going about things?
Code:procedure ClickEnchant; begin if(finddtm(Spellpos, x, y, MIX1, MIY1, MIX2, MIY2))then begin MMouse(x, y, 5, 5,); ClickMouse2(Mouse_Left); end; end;
I have Spellpos defined above
Any help or hints to correct what I'm sure is terrible writing would be much appreciated!Code:SpellPos := DTMFromString('m1gAAAHic42JgYDBlgWB7ILYEYm0g1gNiFyB2AGJ1ILYC4meMDAwfgfgpEN8B4vtA/AmI3wLxbSB+B8QfgDjGTRNoKhMRmDjASCRGAACU/QxT');


Reply With Quote









'd by Runaway

