How do I change the text when a chest is opened?

As the title states, how do I do it? Changing the default text when I create a treasure chest in getting annoying lol. I've tried looking in the default scripts, but can't find it. Can someone help me?

Edit: I forgot to mention that a friend recently gifted me RPG Maker VX Ace.
You don't. Scripts can't change the editor.

You could make a chest with the text you want and copy and paste that event instead of making a new quick event.
As the title states, how do I do it? Changing the default text when I create a treasure chest in getting annoying lol. I've tried looking in the default scripts, but can't find it. Can someone help me?

Edit: I forgot to mention that a friend recently gifted me RPG Maker VX Ace.
Have you tried making a common event?
Have you tried making a common event?
You might be able to rig something up that way, but there's not going to be any way to make the common even know what item you put in the chest to generate the correct message the way the quick event creation does.
Have you tried making a common event?
Yes, I have. It's alright though. I'll just stick to editing it manually. Thanks for the suggestion though.

You might be able to rig something up that way, but there's not going to be any way to make the common even know what item you put in the chest to generate the correct message the way the quick event creation does.
Yeah, that's why I'm going to stick to editing the dialogue manually.
If you're dead set on making batch custom chests then you can create the basic layout as a common event, then have the item name, id and text as variables that you set randomly from a list when opened.
If you're dead set on making batch custom chests then you can create the basic layout as a common event, then have the item name, id and text as variables that you set randomly from a list when opened.
Do I misunderstand something about this setup?

It seems like that would take exactly as much typing to set the text in the variables as it would to simply edit the message shown in the Show Text box - and then you don't have to spend a common event and several variable IDs on it.

@KingChris825 There may be a script that automatically displays a message when you receive an item, in which case all you'd have to do is delete the Show Text from the quick-created chest events.

You'd have to search for such a thing or see if someone more familiar with the engine knows whether that in fact exists, I only know that plugins to do that were written for the later engines.
It seems like that would take exactly as much typing to set the text in the variables as it would to simply edit the message shown in the Show Text box
Once the event is made you no longer need to write anything, sure its less work for a few chests, but the more chests you use the more time you'd save. A common event I made uses one variable for the amount of an item while I manually wrote the rest. Although, if you then wanted a specific item in a chest you'd diretly set the variable instead of randomising it.
Once the event is made you no longer need to write anything
That only really works for you because all your chests using that event are choosing from the same random items.

In a traditional game setup where chests have specific items, you'd have to have every item name entered into that common event via conditional branches, which isn't really saving effort.

But it's all good, the suggestions are out there for the OP, doesn't particularly matter what I think 😀
Actually I second the common event method.
You can set as much or as little in the common events as you want. If all your text is the same regardless of the item, then you can just put the text in the common event and then leave the actual item acquisition inside the chest event.
If you have only a handful of items the player may run across, you can just create a common event for each one of those items. Like a potion common event, ether common event, phoenix down common event, etc.

You will still need to assign the common event to the chest event, but at least you aren't typing it all out.

As a side note, if you making your player read the same text over and over again, you may want to reconsider how you handle your chests. You could track when it's the player's first time to receive a potion, say the potion text, then enable a switch. Assuming that text and switch command is in a conditional for the switch to be OFF, then going forward, that text will never be shown again.

As an alternative, you could keep a notepad with the common text that you use pre-written on it.
Then whenever you make chests, just highlight, copy-paste into the text box.
In a traditional game setup where chests have specific items, you'd have to have every item name entered into that common event via conditional branches, which isn't really saving effort.
I guess for that type of setup you could use an array of item ids to names, you're not really saving much time if any. But one input of a number could be linked to gaining the item and changing the text. I agree that doing it manually would be easier in this case though.
Side note, just going to state the blantantly obvious but OP can just create a prefab event and copy and paste it as needed, yes you still need to edit the item recieved and the text but that should be expected.

@KingChris825 There may be a script that automatically displays a message when you receive an item
Here's a script that does that.
Probably should've started with this...

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-change-the-text-when-a-chest-is-opened.173743/