thibaut91 Posted June 11, 2016 Report Share Posted June 11, 2016 Hello guys ! Since 3h I'm trying to get working a SiSo script but each time I launch my mod it says "Statement too long". I read than it can be caused by a limit of "if" in the script, but I don"t know how to avoid it ... The solution can be to " Simply split up your longer statements into another else-if statement." as I saw in a topic here, but I don't know how to do it ... Here is my script http://pastebin.com/wB0Bh9Sz I'm really in need of help, I really don't know how to fix it Quote Link to comment Share on other sites More sharing options...
itchboy Posted June 14, 2016 Report Share Posted June 14, 2016 On 6/11/2016 at 3:41 AM, thibaut91 said: You need to add an 'else if' condition to add to the initiating if statement you made. The limit for items in the siren script is 12 per 'if' or 'else if' condition. Quote Link to comment Share on other sites More sharing options...
thibaut91 Posted June 17, 2016 Author Report Share Posted June 17, 2016 In fact the problem was I made a copy past from my freeplaybase.txt so as you can see on the script, I forgot to remove " count[] = "3" /> " I removed it and It worked ^^ Quote Link to comment Share on other sites More sharing options...
itchboy Posted June 17, 2016 Report Share Posted June 17, 2016 Glad to hear your solution worked for you. Quote Link to comment Share on other sites More sharing options...