caller |
Discworld efun help |
caller |
object caller()
Return the object pointer of the object that called the current function. WARNING: If called from the parameter list of a function call, it will return the object containing the function being called, not the caller.
See also
this_player(), this_object().