sorry for late reply been busy irl.
I was able to use the help of some of the reply's and search features to get it working.
Thanks so much for the help everyone
what it does is basically tries to open my bank then waits till it finds the "close bank DTM" and moves to next procedure.
If it waits longer then 5 seconds it retrys to bank instead of endless wait loop for the Bank DTM it will never find.
this is only one use for this timer, I use this once if not multiple times in complicated scripts.
Anyway This Is The Code I Ended Up Using For My AntiBan
Simba Code:
Procedure WaitForBank;
begin
t:= 0;
MarkTime(t); //Makes T = 0 ms
if not FindDTM(cbank, X, Y, 440, 0, 521, 70) then
begin
repeat
if (TimeFromMark(t) > 5000) then
begin
AloraBank;
exit
end;
wait(50);
until FindDTM(cbank, X, Y, 440, 0, 521, 70);
exit
end;
end;