you can do
SCAR Code:
{color of bone needs to be set as a var or const}
if(findcolortolerance(x, y, bonecolor, MSX1, MSY1, MSX2, MSY2, 15)) then
mmouse(x, y, 1, 1,);
wait(100 + random(300));
if(IsUpText('ones'); then
mouse(x, y, 1, 1, True);
if(InvFull) then
begin
repeat
if(findcolortolerance(x, y, bonecolor, MIX1, MIY1 MIX2, MIY2, 15) then
mmouse(x, y, 1, 1);
wait(1500 + random(500))
If IsUpText('ones') then
mouse(x, y, 1, 1, true);
until(not (findcolortolerance(x, y, bonecolor, MIX1, MIY1 MIX2, MIY2, 15)))
end else
{then it would go back to fighting here, and this would have to be in a fighting loop} {didn't test it but should work, if there's any errors where you put this in let me know}
under constants put
bonecolor =13421778;
or if you want it to bury the bones as you get them I could have it do that too. Just let me know, but this waits till you inv is full then buries them all.