Aarondawg
2013-02-26 09:32:58
trying to get this script to Click the "Take Bone" from off the ground, but all it does is right click, and goes to a random text.
help please!!!!
program boneAIO;
{$I SRL/SRL.Simba}
{$I P07Include.Simba}
var
x, y, Bones: integer;
procedure FindBones;
var
x, y: Integer;
begin
MouseSpeed:=20;
FindColorTolerance(x, y, 12434885, 0, 0, 520, 340, 4)
MoveMouse (x, y);
writeln('Found Bones...');
clickmouse2(mouse_right);
if FindObj(x, y, 'Take', 16777215, 1) then
Mouse(x, y, 0, 0, true);
P07_ChooseOptionMulti(['ake bon']);
ClickMouse2(mouse_left);
end;
begin
findBones;
end.help please!!!!