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