Just making a example of Nillen's code.
Code:
alias example {
  echo -ta Listing users in $+(#,.) Total: $nick(#,0)
  var %x = $nick(#,0)
  while (%x) {
    echo -ta -> $nick(#,%x)
    dec %x
  }
}

This start from the bottom of the userlist. Put it in remote and trigger it with /example