S.C. Code Ann. § 14-23-310
The judge may keep order in court and punish any contempt of his authority in like manner as such contempt might be punished in the circuit or Supreme Court.