/proc/
RankingDisplay(var/mob/person)
var/list/levels=new()
var/savefile/F=new("World Save Files/System/Scoreboard/levels.sav")
F[("stuff")]>>(levels)
var/html="<center><TABLE BORDER=1><TR><TH><html><BODY><center><h1><U><font color=#DAA520>Level<font color=white></u></h1><TABLE CELLSPACING=10>"
if(!levels)html+="<TR><TD>No high rankings to display.</TD></TR>\n"
else
html+="<tr><th><B>#</th><th>Name <I>(key)</I></th><th>Level</th><th>Date</th></tr>\n<br>"
for(var/number in 1 to levels.len)
var{character=(levels[(number)]);Rank_Entry/player=(levels[(character)])}
html+="<tr><td><u>[(number)]\th</td><td></u>[(player.Name)] <I>([(player.Key)])</I></td><td>[num2text(round(player.Level),100)]</td><td>[(player.Date)]</td></tr>\n"
person<<browse("[scoreboardtitle][html]","window=scoreboard;size=524x344")
Problem description:
So I'm having a problem with my scoreboard.dm. It only updates when a client/player opens a scoreboard manually using the verb scoreboard. However I want to make it AutoUpdate without having players be online to update it, or even if they are online. If they don't open the scoreboard. I want the scoreboard to still be able to auto configure a updated board. I thought it had something to do with the spawn (Autosave) but I was wrong. I know its a single line of code. But I do not know what it is. Can someone please give assists. Thank you.