When you delete the 1st matching item, what was the 2nd is now the 1st, so you just need to keep deleting the 1st match wink
Code:
alias del_users {
  while ($hfind(nicks,/^[^.]+$/,1,r)) { hdel nicks $v1 }
}