My DTM string for the willows is this:
SCAR Code:
procedure LoadDTM;
begin
Willow := DTMFromString('78DA6314626060E06540010E56A20CFF81342' +
'310FF07024616204300554D7AAC19986684F219398184180135A2' +
'404218558DAF8B24AA1A5920C18FE91E1435E2408209558DAD991' +
'0AA1A4120C182AAC6D516CD1C3620C18DDFCD00DCA30BC3');
end;
Then my banking procedure is this:
SCAR Code:
function Banking: Boolean;
begin
if (InvFull) then
begin
MakeCompass('N')
Wait (300 + random(160));
OpenBankQuiet('db');
if (FindDTM(Willow, x, y, 547, 206, 734, 464)) then
begin
Mouse(x, y, 4, 3, false);
ChooseOption('All');
Result := True;
if Result = True then
begin
LoadsNum := LoadsNum + 1;
LoadsNum2 := LoadsNum2 + 1;
end;
end;
CloseBank;
Wait(150 + random (278));
MakeCompass('S');
end;
end;
So when the DTM "Willow" is found in the inventory, it should bank.
But it doesnt. It opens the Bank then closes it again instantly, does the waiting, then repeats the cutting procedure?