i got it, the code was a little backwards..
it's supposed to be:

Code:
$lines( $+ " $+ $mircdir\texst.txt $+ ") -o $dname ID " $+ $mircdir\texst.txt $+ "  


thanks a bunch!