destroy a created exit.

How do you destroy an exit that you create? Say you have a trap door. If the door is opened then create the exit. If the player closes the door destroy the exit.

Unfortunately in the current version you can't specify a name for a created exit, so you can't delete it easily.

For a couple of workarounds, see viewtopic.php?p=19097#p19097

Thanks Alex. I created an exit then destroyed it using the destroy object with the GetExitByLink(from room,to room) as the expression. It worked great.