Changing it from until(false) to until(true) isn't going to help your situation. What if it never becomes true?
You could use something like this:
Simba Code:
procedure Gem;
var
a: Integer;
begin;
a:=0
repeat
MoveMouse(772,445)
Wait(1)
ClickMouse(772,445,1)
Wait(8)
MoveMouse(729,444)
ClickMouse(729,444,1)
wait(8)
inc(a);
until (a=10);
end;
begin
repeat
Gem
until not (LoggedIn) //Example. Try and use something else.
end.
Also, refrain from using MoveMouse and ClickMouse as they're very botlike, unless this isn't for Runescape.
If it is for RuneScape, don't forgot to include the include and call SetupSRL; in your mainloop.
Example for your script:
Simba Code:
program GemCutter;
{$I DEFINE SMART8}
procedure Gem;
var
a: Integer;
begin;
a:=0
repeat
MoveMouse(772,445)
Wait(1)
ClickMouse(772,445,1)
Wait(8)
MoveMouse(729,444)
ClickMouse(729,444,1)
wait(8)
inc(a);
until (a=10);
end;
begin
SetupSRL;
repeat
Gem
until not (LoggedIn); //Example. Try and use something else.
end.