function serverCmdReadLog(%client)
{
if(!isFile("config/server/IPLogger/logs.log"))
{
messageClient(%client, '', "\c6Log file does not exist or wrong file specified.");
return 0;
}
%file = new FileObject();
%file.openForRead("config/server/IPLogger/logs.log");
while(!%file.isEOF())
{
%line = %file.readLine();
messageClient(%client, '', %line);
}
%file.close();
%file.delete();
}
Try that. I modified a working file reader that I made (that again, works 100% for me), if this doesnt work, then you have some sort of script or addon that is loving up your blockland.