How to change the message text size ingame???

How do I change the text size of the message box ingame? I'd like to be able to play the game and change the text size ingame

I tried to insert a variable to the message settings / size but won't work...
example.png
My PC is turned off at the moment, but it's probably a bug of Component_CommandInterpreter (like a interpreter.NumberValueOf() missing or something).
An alternative could be using {SZ:30}. Still, since text codes cannot be nested, you cannot use {SZ:{GN:52}}. You should work on a Placeholder Script inside the database's macro for that.
My PC is turned off at the moment, but it's probably a bug of Component_CommandInterpreter (like a interpreter.NumberValueOf() missing or something).
An alternative could be using {SZ:30}. Still, since text codes cannot be nested, you cannot use {SZ:{GN:52}}. You should work on a Placeholder Script inside the database's macro for that.

Thx for your help, I solved using "conditions" inside the common events.
My PC is turned off at the moment, but it's probably a bug of Component_CommandInterpreter (like a interpreter.NumberValueOf() missing or something).
An alternative could be using {SZ:30}. Still, since text codes cannot be nested, you cannot use {SZ:{GN:52}}. You should work on a Placeholder Script inside the database's macro for that.
If I change the text size, I save the game and reload it it crashes as the message box appear. I used "persistent variable" to store the text size, does it crash because of the persistent variable?

Original thread: https://forums.rpgmakerweb.com/threads/how-to-change-the-message-text-size-ingame.100081/