catch_relocation

Response Typescript
EntitiesRooms, Mobiles, Objects
Parameters-

    This trigger will fire when a mobile is relocated via some in game feature
such as the teleport, gate, or summon spells. The trigger will fire both
for leaving the original room and for entering the destination room with
the @mode variable being set to "exit" and "enter" respectively. The
following variables are set for this trigger:

@actor - The mobile that is being relocated.

@type - The type of relocation (teleport, summon, gate, etc.)

@mode - The mode of the relocation (exit, enter)

@fromRoom - The ID of the source room.

@toRoom - The ID of the destination room.