Hi! I'm a newbie on tcl scripting and I like to request a text reader tcl.
I need a tcl to read every lines in a text file then post it to a channel every x seconds. But it should be read ascending ( not random ) from the first line to the next lines until the end of file then doing re-reading if tcl finished read a whole lines in that file.
My text file contain lines like this ...
...
- June, 2th 2006 - Our site was updated, so pls check it out guys!
- June, 3rd 2006 - Team agreed to make a dinner, pls contact Jim for info.
- June, 4th 2006 - Carey b'day is on next Sunday, don't forget to attend it!
...
You want to be to post each new line since it last checked? Or always post the whole file? And where is the problem about random? Search the forums, there are plenty solutions to split \n and foreach each line... even with increasing timers to delay output addionally to puthelp queue.