Scores. in Developer Help
var/deletescores = list("Score"="")// Delete the previous score field.world.SetScores(src.key, list2params(deletescores))// Delete the previous score field.
var/addscore = list("Score"=src.Score)world.SetScores(src.key, list2params(addscore))
mob/proc Scores() var/scores = world.GetScores(key,"High Score") if(!scores) var/highscore = list("High Score"="[src.score]") world.SetScores("[src]",list2params(highscore)) if(scores) var/list/params = params2list(scores) if(params["Score"]) var/high_score = text2num(params["Score"]) if(src.score > high_score) world.SetScores("[src]",list2params(score))
Then right under that just add the new scores.
PS: Probably a more code-efficient way out there, but this'll work.