The script editor has the following layout, which is common for both rooms,
objects and mobiles.
Script Editor
Trigger List:
<none>
N) New trigger for this script
D) Delete a trigger in this script
X) Exit Script Editor
Enter choice :
A step by step walkthrough of the commands follow here:
Script Editor
Trigger List:
1) [1201] No recall
This is a list of the triggers currently associated with the mob/object/room
in question. The triggers are checked from the top down, so priority matters. If
two triggers are of the same type, the last will only get checked if the first
returns a 0, or is currently executing a wait command.
If a trigger is intended for something else than what it's attached to you'll be
informed via a ** Mis-matched Trigger Type **notification after the trigger name.
N) New trigger for this script
By far the most interesting command in the script editor this allows you to
add new triggers to the mob/object/room you're editing. If you choose this
option, you are presented with this option:
Please enter position, vnum (ex: 1, 200):
Here you enter the position of the trigger in the trigger list, and the vnum
of the trigger. Thus to insert trigger number 1201 as the first trigger in the
script, enter 1, 1201.
The position defaults to the end of the trigger list, thus to add trigger 1202
to the end of the list, just enter 1202.
D) Delete a trigger in this script
Lets you decide which trigger to remove from the list.
X) Exit Script Editor
Exits the script editor and returns you to the room/object/mobile editor.
Your changes will take affect next time the mob/object is loaded, or - for rooms - the zone is reset.