void main() { if(GetLocalInt(OBJECT_SELF, "pc_oclvr1") == TRUE && GetLocalInt(OBJECT_SELF, "pc_oclvr2") == TRUE) { ActionOpenDoor(OBJECT_SELF); } }