SCAR Code:
Procedure FindIt;
Begin
Setupsrl; //Dont need SetUpSRL; in a procedure, once in begining of main loop is fine.
LoadFireMakingBitmaps;
If (FindColor(x, y, 2903139)) Then // Use FindColorSpiralTolerance, or FindColorTolerance instead.
Begin
Mouse(x, y, 1, 1, true);
// needs to be placed before main loop, but I dont even see this procedure called.
Begin
setupsrl;
FindAxeHeadColor;
Repeat // need one repeat to repeat find head and chop
Repeat // need second repeat to repeat until all your logs are cut.
FindHead;
//AttachHead; ---dont need this
Chop; // you will need a chop procedure
If (InvFull) Then // replace this with this > ' Until (InvFull) '
// If (InvFull) Then
DropAllLogs;
until(LogsCut >= LogsToCut);
End.