I was wondering if someone could restructure this for me so I don't get this error (My brain hurts). The code is pretty self explanatory to what it does.
SCAR Code:rocedure CraftWait;
var i, count : Integer;
label WaitLabel;
begin
WaitLabel:
count := 0;
while (something) do
begin
Wait(100);
if (ClickToContinue) then
begin
ClickToContinue;
ClickToContinue;
goto WaitLabel;
end;
end;
while (Not(something)) do
begin
Count := Count + 1;
if (something) then goto WaitLabel;
if (Count > 70) then Break;
Wait(100);
if (ClickToContinue) then
begin
ClickToContinue;
ClickToContinue;
goto WaitLabel;
end;
end;
end;
Cheers all.
Pancakes.In case you were wondering, I am crafting on a spinning wheel... anyway, I need to check if something is false for more than seven seconds, else reset the count.





~RAM
Reply With Quote



