In my very first business law class (June 1971), in the very first lecture, the prof started with the following: "don't confuse being lucky and being smart. they aren't the same". That page of notes is on my office wall in a frame, and highlighted.
What seems to be getting avoided by almost everyone here, whether pro or con filing for evictions, pro se or not, is that across the US, currently tenant rights groups are teaching what follows in italics to tenants. The systematic counterclaim. This is independent of whatever state you live in. This was posted as in a thread right here on BP one month ago to one of the articles about evictions..pro and con.
It is just my opinion, but I would take this, print it out and give it to your attorney of preference before you have to evict anyone, before you get pulled down the rabbit hole, and then ask a simple question before hiring: "Do you know how to prevent this from happening to me?" To do anything else is confusing good luck with being smart.
As a tenant, I ask for a continuance at the eviction hearing, saying that I'm actively seeking legal counsel. That buys 7 days. Then the morning of the new hearing, I file a compulsory counterclaim and jury demand... pro se'. At the same time, I file paperwork as habius pauper (sp). This way I don't pay a dime to file anything with the court from here on out, while the landlord pays an attorney lol. I escrow my rent so that my rent goes to the court instead of the landlord. Then I amend the counterclaim, to add on a few more weeks. If the landlord fails to file an answer then yay! I file a motion for default judgment and win. ( That actually happened once) If he answers the counterclaim a scheduling conference is set for 1-3 months out. At the conference, I make sure Discovery lasts at least six months. Near the end of the six months, I file a motion to extend discovery. (Meanwhile, I file a fair housing complaint, which requires the landlord's attorney to defend that too. After discovery, the landlord usually files a motion for summary judgment. I file a reply 2 weeks later. Then I file a motion to amend which will take the judge another two weeks to rule on that motion. This pushes his MSJ ruling out another 2 weeks. But before he rules on the MSJ, I file a motion to stay proceedings pending final outcome of the counterclaim. Another two weeks for that ruling - which he usually grants. Now add another year for the counterclaim process to take place. If the judge denys the stay and I loose, add on about 12 - 14 months for the appeal process to be fully adjudicated while I remain in the property, and pay rent to the court instead of the landlord. If the judge rules in my favor, I stay in the property and continue with the counterclaim. The longest I've held up a landlords rent was 43 months. That's just over 3-1/2 years. That landlord finally settled. After years of attorney fees, he ended up paying me damages as part of the settlement. When "I" decide to leave a property, I sue again for the return of my security deposit. I take my digital file of 100+ images that show disgusting the place was at move-in and how immaculate the place was at move out. I win that too. Then I have all the eviction cases sealed and removed from the clerk's website.