From the NannyMUD documentation
2000-12-14
NAME
call_other - Call a function in another object.SYNTAX
mixed call_other(object ob|object *ob|string ob, string func, ...)DESCRIPTION
This function is used to call another function in a given object or array of objects, If the object `ob' is given as a string, call_other tries to find it using 'find_object()'. If not found, call_other tries to load it, otherwise the object pointer or object array is used directly. If the object is given as a string, the absolute path to the object must be given. `func' should simply be the name of the function to be called. Any number of arguments to the function can be added to the call. 'call_other()' can also be performed using the '->' operator.EXAMPLE
name = (string)call_other(find_player("commander"), "query_real_name"); access = (int)call_other("/secure/master", "valid_read", "DONE", "commander", "my_func");EXAMPLE
name = (string)find_player("commander")->query_real_name(); access = (int)"/secure/master"->valid_read("DONE", "commander", "my_func");NOTE
The default type of "call_other()" is unknown, but as shown in the examples above it is always possible to cast to a type of your own choosing, if nothing else only to aid memory. It is possible to feed the call_other efun an array of objects/strings in which to call the function. The driver then simply loops over the array, treating every object once. An array holding the results are then returned.