hmm running it last night and now I think selling is faster, but unfortunately the script only ran 3 loads before not working, wokeup with my character out by the grainery thingy just above varrock so I'm guessing a random, but I also tried running it this morning and on the 2nd load it gave me a nextplayer(false) said it couldn't sell but it had just successfully sold the logs and was standing in the shop with an empty inv.
EDIT: So I removed that failsafe loop lets see how long she runs now :):
EDIT2: Btw that is the bottom half of the function SellLogs
R_ClickItemBy(1519, False, 'ell 50');
Debug(IntToStr(CoinCount));
//Mouse(486, 19, 2, 1, True);
wait(100 + Random(500));
{if (GetItemStackSizeAt(1) > CoinCount) then
begin }
Debug('Sold Logs');
CoinGain := (CoinCount - CoinGain);
stats_IncVariable('Gold (Gained)', CoinGain);
CoinTotal := CoinTotal + CoinGain;
Debug('Walking to trees');
Tiles2 := [Tile(2959, 3209), Tile(2969, 3196)];
WalkPath(Tiles2);
Debug('Successfully walked to trees');
Inc(Players[CurrentPlayer].Integers[4]);
Result := True;
{end else
begin
Debug('Could not sell logs, going false');
Result := False;
NextPlayer(False);
end;}
end;
end;