maybe something like this

Code:
 on 50:JOIN:#:/.timer 1 2 /nicks $chan
alias nicks {
  var %i = 1
  while %i <= $nick($1,0) {
    if $nick($1,%i) != $me {
      echo -a $nick($1,%i) 
    }
    inc %i
  }
} 


//auser 50 $me