Read out .txt line by line instead of random? - 01/01/07 08:49 PM
Not knowing much of scripting I wonder if there is a way to let a .txt file be put out line by line instead of random.
This can be useful for e.g. quit or join messages or if you have a on join message (when the different messages are saved in a txt file).
I so far only know that it is done randomly - can it be done in another way? I think it's difficult but maybe by reading the first line and then deleting it from the file? So next time, line 2 would be on top etc. ..
This can be useful for e.g. quit or join messages or if you have a on join message (when the different messages are saved in a txt file).
I so far only know that it is done randomly - can it be done in another way? I think it's difficult but maybe by reading the first line and then deleting it from the file? So next time, line 2 would be on top etc. ..