I appreciate all your help.

Russel this one works in most instances:
Code:
on !*:quit:{
  var %a = 1, %b = $chan(0)
  while %a <= %b {
    if $nick($chan(%a),0) = 1 {
      part $chan(%a)
    }
    inc %a
  }
}


I've tried all the others except the last one by LostShadow and did't have much luck with them. Before I try yours LostShadow, I'm confused why you're using /hop instead of /part? Is that for debugging purposes? Could you please explain.