SCAR Code:
program New;
{.include SRL\SRL.scar}
Procedure BankInventory;
var WillowDTM: integer;
begin
WillowDTM := DTMFromString('78DA633CCFC4C0308991010420240383BB830' +
'4C32F28FF3F1030EE07AA9985AA06C682F1190F02D54C20A0E610' +
'504D170135D7806ADA09A8B905543383809AB3403573F0AB01002' +
'9EF0F55');
MakeCompass('S');
wait(345+random(123));
OpenBankQuiet('db');
wait(321+random(111));
if(FindDTM(WillowDTM, x, y, 625, 324, 815, 587))then
begin
MMouse(x, y, 2, 2);
wait(300+random(123));
if(IsUpText('llo'))then
begin
Mouse(x, 2, 0, 0, false);
wait(100+random(99));
ChooseOption(x, y, 'All');
wait(123+random(123));
DepositAll;
end;
CloseBank;
wait(321+random(123));
end;
end;
begin
SetupSRL;
ActivateClient;
wait(3000+random(100));
BankInventory;
end.
This is just my banking procedure for my woodcutting script that I'll hopefully be releasing soon. The procedure finds the bitmap, moves the mouse to the bitmap, but i guess it's not finding the text "illow" using IsUpText, as it does not right click the willows. I was having trouble with this with clicking on the willow, but it works fine now.