So, I am trying to make a log system, writing to a .txt and everything is working, and when I do !log in singleplayer it returns this.
This is what I want it to do.
But when I use !log on my server it returns nothing in the console. Why will it not read the logs on a server( Note it is writing correctly on the server and everything)
Here is my code for the !log command
elseif (string.sub(text, 1, 4) == "!log") then print( file.Read( "logs.txt", "data" ) )
I have tried ply:print but that did not work.
(User was banned for this post ("Undescriptive Thread Title" - Blazyd))