%affectGetOwner()

Aliases%affectGetOwner( )
Parametersobject @affect

    Returns a text pointer to the owner (if one exists) of the given @affect.
The owner of an affect is usually the caster. If there is no owner, or the
given @affect is not valid then null is returned.

Example:
--------------------------------------------------------------------------

//
// Do fire damage to everyone in the room except the caster.
//

damage notchar %affectGetOwner( @self ) %(10 + 1d10) fire