fixed the comma i left out
now i get
Code:
Line 354: [Error] (16165:13): Invalid number of parameters in script
the code
SCAR Code:
begin
setupSrl;
Mousespeed:=Mspeed;
DeclarePlayers;
ActivateClient;
LoadDtms;
LoginPlayer;
MakeCompass('n')
//WithdrawNats
repeat
WithdrawOres;
CastSuperheats;
FindBankers;
Bank;
ProgressReport;
until(Loads = Players[currentplayer].integers[0]);
if(LoggedIn) then LogOut;
if(Players[CurrentPlayer].Active = false) then NextPlayer(false)
else NextPlayer(true);
until(false);
end.
i thought this was caused when call something that i didnt load
i searched and found

Originally Posted by
JAD
Error 8: Invalid number of parameters in script.
Solution: this is ussually caused if you put too many numbers, parenthesis and things like that in script. if you put MMouse(x,y,0,0,0,) it would probably say invalid number of parameters. so just check whats needed in the command, and if theres anything extra thats not needed.
but that doesnt help me because it occurs in the main loop when use the procedure WithdrawOres