void main() { object oNPC = OBJECT_SELF; AssignCommand(oNPC, ActionCloseDoor(oNPC)); }