The whole reason that i want to save it to a file is that i fo example just want my own stats to be lookup and saved ever = x and the person(s) in chat should only be allowed to request fresh stats every = x
So then i want to save these values either to a json with their name on it and i just calculate time to for my = x
But as i said above, i cant get it to overwrite the last file for some reason.
i have tested the open/close and got that to work.
and if you would build a DB you can add later a !compare <weaon> to my stats.
But im guessing it would be better with a mysqldb for this maybe.
Last edited by Bast; 23/10/20 10:31 PM.