• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua PHP help

swevaman

New Member
Joined
Jun 18, 2013
Messages
38
Reaction score
0
basically, i need to constantly post my GM logs on my website (getting the new .txt names and so forth)

I tried http://otland.net/f118/display-admin-logs-script-31239/

but the problem is, my logs are universal for EVERYONE who has the power to use the commands (it doesn't create logs for each GM) as they are custom made and they create a new .txt everyday

For example, todays commands (the name of todays .txt file created in data/logs)

commands - 19 Jun 2013.txt
Code:
============================
Command Log:
Time: 19/06/2013  02:53:35
Player Administrator (IP: removed) used command /a with parameters 1 .
============================
Command Log:
Time: 19/06/2013  02:53:49
Player Administrator (IP: removed) used command /a with parameters 5 .
============================
Command Log:
Time: 19/06/2013  02:53:54
Player Administrator (IP: removed) used command /a with parameters 5 .
============================
Command Log:
Time: 19/06/2013  02:59:59
Player Administrator (IP: removed) used command /a with parameters 5 .
============================
Command Log:
Time: 19/06/2013  03:00:07
Player Administrator (IP: removed) used command /n with parameters magic plate armor 1 .
============================

any help appreciated
 
So you got a task now..
Not like I gave you everything :)
How could I make this more organized?
the ===========================
helps them be organized in the .txt
diMIIDM.png


- - - Updated - - -
 
Last edited:
Make the .log more organized or RegEx.
How could I change the color of the text from black to white?

- - - Updated - - -

I solved this thanks to actually reading what JoccE said, made it look all cute too.

Please close/delete this or wahtever!
 
Back
Top