jman1208
2012-07-23 01:01:15
Never Mind got it working!
Function PickBerries: Boolean;
var
x, y, xa, ya, xas, yas: Integer;
Begin
xas:=MSCX;
yas:=MSCY;
If FindObjCustom(x, y, ['hite'], [14146272], 15) Then
//begin
GetMousePos(x, y);
if((x = x) and (y = y))then
ClickMouse2(mouse_Left);
wait(2500 + random(200));
repeat
If(WaitUpText('ake', 200+Random(500))) then
PickBerries;
Until (InvCount=28)
end;