MongooseA living laboratory of myriad worlds.

All help topics · Link to this topic

Showing help on 'respond_to()'

Syntax: respond_to(OBJ object, STR verb)

Returns true if <verb> is callable on <object>, taking into account inheritance, wildcards (star verbs), etc. Otherwise, returns false. If the caller is permitted to read the object (because the object's `r' flag is true, or the caller is the owner or a wizard) the true value is a list containing the object number of the object that defines the verb and the full verb name(s). Otherwise, the numeric value `1' is returned.