i need a bot that can read a txt file
and separate the relevant information and display it
hear is what my txt looks like i needs to read from the bottem up
and display the bottem line
Users currently online: 0 / 50
andthe user name on every line that has has connected in it
and stoping wen it reaches has disconnected
so with this you would type !mmorpg
and it would display
Users currently online: 1 / 50 [edwardthefma]
Code: Select all
2010-01-08 01:08:52 UTC: Client 'edwardthefma' has connected.
Users currently online: 1 / 50
2010-01-08 01:10:46 UTC: Client 'vmann' has connected.
Users currently online: 2 / 50
2010-01-08 01:11:53 UTC: Client 'meiskam' has connected.
Users currently online: 3 / 50
2010-01-08 01:12:50 UTC: Client 'edwardthefma' has disconnected.
Users currently online: 2 / 50
2010-01-08 01:13:26 UTC: Client 'vmann' has disconnected.
Users currently online: 1 / 50
2010-01-08 01:13:31 UTC: Client 'meiskam' has disconnected.
Users currently online: 0 / 50
2010-01-08 01:08:52 UTC: Client 'edwardthefma' has connected.
Users currently online: 1 / 50