if ($did == 3) { var %i = 1 while $hget(words,%i).data { .hdel words $did(1).seltext inc %i } did -d $dname 1 $did(1).sel }