From the NannyMUD documentation

LAST CHANGE

2000-12-12

FUNCTION


NAME

        exec - Connect a socket to a new object.

SYNTAX

        int exec(object new, object old)

DESCRIPTION

        This function is used to shift an interactive user betwen two
        objects. The function `valid_exec()' is called in `/secure/master.c'
        with the calling object as argument. If `valid_exec()' accepts
        the calling object the interactive user is switched from the object
        `old' to `new'.

NOTE

        It is very easy to become confused when writing the code that uses
        this efun. All the internal variables like `this_player()' or
        `this_object()' remain unchanged, it is just the user that is 
        switched between the objects.

NOTE

        This is one of the greater threats to security in the system. Unless
        the use of this efun is rigorously restricted anyone can become arch
        or keeper.

NOTE

        Don't do this unless you are VERY certain what you are doing.