I've not really used AFKmud, but im guessing it has object programs.
You could make a program that made the object appear when they exam the hole,
and then it will oinvoke the object, and put it in the wall. that way it will always be
if your using this you might want to put an if check to make sure there isn't more than 1 of the containers there.
Hope this helps.