I've Been Trying to get my Script to work and It keeps giving me this error and i have no idea how to fix it heres is part of script error occurs
SCAR Code:
procedure SetupScript;
begin
SetupSRL;
ClearDebug;
SmartSetupEx(Smart_World, false, true);
SetTargetDC(SmartGetDC);
while not SmartReady do Wait(2000);
SRLId := YourSRLId;
SRLPassword:= YourSRLPassword;
ScriptID:= '000';
DeclarePlayers;
if(not(LoggedIn))then
LoginPlayer;
if SRLID = '' then
begin
Writeln('Ahaha I Put In Leecher Failsafes muahahaha')
Writeln('Get Srl Stats or Perish in Doom!!!!!')
OpenWebPage('http://www.stats.srl-forums.com/index.php')
TerminateScript;
end;
begin
SetUpScript;
repeat
repeat
ReadyPlayers;
WalkingToWillows;
SlashingWillows;
FindRandoms;
AntiBan;
repeat
if InvFull then
BankWillows;
if (NumberofLoads=Loads) then
begin
NextPlayer(True);
LoadsNum2 := 0;
MakeCompass('S')
Writeln('Players Switched successfully')
end;
until (false)
end;
end;
end;
Right Where it Says Banks Willows it give me an error it says Invalid Number of Parameters only problem there are no Parameters please help!!!