ive created myself this with my own DTM from the bank would this in any case work? and if it even would work how would i call this function?
Code:
function FindBank(TheBank: string): Boolean;
var
bx, by, TheDTM: Integer;
WhichAngle: Extended;
begin
result := false;
TheBank := LowerCase(TheBank);
case TheBank of
'Lib': TheDTM := DTMFromString('mWAAAAHicY2FgYGhmZWBoBeJCIK4F4jlAsVVAvAKIFwHx9IndDKXZUQzRHuoMLTWFDMiACYgZ0TAIAAArJAnN');
else
begin
srl_Warn('FindBank', 'Invalid bank name', warn_Warning);
Exit;
end;
end;
if FindDtmRotated(TheDTM, bx, by, MMX1, MMY1, MMX2, MMY2, Radians(-30), Radians(30), 0.05, WhichAngle) then
begin
Mouse(bx, by, 0, 0, mouse_left);
FFlag(0);
Wait(300+Random(400));
Result := OpenBank(TheBank, False, False);
end;
FreeDTM(TheDTM);
end;