From the NannyMUD documentation

LAST CHANGE

2000-12-11

FUNCTION


NAME

        present - find a present object through its id() function

SYNTAX

	object present(object ob|string ob, object where)

DESCRIPTION

	This function returns the specified object `ob' if it is found
	in the inventory of the object `where'. The object `ob' can
	be given either as an actual object or as a string.
	If the object is not present, 0 is returned.

        If a string argument is given, it can also contain an order
	number.

EXAMPLE

        This finds the first knife in the players inventory:
        present("knife", this_player());

EXAMPLE

        This too finds the first knife in the players inventory:
        present("knife 1", this_player());

EXAMPLE

        This finds the second knife in the players inventory:
        present("knife 2", this_player());

SEE ALSO

        find_object in efun/object_related/find_object