Which network are you on?

Try looping through $comchan...

Code:

raw 822:*: {
  var %i = 1
  while ($comchan($nick,%i)) {
    echo $color(other) -ti2 $v1  $nick Has been marked as being away: $2-
    cline -l $color(other) $v1 $fline($v1,$nick,1,1)
    inc %i
  }
  haltdef
}

raw 821:*: {
  var %i = 1
  while ($comchan($nick,%i)) {
    echo $color(other) -ti2 $v1  $nick is no longer marked as being away.
    cline -lr $v1 $fline($v1,$nick,1,1)
    inc %i
  }
  haltdef
}