That one worked a treat thanks!
However I have one last thing about this, I have tried to duplicate it for a similar outcome with a 'Player Class' instead of skills.
Choose a Character Class
<<set $choices to [
<<set $pcClass to >>
<<for _i to 0; _i lt $choices.length; _i++>>
<<if $pcClass.classDescriptionlength gte 1>><<goto "...">><</if>>
I have altered the code for one choice only correctly I think, but the following part I must have to match the inventory code:
Is causing errors, saying it cannot read .push.
I'm not sure of the intricacies of this one, as normally the variable doesn't have the extra .classDescription on it.
What wizardry am I miscasting here?