I whould like to get some names from a text file inside of it.
For example my text file looks like this :
I need the line >>> Player "NorbyTKD" joined the match. only the player nameCode:SERVER: New client joined this server... >>> Player "NorbyTKD" is connecting... >>> Player "NorbyTKD" joined the match. >>> Player "NorbyTKD" has entered the game. SERVER: Client closed by server... >>> Player "NorbyTKD" disconnected. SERVER: Client closed by server... >>> Player "Morten Degn" disconnected. SERVER: Client closed by server... >>> Player "John" disconnected.
in this case : NorbyTKD listed in textbox and when this user is disconnected like in this line :>>> Player "NorbyTKD" disconnected. it must read this also and delete the disconnected user from textbox.
text box can have over 1000 lines depence on server runtime.
Thanks




Reply With Quote