How to add more than 26 lines on Script event?

Greetings. I'm embarking on a new project in ACE that deviates a little from the classic RPG, as it is more puzzle oriented and doesn't have any battles. My level of expertise with RPG Maker is still developing so bear with me on my way to learning how to tweak it to my whims  😛

Made a dummy room to test all the scripts and events I will call along all the adventure, and one of the actions requires the character to make several choices. Obviously, the first thing I spotted that would help me was the Show Choices one on the first page. It is perfect, but the problem is it only allow 4 choices, and I require at least to have 13 choices, each one with their own consequences and results (I can reduce the number to 11 at most).

Browsing the other pages I found the option called Script, which apparently allows you to just input "anything" in there as long as it is a valid code, so what I did was to copy the Show Choices one and added more choice branches below. The problem is that it appears it doesn't allow to add more than 26 lines of code in there as shown in this screenshot:

[IMG]https://i.gyazo.com/489ba6b669c4317aea1fe27a7ac52aa5.png[/IMG]

My code isn't even done and it is already surpassing 26 lines (I use Notepad++ to have things more tidy):

[IMG]https://i.gyazo.com/227ef4cc3d92c9b4aaf84029ea865802.png[/IMG]

So, what do you think I should do to at least allow me to put an infinite number of lines (or 500? as you can see the choices has text dialogues as results, and eventually, talked voice acting, and that bloats more the amount of lines I need for the script). This kind of script will be applied to a fair large number of interactive objects along the adventure on many map rooms, each one with differences in their output depending on the fulfilled requirements and the type of object (for example, a table, an extinguisher or a boat).

Spoiler
If you wonder, this one is to try to push an object (a wardrobe) that it is composed of two parts, Push Action 1 and Push Action 2, nothing too fancy until I make a full sprite for it that doesn't need two separate events with 2 chunks of tileset as actors.
 
That wouldn't work anyway, even with more lines, because scripting and eventing are two entirely different things.


The script command is NOT for copying event commants, it's for executing Ruby/RGSS-code. You need to know how to program in Ruby to use that command, and Ruby has no "show choices" like the one from eventing.


To add more options to the show choice command, you need to change the engine by adding a real script (NOT inside the script command, but inside the script editor)


The master script list contains several ready-to-use scripts for more choice options, I think either Tsukihime's "more options" or Modern Algebra's "ATS: Choice Options" would work for you.


Those two scripts have different advantages and compatibilities, but if that is the only script you plan to use it doesn't matter which one to select.


Tsukihime's is smaller and easier, Modern Algebra's adds a lot more functions (like help text for each choice) but is also more difficult to use.


I suggest you follow the first link in my signature to learn the basics of RM (if you thought that you can use the event commands inside the script command, you'll need to learn a bit more about the engine), and the fourth link to learn how to use a real script.
There's also a script made by Tsukihime that allows you to use two consecutive script call commands for one larger script call. http://www.rpgmakervxace.net/topic/7404-large-script-call/
There's also a script made by Tsukihime that allows you to use two consecutive script call commands for one larger script call. http://www.rpgmakervxace.net/topic/7404-large-script-call/
That won't help in this case as the OP isn't using the script box correctly, and no matter how large the script box is it will never work that way...
tsukihime made a script for having more than 4 choices at once, use that instead.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-add-more-than-26-lines-on-script-event.44217/