SCAR Code:
program ChickenKiller;
{.include SRL\SRL.scar}
{.include SRL\SRL\skill\fighting.scar}
const
ChickenColor1 = 8167863 ;//set white chicken color, to get specific color I suggest you go to runehq and find chicken under monsters
ChickenColor2 = 2972796 ;//set brown chickens color, and ditto
KillsPerPlayer = 10 ; //sets kills before switching to next player
KillTime = 5000 ;// estimate time it takes you to kill a chicken
var
x, y, CurrentPlayerKills : integer
procedure DeclarePlayers;
begin
HowManyPlayers := 4;
CurrentPlayer := StartPlayer;
NumberOfPlayers(HowManyPlayers);
Players[0].Name := 'k1ss n k1ll6';
Players[0].Pass := 'demon';
Players[0].Nick := 'eki';
Players[0].Active := True;
Players[1].Name := 'kiss n kill6';
Players[1].Pass := 'demon';
Players[1].Nick := 'eki';
Players[1].Active := True;
Players[2].Name := 'ijco01';
Players[2].Pass := '936582';
Players[2].Nick := 'eki';
Players[2].Active := True;
Players[3].Name := 'whiptail3710';
Players[3].Pass := 'antonio66';
Players[3].Nick := 'eki';
Players[3].Active := True;
end;
procedure AttackChicken;
begin
if not Loggedin then Exit;
repeat
if FindObj(x, y, 'ttack', ChickenColor1,10) then
begin
Mouse(x, y, 2, 3, False);
if ChooseOption('ttack') then
begin
wait(KillTime);
Inc(CurrentPlayerKills);
Exit;
end;
end;
end;
begin
SetupSRL;
DeclarePlayers;
if LoggedIn then Logout;
LoginPlayer;
repeat
AttackChicken;
if CurrentPlayerKills = KillsPerPlayer then
begin
NextPlayer(true);
end;
if not Loggedin then NextPlayer(False);
until(false)
end.
that is the code, the error im getting is that at line 12 there is an expected semi colon... but at line 12 there is a semi colon, so idk wat to do... if anyone can halp me that would be great. Also please tell me if this script makes no sense. I am pretty much a complete noob at scar so I need all the help i can get. Oh and by the way I am going to add anti random/ anti ban later once i get main part working