I'd recommend as an alternative checking out SRL-OSR's time.simba to see if it accomplishes what you're looking for. You'll find it in SRL/utils/time.simba. If you're looking for the equivalent of waitTypeFun then I suggest using WaitUntil(Condition: Expression; Interval, Timeout: Int32): Boolean;. An example:
Simba Code:
if WaitUntil(Minimap.IsPlayerMoving(300), 75, 2300) then
Minimap.WaitFlag(0);
In which case the script will wait for a total of 2300ms for IsPlayerMoving(300) to return true, checking every 75ms.
In SRL-OSR's time.simba there's two new tools to utilize: TCountDown and TStopWatch. The first is as the name suggests; you initially set a time limit and it will count down. You're also able to pause and reset it at any point during it's countdown.
Simba Code:
T.Init(Random(900,1300));
while (not T.IsFinished) do // or T.TimeRemaining > 0
begin
if Condition.IsMet then break;
Wait(50);
end;
On the other hand a TStopWatch counts up upon initialization. You may also use it in the same manner such as pausing/resuming/resetting and getting elapsed time.
Simba Code:
StopWatch.Start();
Wait(1000);
WriteLn(StopWatch.ElapsedTime());
StopWatch.Pause();
Script.DoSomeStuff();
StopWatch.Resume();
If you have some more info about what exactly you're trying to accomplish then I could probably help you further. But in any case, whichever part of SRL6's time.simba you're requiring, chances are SRL-OSR (or Simba 1.4 with further built-in functions) already has it. It might just be named differently.