SCAR Code:program DTMw;
{.include SRL\SRL.scar}
Function Dced: Boolean;
var Dc, Dcx, Dcy:Integer;
Begin
Dc := DTMFromString('78DA638C626060D0644001C9060C0CFF81342' +
'394CFB8054818A0A909B584C8C1D43001096354355181686AD881' +
'841C01355B08AB01000D3207CD');
Result:= (FindDTM(Dc, Dcx, Dcy, 280, 170, 470, 200));
FreeBitmap(Dc);
End;
Procedure CDTM;
begin
if (Dced) then writeln('found dtm') else
begin
writeln('not found dtm');
exit;
end;
end;
begin
setupsrl;
CDTM
end.
that dtm is a dtm of the login character on the main screen. the "test" option finds it, but the script doesn't.

