Check your font too, that can affect alignment.
Code:
on *:text:*:*:{ echo $chan $+(¬,$timestamp) $chr(124) $lev $chr(124) $1- | haltdef }
;; spacing aliases
alias lev {
  var %a = $nick($chan,0), %blen, %blen2
  while (%a) { %blen2 = $len($nick($chan, %a)) | if (%blen2 > %blen ) { %blen = %blen2 } | dec %a }
  if ($nick isop $chan) var %temp = $+(%temp,,%CopColor,@)
  elseif ($nick isaop $chan) var %temp = $+(%temp,,%CaopColor,&)
  elseif ($nick ishop $chan) var %temp = $+(%temp,,%ChopColor,%)
  elseif ($nick isvoice $chan) var %temp = $+(%temp,,%CvoiceColor,+)
  else var %temp = $+(%temp,$chr(160))
  return $iif($nick,$+(%temp,$nick,$str($chr(160),%blen)),%blen)
}

Try that, and in the room, type in //echo $lev - it should return a value to you. If not, then there is another problem to figure out.