void main() { SetLocalInt(GetModule(),"witch4", 2); if((GetLocalInt(GetModule(), "witch1") == 2)) { if((GetLocalInt(GetModule(), "witch2") == 2)) { if((GetLocalInt(GetModule(), "witch3") == 2)) { if((GetLocalInt(GetModule(), "witch4") == 2)) { if((GetLocalInt(GetModule(), "witch5") == 2)) { if((GetLocalInt(GetModule(), "witch6") == 2)) { if((GetLocalInt(GetModule(), "witch7") == 2)) { if((GetLocalInt(GetModule(), "witch8") == 2)) { CreateObject(OBJECT_TYPE_PLACEABLE, "witchesgate", GetLocation(GetWaypointByTag("WitchesGateSpawn"))); }}}}}}}}}