ID:140790
 
Code:
mob
verb
ScoreBoard_Org()
var/None=""
var/list/scores = list(\
"-Organization Name-" = list(),
"" = list(),
"-Level-" = list(),
"-Wins-" = list(),
"-Losses-" = list(),
"-Members-" = list())
if(usr.in_SB==1)
winshow(usr,"OSBoard",0)
usr.in_SB=0
else
for(var/Org/M in Orgs)
var/list/l
l = scores["-Organization Name-"]
l+=M.Name
l = scores[""]
l+=None
l = scores["-Level-"]
l+=M.Level
l = scores["-Wins-"]
l+=M.Wins
l = scores["-Losses-"]
l+=M.Losses
l = scores["-Members-"]
l+=M.Members
usr.in_SB=1
DisplayBoard(src,scores,"Wins")


Problem description:
I'm trying the Verb out, but, The Grid isn't loading the lists, The Grid only shows the Categories(Wins, Losses, etc.)
Wild guess, but it may have something to do with your DisplayBoard() proc.
                for(var/Org/M in Orgs)
var/list/l
l = scores["-Organization Name-"]
l+=M.Name
l = scores[""]
l+=None
l = scores["-Level-"]
l+=M.Level
l = scores["-Wins-"]
l+=M.Wins
l = scores["-Losses-"]
l+=M.Losses
l = scores["-Members-"]
l+=M.Members

Unless I'm missing something... It should be this...

                for(var/Org/M in Orgs)
scores["-Organization Name-"]+=None
scores["-Organization Name-"]+=M.Name
scores["-Level-"]+=M.Level
scores["-Wins-"]+=M.Wins
scores["-Losses-"]+=M.Losses
scores["-Members-"]+=M.Members
In response to Chowder
His syntax there is awkward but technically correct. What you wrote is identical aside from a typo.
In response to Garthor
Typo fixed. Didn't know you could reference lists like that...
In response to Chowder
I already fixed it ^^

...a minor error...I didn't seem to see ...

DisplayBoard(src,scores,"Wins")

was suppose to be

DisplayBoard(src,scores,"-Wins-")


...Thanks Anyways ^^