What part exactally does it get stuck on?

Incidentally, the whole who-cli alias is odd to me. You aren't re-using %chans anywhere hear, are you re-using it somewhere else? If not, then it can be replace by something as simple as:
Code:
alias who-cli {
  if (%colornick_ == enabled) { upd-clienc }
  var %nr = $chan(0)
  while (%nr > 0) {
    .timer 1 $calc(%nr * 5) who $chan(%nr)
    dec %nr
  }
}

As for the 352, you appear to have competing coloration.

Without seeing what $clinecol and upd-clienc are actually doing, it's hard to go any further.