I correctly set the dice in the variable list and in the link leading to the page where a random last name for a npc has to appear, but can't get the script creating it correctly
Script (which the script validation accepts without any correction)
IF %NAMEDICE = 1 THEN BEGIN %HERNAME := "Dumbette" END ELSE
BEGIN IF %NAMEDICE = 2 THEN %HERNAME := "Apronine" END
BEGIN IF %NAMEDICE = 3 THEN %HERNAME := "Saintina" END
BEGIN IF %NAMEDICE = 4 THEN %HERNAME := "Madam" END
BEGIN IF %NAMEDICE = 5 THEN %HERNAME := "Tripella" END
Next page:
Then, $HERNAME picked up the book and gave it to Marvin