KeepBotting
2013-12-09 21:43:04
procedure RS3_dropAllItemsWithMouseOverText(textToLookFor:string);
var
i:integer;
begin
for i := 1 to 28 do
begin
if (tabBackpack.isItemInSlot(i)) then
tabBackpack.mouseSlot(i, MOUSE_MOVE);
if isMouseOverText([textToLookFor]) then
begin
tabBackpack.dropItems([i]);
end;
end;
end;procedure RS3_dropAllItemsWithoutMouseOverText(textToLookFor:string);
var
i:integer;
begin
for i := 1 to 28 do
begin
if (tabBackpack.isItemInSlot(i)) then
tabBackpack.mouseSlot(i, MOUSE_MOVE);
if not isMouseOverText([textToLookFor]) then
begin
tabBackpack.dropItems([i]);
end;
end;
end;