Open new window
Last update:

OasisOLC and Deaths Gate script reference

Examples

%damage%

Cause amount points of damage to victim. The amount can be negative, to create a healing effect.

Example on the way - please be patient.

 

%door%

Used for adding, deleting, and modifying doors in room #vnum:

Example on the way - please be patient.

%echo%

message is sent to all non-sleeping characters in the same room that this script is executing in.

Example on the way - please be patient.

%echoaround%

message will be sent to all characters in the room with victim, except victim.

Example on the way - please be patient.

%force%

Force the victim to perform a particular command. Cannot be made to force immortals.

Example on the way - please be patient.

%load%

Load the specified object or mobile.

Example on the way - please be patient.

%purge%

Remove victim from the game. May not be used on players.

%send%

Send message to victim.

Example on the way - please be patient.

%zoneecho%

Zoneecho echoes message to the zone.

Example on the way - please be patient.

%teleport%

Teleport moves the victim to the target. The victim does not need to be in the same room as the mob. If the victim is 'all', all the characters in the room will be teleported to the target room. No messages are generated by this command.

Example on the way - please be patient.

dg_cast

This allows the holder of a trigger to cast spells. Spells will work for rooms and objects, as well as mobiles.

Example on the way - please be patient.

%asound%

The message is send to all surrounding rooms.

Example on the way - please be patient.

otimer

Set the countdown timer of this object to value. Useful for objects with timer triggers.

Example on the way - please be patient.

otransform

This command causes the executing object to transform into another object, based on the vnum argument supplied. The four basic values will remain those of the original mob but all other statistics and descriptions will be those of the new object. The transformation is permanent, tho additional transformations may be performed. No message regarding the transformation is sent to the room. The new object will have the same script as the originating object, rather than any script normally assigned to the new object, and no load trigger will be executed.

Example on the way - please be patient.

osetval

Osetval lets you alter the object value of an object. The meaning of the value depends on the object type, and can be studied here.

Example on the way - please be patient.

© 2005 Thomas Arp (Welcor). All rights reserved.