Ahh, ok. So we wouldn't need the play option, play plays back a files contents to the chat. I had made this just now:
  if ($1 == !last) {
    var %last = $2
    if (%last isnum) {
      var %lines = $lines(learnt.txt)
      var %startat $calc(%lines - %last +1)
      play -f $+ %startat $chan learnt.txt
    else { msg $chan no number specified }

But I see where you're going with this.

We don't just write the scripts, we put them to the test! (ScriptBusters)