My script is as follows:
SCAR Code:
///////////////////////////////////////////////////////////////////////////
//////////////////////////////Bronze Arrow Buyer///////////////////////////
/////////////////////////////By: 3Garrett3/////////////////////////////////
///////////////////////////////////////////////////////////////////////////
//Have your screen set to V-Bright. //
//Have Archery window open (Lowes). //
///////////////////////////////////////////////////////////////////////////
{Credits: JAD, Markus, Yohojo8 (DTM), Jason2gs, and RScheater13 for letting me
use his Feather buyer to start this}
program Arrowbuyer;
{.include SRL/SRL.scar}
var Arrow : Integer;
Bought : Integer;
begin;
SetupSRL;
Arrow:= DTMFromString('78DA631467606090634001D922BC0CFF81342' +
'310FF07024605204392010D302291405A1048881250C309241409' +
'A801C9F3105003728B327E350096CF06C0');
repeat
if FindDTM(Arrow,x,y,1, 1, 200, 200) Then
Begin
Mouse(x, y, 2, 2, False);
ChooseOption(x, y, '10');
Wait(6000+random(300));
Bought:= Bought + 10
End;
End;
until(IsFKeyDown(12))
procedure Report;
begin
Writeln('[]========================================[]');
Writeln('---------------->Progress Report<-----------');
Writeln(' Bought ' + IntToStr(Bought) + 'Arrows ' + ' ');
Writeln('[]========================================[]');
end;
end;
end.
And I get this
SCAR Code:
Line 27: [Error] (17688:1): Identifier expected in script C:\Program Files\SCAR 2.03\Scripts\DTMS\my first.scar
As an error. Does this have something to do with the until? And I did have it fixed somehow but then it needed an end. after the until thing but it was right were it is now and i know that the end. thing stops the whole script doesnt it? so how do I fix this error and where do I put the until?