stein3
03-31-2007, 12:25 PM
I made sure that there were all the begins and ends...
repeats and untils...
program BoneStuffer;
{.Include SRL/SRL.Scar}
var
xc,yc: Integer;
//Picks Up Bones
Procedure PickBones;
begin
repeat
findcolor(xc,yc,13290192,0,0,515,338);
wait(100)
clickmouse(xc,yc,false);
wait(100)
if (IsUpText('Take Bones')) then
begin
GetMousePos(x, y);
Mouse(x, y, 2, 2, False);
wait(10000)
until(inchat('enough inventory space to hold that item'))
end;
end;
begin
PickBones;
end.:confused: :confused: :confused: :confused: :confused: :confused: :confused: :confused: :confused: :confused: :confused: :confused: :confused:
repeats and untils...
program BoneStuffer;
{.Include SRL/SRL.Scar}
var
xc,yc: Integer;
//Picks Up Bones
Procedure PickBones;
begin
repeat
findcolor(xc,yc,13290192,0,0,515,338);
wait(100)
clickmouse(xc,yc,false);
wait(100)
if (IsUpText('Take Bones')) then
begin
GetMousePos(x, y);
Mouse(x, y, 2, 2, False);
wait(10000)
until(inchat('enough inventory space to hold that item'))
end;
end;
begin
PickBones;
end.:confused: :confused: :confused: :confused: :confused: :confused: :confused: :confused: :confused: :confused: :confused: :confused: :confused: