void main() { // Get the creature who triggered this event. object oPC = GetEnteringObject(); // Only fire for (real) PCs. if ( !GetIsPC(oPC) || GetIsDMPossessed(oPC) ) return; // Abort if the PC does not have the item "towerofangarngit". if ( GetItemPossessedBy(oPC, "towerofangarngit") == OBJECT_INVALID ) return; // Destroy objects (not fully effective until this script ends). DestroyObject(GetObjectByTag("sltent3")); DestroyObject(GetObjectByTag("sltent2")); DestroyObject(GetObjectByTag("sltent1")); DestroyObject(GetObjectByTag("SacksofFlourGrainetc3")); DestroyObject(GetObjectByTag("SacksofFlourGrainetc2")); DestroyObject(GetObjectByTag("SacksofFlourGrainetc1")); }