Littma
2011-12-02 13:42:09
From my previous thread that I accidentally posted in the wrong section (oops, half asleep again!) it left off with a final question holding in my mind so I thought I'd post it here.
(UPDATED: Scroll down the first post!)
I cannot seem to find that one function listed in the script above. It's a rather basic start though I'm still in the learning process so please bare with me :redface: Also is there a database with all the available commands with a description? I can't seem to find something like that and it would reduce a lot of questions I may have. Thanks in advance!
Edit:
(UPDATED: Scroll down the first post!)
begin
oldCount := InvCount;
if(FindColorSpiralTolerance(x, y, 5874198, MSX1, MSY1, MSX2, MSY2, 41)) then
[B][COLOR="Navy"]//Some function to hover the mouse over the color that was found[/COLOR][/B]
if IsUpText('Take') then
Mouse(x, y, 0, 0, True);
Flag;
newCount := InvCount;
end;
I cannot seem to find that one function listed in the script above. It's a rather basic start though I'm still in the learning process so please bare with me :redface: Also is there a database with all the available commands with a description? I can't seem to find something like that and it would reduce a lot of questions I may have. Thanks in advance!
Edit:
begin
oldCount := InvCount;
if(FindColorSpiralTolerance(x, y, 12345, MSX1, MSY1, MSX2, MSY2, 41)) then
MMouse(x, y, 0, 0);
if IsUpText('Take') then
Mouse(x, y, 0, 0, True);
Flag;
newCount := InvCount;
end;
For some reason before I added the 'if IsUpText' function in the script it will simply stop right after that specific function. Seeing I'm attempting to make the script pick up an item and it does find the color, hover over the color, then executes. Any ideas on what I'm doing wrong?