I have the sentence:
If you had ever fought with A, you know how important it is not to do B.
and I'm not sure if it is really correct. It is supposed to mean, "In case you fought with A in past then you know (from that point in past on) how important it is not to do B". Does the sentence express that correctly?