on_expire

Response Typescript
EntitiesObjects
Parameters-

    You can use this trigger to override the normal output associated with an
expiring object. This is useful for affects implemented as objects which
need to naturally expire and provide appropriate information to the owner
when the expiry happens. This is similar to how the "fly" spell lets the
mobile affected by the spell know when it has worn off. This feature was
used for the continual light spell as show in the example that follows.

- No extra variable are set.


Example:

if( !%isNull( @owner = %getOwner( @this ) ) )
{
%echoTo(
\ "The light surrounding your body completely fades away.\n",
\ @owner, allowSleeping )
}
endif