Code:
on *:TEXT:!item*:#:{
  if ( $read(items.txt,s,$$2-) != $null ) {
    msg # $read(items.txt,s,$$2-)
  }
  else {
    msg # Item " $+ $$2- $+ " not found.
  }
}