for serious dude ok this is what i have to say:
first of all the procedure for moving the mouse in srl is MMouse
and ClickMouse=Mouse;
Now What your gunna have to do is split your script into at least 3 sections recommended much more;
AntiRandoms, CutTheTrees, Drop the logs --thats is at the simplest!
Now All antirandoms can be found in the manual --the link is on the main forums page--
Now to cut the logs your gunna need a procedure like this
SCAR Code:
program Example;
{.include srl/srl.scar}
{.include srl/srl/skill/woodcutting.scar}
const WillowColor = (WillowColorHere);
TimeTowait=(TimeToWaitBe4ClickingOnAnotherTree);
var WX,WY : integer;
procedure CutTheLogs;
begin
repeat
FindColorSpiral(WX,WY,(WillowColor)6,6,310,536);
Mmouse(WX,WY,0,0);
Mouse(WX,WY,0,0,true);
wait((TimeToWait)+random(500));
until(InvFull);
end;
Procedure DropTheLogs;
begin
DropAllLogs;
end;
begin
repeat
CutTheLogs;
DropAllLogs
until(false);
end.
Thats about as simple as it can get you must also add antirandoms after you click on the tree and while dropping the logs...