title: how can select with multiple output from sqlite
body: <p>I want to do an sql query and only get a response, although it should be five.</p>
  
  <p>only the frist is put to channel</p>
  
  <pre><code>bind pub "-|-" !sqlpre pub:test:sqlpre
  proc pub:test:sqlpre { nick host handle channel arg } {
  
  set searchname [lindex [split $arg] 0]
  
  sqlite3 data /home/local/test.db
  set result [data eval {SELECT * FROM folders WHERE name LIKE $searchname}]
  
  
  if {[llength $result] == 0} {
      putnow "PRIVMSG $channel :Nothing found";
      return 0;
  } else {
      set id [lindex $result 0];
      set source [lindex $result 1];
      set path [lindex $result 2];
      set name [lindex $result 3];
  
  }
  putnow "PRIVMSG $channel :$id $source $path $name"
  }
  </code></pre>
  
  <p>the issue is now here:</p>
  
  <pre><code>1 aa /tmp searchtest1
  </code></pre>
  
  <p>but it should be like this here:</p>
  
  <pre><code>1 aa /tmp searchtest1
  4 ab /tmp searchtest1
  17 ac /tmp searchtest1
  18 ad /tmp searchtest1
  9 ae /tmp searchtest1
  </code></pre>