• Log in or sign up for an account here: https://www.sythe.org/login

Semicolon error

  • Thread starter Thread starter xfuzzy chaos
  • Start date Start date
X

xfuzzy chaos

Guest
Ok i have the latest version of SCAR and srl 4 but whenever i try to run a script i get this: Line 4: [Error] (4:1): Semicolon (';') expected in script.
But var is on that line and i didnt think that you needed a semicolon on that. it also says this on lines that alredy have the semicolon.

anyone know how to fix this?
 
Ok i have the latest version of SCAR and srl 4 but whenever i try to run a script i get this: Line 4: [Error] (4:1): Semicolon (';') expected in script.
But var is on that line and i didnt think that you needed a semicolon on that. it also says this on lines that alredy have the semicolon.

anyone know how to fix this?

var yourfaggynamehere:variabletype; anotherfaggyname:variabletype;

etc.
 
different lines?

doesn't need to, the semicolon signifys the end of the line, so it considers the next part to be another var declaration.
 
yeah, Generally neater is better

Code:
begin
 begin
  begin
  end
 end
end

neatness is bullshit, if you can't understand some code by reading it, you shouldn't be coding.

Code:
var begin begin
codingshithere
end end end.
 
Plz figure out my script

Here is the error:

Line 23: [Error] (23:1): Semicolon (';') expected in script C:\Program Files\SCAR 3.15\Scripts\My Autoers\AutoRunecrafter.scar

Here is the script:

program AutoRunecrafter;

var
x,y: Integer;

const
ShopKeeperColor = 2836585;

procedure ClickEss;

begin

MoveMouse(577,229);
Wait(300);
ClickMouse(577,229,true);

end;
procedure UseEssWithShopKeeper;

begin

22.if(FindColor(x,y,ShopKeeperColor,0+random(10000),0+random(10000),0+random(10000),0+random(10000))) then;
23.MoveMouse(x,y+random(10000),0+random(10000),0+random(10000),0+random(10000),0+random(10000),0+random(10000);
24.Wait(300);
25.ClickMouse(x,y,true);

end.

//to be finished//
 
duelarena.gg
Back
Top