Create a new message window

I would like to create a new message window and populate it with text, for now lets say that text is "bla" I would like to do this as a method, so I could eaily call it, looking at the Window_Message I don't really see a method to populate, aside from process_new_line(text, pos) - is that what I am looking for?

How would I create this window?

Thanks. (Note: Looking for a code sample to better understand windows)
Check Game_Interpreter to see how lines are added to messages now.


It's a bit hard - Game_Interpreter adds the lines, Game_Message and Window_Message display them, and Window_Base does all the fancy formatting.
So is there a better way to display messages to a user through script calls? aside from the default "Show text" option?
Perhaps you should explain why the default Show Text option is not sufficient. If we know WHAT you're trying to do, and WHY you're trying to do it that way, we'll be in a better position to assist.
take a look at how I did it on my Chest Drop Randomizer script... http://forums.rpgmakerweb.com/index.php?/topic/6042-chest-drop-randomizer-ace/
Perhaps you should explain why the default Show Text option is not sufficient. If we know WHAT you're trying to do, and WHY you're trying to do it that way, we'll be in a better position to assist.
WHAT:

Display contents of a for loop inside the message window, loop over an array and out put the values of each index

WHY:

Because I created a new object that NEEDS to be out put to the message box, cannot be shown any where else.

WHY - trying to do it that way:

Because the message will display after the battle is over, thus i need a message box to appear and use all the default behaviors of a message box, but show my custom content in it.

@adiktuzmiko I will take a look at your script for sure. Thanks. - it looks like all you did was: $game_message.texts.push("\\C[" + COLOR.to_s + "]" + $textitem) which is really simple....

 

Thread can be closed
yeah, but take note that I think it has problems if you try to do that in a row...
I'm afraid your description is not very descriptive. I have no more idea what you're trying to do, or why the regular message box is not good enough, than I did after your first post. When you explain what you are trying to achieve, use words that convey what the player will see, not how you are technically trying to go about it.


But since you said,


This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/create-a-new-message-window.16818/