18.10.2011, 00:22
What are you using to store your files in the first place? If you are using MySQL / SQLite, just add a last logged field and then every day just run a timer that checks if the player has logged in the last 25 days (using the timestamp) on all users and run a query like the following
pawn Code:
new timestamp = gettime() - (60*60*24*25);
new query[100];
format(query, sizeof(query), "DELETE FROM playerinfo WHERE lastlogged < %d", timestamp);
mysql_query(query);