Hey, Im trying to get the amount of something as an integer so i can use it not just
if amount(ji-go,1) > 2 then..... like everyone else seems to use it as.
this is what Ive got
SCAR Code:Procedure SetUpScript;
begin
SetupSRL;
CashStart:=0;
ChaosStart:=0;
DeathStart:=0;
CashStart : = (Amount('inv',1));
ChaosStart: = (Amount('inv',2));
DeathStart: = (Amount('inv',3));
end;
but it keeps giving me an error.
Failed when compiling
Line 17: [Error] (15042:11): Assignment expected in script
Does anyone know whats wrong? its probly a stupid error because I havnt scripted for ages. Cheers






Reply With Quote