Extending Show Choices

I tried to add more custom choice options through the script for Show choices. While this works it always freezes when it gets to the parameters it should push and I don't know how to solve that.
Spoiler: Options
Code:
◆Script:choices = []; params = [];
:      :$gameMessage.setChoices(choices, 8)
:      :choices.push("Str");choices.push("Con");
:      :choices.push("Fortitude");choices.push("Dex");
:      :choices.push("Int");choices.push("Char");
:      :choices.push("Wis");choices.push("Luck");
:      :params.push()

Here is what I had;
Spoiler: Code
Code:
◆Script:case 1:
:      :$gameVariables.setValue(40, $gameVariables.value(14));
:      :break;
:      :case 2:
:      :$gameVariables.setValue(41, $gameVariables.value(14));
:      :break;
:      :case 3:
:      :$gameVariables.setValue(42, $gameVariables.value(14));
:      :break;
:      :case 4:
:      :$gameVariables.setValue(43, $gameVariables.value(14));
:      :break;
◆Script:case 5:
:      :$gameVariables.setValue(44, $gameVariables.value(14));
:      :break;
:      :case 6:
:      :$gameVariables.setValue(45, $gameVariables.value(14));
:      :break;
:      :case 7:
:      :$gameVariables.setValue(46, $gameVariables.value(14));
:      :break;
:      :case 8:
:      :$gameVariables.setValue(47, $gameVariables.value(14));
:      :break;
you cannot extent an event command by the script command, especially not by splitting the sequence - any time the script box ends, all data assoziated to it will be erased and the second script box will no longer know that data.

You'll need a plugin to modify the commands - and those plugins already exist.
Please search Tsukihimes blog for her show choice plugins, there are several that make larger choices easily possible or allow you to have conditional choices and so on.
How do I then add those plugins into RPG Maker MV? Edit: Found it.

Original thread: https://forums.rpgmakerweb.com/threads/extending-show-choices.90201/