It should...

In table:
#mirc nick1 nick2
#minion nick3 nick4
#ominous nick5

!tellme mi
item=#mirc data=nick1 nick2
item=#minion data=nick3 nick4
item=#ominous data=nick5


Just as a note, there isn't any form of flood protection in this... if you do a search that results in a lot of matches, you're going to be flooded off... here's a fix for that:

Code:
on *:text:!tellme *:#: {
  if ($hfind(chans,* $+ $2 $+ *,0,w) > 0) {
    var %c = 1
    var %i = $hfind(chans,* $+ $2 $+ *,0,w)
    while (%c <= %i) {
      write temp.txt item= $+ $hfind(chans,* $+ $2 $+ *,%c,w) data= $+ $hget(chans,$hfind(chans,* $+ $2 $+ *,%c,w))
      inc %c
    }
    play temp.txt $chan 1500
    .remove temp.txt
  }
  else msg $chan No data on $2 $+ .
}


Invision Support
#Invision on irc.irchighway.net