Help

JAVASCRIPT-PURGE

Also: JS-PURGE

Generic Room, Mobile, Object Behavior

This can be used in place of the purge behavior on rooms, mobiles and objects.

A function has been added to room 78 to give more control over the purge behavior and to allow it to be easily maintained for keeping with new standards etc.

SyntaxRoom.at(78).purge(args);
      Where args can be one of the following:
         'corpse' - Cause a corpse to be left behind when mobiles
                    are purged, or scraps to be left behind when
                    an item is purged.
         'msg'    - Replace the generic purge message with one of
                    your own, must be followed by the desired
                    message. Use ^2n to reference selfs name.

Eg.

SyntaxRoom.at(78).purge('corpse','msg','^2n sets fire to the room.');

Last edited by Engada in February 2006.