I think you changed the type of container. First you used the "Openable/closable". There you created a script just to print a message when trying to open the chest, but the chest will not be opened with this script. Then you changed the type to "Closed container". Now the old script is not visible anymore but still active. So when you try to open the chest it only prints a message.
Now you can change the type again, remove the script and then change the type back to "Closed container" or open your game in code view and remove
<openscript type="script">
msg ("you see a gold ring in the chest")
</openscript>