Random wrote:this code goes to Form1 and take place of (username) and stats portion of the Timer1, am i right?
Where it goes is your decision, all the code does is retrive the next line from the room text based on the last line read that is sent as a parameter (and updated upon return.)
What line to start with, how to process the line, and when to stop processing lines is up to you. It just provide you the means to read all lines you haven't read yet and thus not lose any.
If last line you read was 50 and now there are 100 you can keep read them in a loop until there are no more lines left (the function reaturn false.) That's why the timer interval is not significant either.




