Here it is, It supposed to look for the logs in inventory and if the logs Arnt there then its supposed to withdraw some. But it never finds the logs, gos and banks and withdraws more, even though theres already some in the inventory.
SCAR Code:
Procedure Fletching;
begin
Gametab(4);
If (not(FindDTM(Invlog,x,y,0,0,516,338)))then
begin
Writeln(' @@ Didnt Withdraw Any Logs Repeating @@');
Banking;
end;
if FindDTM(Wrathlog,x,y,552,207,737,465)then
begin
Mouse(x,y,1,1,true);
Writeln('@@ Found Wrath Log @@')
IF FindDTM(Knife,x,y,540,191,737,465) THEN
Writeln('@@ Found Knife @@');
Mouse(x,y,1,1,true)
Wait(2020 +random(234));
Mouse(267,418,1,1,false)
wait(1242 +random(987))
mouse(244,477,0,0,true)
Wait(1895 +random(534))
typesend('27')
Writeln('@@ Fletching Logs @@')
Wait(52313 +random(2174));
FreeDTM(knife)
FreeDTM(Wrathlog)
FreeDTM(invlog)
end;
end;