From the NannyMUD documentation
2001-02-07
NAME
get_objects - Parse a string and return matching objects.LOCATION
/obj/supportSYNTAX
object *get_objects(string, void|object *|object)DESCRIPTION
This function will parse the string, finding all objects matching it. The second argument is in which objects it should search which, if left out, will default to environment(this_player()) and this_player(). For more help on the syntax on the string see the syntax section under information in help.EXAMPLE
object *obs, who; who=find_player("harry"); if(who) obs="/obj/support"->get_objects("hammer 4 in bag",who); /* Searches for hammmer 4 in the first bag in Harry's inventory */SEE ALSO
get_getable_objects in support/get_getable_objectsSEE ALSO
get_dropable_objects in support/get_dropable_objects