How to use delay() in followline()

I don't see an action that would cause it to stop after the delay, just a return, which incidentally is meant to return an int, not a string.