void main() { AssignCommand(OBJECT_SELF, PlaySound("as_cv_winch1")); if (GetLocalInt(GetModule(),"KValves")==2) { SetLocalInt(GetModule(),"KValves",3); } else { SetLocalInt(GetModule(),"KValves",5); } }