void exit(ob)
object ob;

This function is called in rooms everytime a living object 'ob' leaves.

The function this_player() will return a random value, don't use it at this
point.

WARNING: Using this function is EXTREMELY dangerous. A single bug, and
you are forever (i.e. until the next reboot occurs) caught in the room.

If you still insist upon using it, do the following in the reset
function of the room:

	if (catch (exit ())) destruct(this_object());

It will check for problems in the exit() function and destruct the room
should there be any. Note that this is not a complete check. This only
checks for exit(0) to work.

See also: lfun/init
