Well if i explain what I'm trying to do, maybe you could think of a better way.

What I'm trying to do is have a timer started as a line is wrote, so that line is deleted after a set time.

Any ideas?