SYNOPSIS int find_input_to(object player, string fun) int find_input_to(object player, closure fun) int find_input_to(object player, object|lwobject fun) int find_input_to(object player, object|lwobject ob, string fun) DESCRIPTION Find the input_to most recently added to the interactive object matching the argument: - is a string: the input_to functionname has to match - is an object: the object the input_to function is bound to has to match - is a closure: the input_to closure has to match. - and are given: both the object and the functionname have to match Return -1 if not found, or the position in the input_to stack (0 being _least_ recently added input_to). HISTORY Introduced in LDMud 3.2.9. SEE ALSO input_to(E), input_to_info(E), remove_input_to(E), query_input_pending(E)