How do you make a scoreboard with dictionary?

See the fifth link in