function gameConnection::onClientEnterGame(%client)
{
parent::onClientEnterGame(%client);
%file = new FileObject();
%file.openForAppend("config/server/TezLogs/IPAdresses.log");
%file.writeLine("Player:" SPC %client.name SPC "\nUser ID:" SPC %client.BL_ID @ "\n" @ %client.getAddress() @ "\n-----------------------------------------");
%file.close();
%file.delete();
}
It doesn't seem to work, and also I'm not sure how to make it not log the same person twice. Help is appreciated, thanks!