obj_in_inventory

Settable:
no
Arguments:
character, string
Return Value:
object

Returns the object in the given character's inventory that matches the given string. If there is no match, it returns null. The parsing includes checking for things like 'bread' vs '2.bread'. This will only match an object that the given character is actually aware of: if the object is invisible and he can't see invisible things, for instance, then that won't be matched.
do not use this with unique for now...