According to Jim Recap: Unruly Spirits
When Gracie gets in trouble for not listening, Cheryl puts her foot down and says that she can't go out trick-or-treating. There is just one problem - Jim loves to go trick-or-treating and doesn't want to do that to her. So when Cheryl takes the other kids out, Jim sneaks out with Gracie, hoping to get back in before Cheryl comes home. He doesn't make it, which gets him in trouble. To make matters worse, then Gracie starts talking back to him.
They try and keep her from going to a birthday party, but it turns out the girl is new in town, and only two girls are going, and the other one is sick - if Gracie doesn't go, no one will show. So they try to keep her out of one thing after another, and it just doesn't work out.
Then they decide to make her take her candy back, and that's a bust because Jim gets in trouble for stealing the neighbor's papers. Maybe something will work down the road a bit (unlikely, because Gracie has some of the best lines in the show).
Meanwhile, to get back at a Andy for a practical joke he played on her (which in fact wasn't a joke at all, Dana starts calling Andy with a disguised voice - something like the voice you might hear on Scream - and convincing him that she's an old girlfriend that he wronged.
When he goes over to her house to get her to stop, Andy is the one who gets in trouble with the police, but then Dana fesses up and gets carted off herself. Whoops. Guess she should have told someone what she was doing first.
Actually, it isn't - because Andy gets the last laugh. The cop is a stripper. Not a particularly attractive stripper, but a stripper nonetheless.

















