With that code you posted everytime it goes through the loop it resets timer "1" and tells it to msg the channel with line %t. Because of that the timer can only ever finish once (because the only time you don't reset it is when the loop has finished), so I guess that there are 6 lines in your text file?