#include "NW_I0_GENERIC"
#include "jw_privates_inc"

void main()
{

      object oLastOpener = GetLastOpenedBy();

    if (GetIsPC(oLastOpener))
    {
     SetTarget(oLastOpener);
     SpeakString("NW_ATTACK_MY_TARGET", TALKVOLUME_SILENT_TALK);
    }


     DelayCommand(10.0,ActionCloseDoor(OBJECT_SELF));
     DelayCommand(10.5,SetLocked(OBJECT_SELF,TRUE));
}