S.C. Code Ann. § 27-40-640
(b) Notwithstanding the provisions of subsection (a), a tenant is considered to have waived violation of a landlord's duty to maintain the premises as set forth by the rental agreement or violation of the landlord's duties under Section 27-40-440 as a defense in an action for possession based upon nonpayment of rent or in an action for rent concerning a period where: