How can I use until() to run the script until a certain number of seconds is passed. I don't want to post my whole script here, so I'll summarize what I did that didn't work. This is my main loop:
SCAR Code:
var FlagMark: Integer;
-insert script here with procedures and functions-
begin
SetupSRL;
SetupPlayers;
MarkTime(FlagMark);
repeat
LoginPlayer;
repeat
wait(10)
Until(Findfunction);
Until(Findfunction2);
Until(FindFunction3);
*****procedure;
***** procedure;
until(TimeFromMark(FlagMark) > (Timetobuy*60000) );
end.