object oPC = GetEnteringObject();
object oActionSubject = GetObjectByTag("ER5");
object oActionSubject2 = GetObjectByTag("ER6");

void main()
{
if(GetIsPC(oPC))
{
if(GetLocalInt(GetEnteringObject(), "JezzLame") == 4)
{
AssignCommand(oActionSubject,ActionDoCommand(DestroyObject(oActionSubject)));
AssignCommand(oActionSubject2,ActionDoCommand(DestroyObject(oActionSubject2)));
}
}
}
