If you create them using a script and then remove them, it's simple.
If they were created by a player, run a search for objects. I can't provide a script, but it should be in the fan-made scripting guide (check our file archive or on Hugolka).
New here? I'm Roha — want a quick tour?