ID:95428
 
Applies to:DM Language
Status: Open

Issue hasn't been assigned a status value.
Currently there's no way to grab a list of all players with medals.

With scores you can easily grab a list of every key with a score then loop through each one and clear all the stats. Since you can't grab a list of medal winners the best thing you can do is pull each key off the hub yourself and manually feed it into a proc which strips it of all medals.

Have GetMedal() return a list of all keys with medals if both the player and medal arguments are left blank. Since leaving the medal argument blank will pull a list of all medals for the player and leaving the player blank will pull a list of all available medals, it would make sense to have it pull a list of all players with medals when both variables are blank.
I like the idea of getting a list of all players who have earned medals, but the format you've suggested won't work; it would break existing games. Since nobody leaves the player blank and includes a medal name, the assumption is they're already using both arguments blank to get a list of medals. I'm open to this idea though if an alternative format could be found.
Maybe you could use a seperate proc like
GetMedalWinners()
If the format I suggested doesn't work it would probably be best to just make another proc specifically for this function.