ID:995975
 
Code:
mob
var
cantsave = 0
admin
verb
Wipe_Save_Files()
var/list/l = list()
for(var/client/c)
l += c
var/client/choice = input("Choose a player to wipe their save files.")as null|anything in l
if(!choice) return
choice.mob.cantsave = 1
choice.Export()
alert(src, "[choice]'s savefile has been wiped.")


Problem description:

Is there anything wrong with what I'm doing? The cantsave variable just stops saving from happening from that point onwards until the user leaves and comes back to avoid rewriting their save.
Solved it. Apparently the reference is wrong, you CANNOT delete a client side save file, instead you just need to send a blank save to replace the current save.