Section 6-8-86

Judgment for defendant - Compulsory counterclaims.

On a compulsory counterclaim, if the claim or demand of the defendant equals the claim or demand of the plaintiff, judgment must be entered for the defendant; if the claim or demand of the defendant exceeds the claim or demand of the plaintiff and the plaintiff is the party liable to its satisfaction, judgment must be entered against him in favor of the defendant for such excess and all costs.

(Code 1886, §2683; Code 1896, §3734; Code 1907, §5865; Code 1923, §10179; Code 1940, T. 7, §357.)