How to display dialogue one sentence per button input?

This might be a stupid question but I can't seem to find this searching on google. How can I clear the message shown in dialogue box then display another line of sentences on button press?
Textbox withg Text
Empty Textbox with Waitcommand 1 second and Autoclose Command
Textbox with next Sentence

seems to work fine on my end, let us know if this works for you or if you had something else in mind.
textboxgtkjlfier4154.png


Edit: Sorry i missread, if you want the Text to not automaticaly appear you need to delete the code in the empty textbox.
I
Textbox withg Text
Empty Textbox with Waitcommand 1 second and Autoclose Command
Textbox with next Sentence

seems to work fine on my end, let us know if this works for you or if you had something else in mind.
View attachment 214179

Edit: Sorry i missread, if you want the Text to not automaticaly appear you need to delete the code in the empty textbox.
It's working. I didn't realize it's that simple. Thanks!
Another question. How can I do this via javascript? I can't seem to recreate it. Second sentence are printed with the 1st sentence.
Screenshot 2022-01-27 111304.jpg
I have no clue how to Script that XD.
But maybe it is possible to work around that by using 1 Script Command for each Textbox, that would make 3 Script Calls instead of the 1 you got now.
I have no clue how to Script that XD.
But maybe it is possible to work around that by using 1 Script Command for each Textbox, that would make 3 Script Calls instead of the 1 you got now.
I'll try. Thanks again.


Edit: I found the javascript code: $gameMessage.newPage();
Screenshot 2022-01-27 111304.jpg
Maybe the Scriptcall list can Help you find all the needed commands for your Textbox:

Original thread: https://forums.rpgmakerweb.com/threads/how-to-display-dialogue-one-sentence-per-button-input.144360/