any tips on this? i want to run a procedure only if a certain amount of time has passed without stalling rest of my script, then reset the count after it clicks so it waits again before running spec proc.
Simba Code:
procedure SpecCheck;
var
count: Integer;
begin
while (Count > 60) do
begin
repeat
Inc(Count);
Wait(1000);
WriteLn('The count is ' + IntToStr(Count) + '.'); //wait 60 seconds
until (Count = 60)
end
while (Count = 60) do //after 60 seconds waited, run spec proc
begin
SpecialAttack;
WriteLn('click spec');
ClearDebug; //clear count?
WriteLn('The count is ' + IntToStr(Count) + '.');
end
end;