I think you're going the wrong way about this, check out /help $hfind with respect to the "r" switch.

Code:
alias example {
  var %pack = text to find
  hadd -m example item some 00,02text 11t04O 11f00iND
  if $hfind(example,$+(/,%pack,/Si),1,r).data {
    echo -ag $v1 = $hget(example,$v1) $+([Searched for: ",%pack,"])
  }
  hfree example
}