ID:174414
 
How would I look at 1 var (Guild) for every person, and put all the different ones (so I don't get 20+ of 1) in a list?
You may want to use the Find() proc here.

E.G.
var/list/guilds = new

proc/CheckGuild()
for(var/mob/M in world)
if(guilds.Find(M.guild)) continue //If you find the players guild in the list, just skip to the next person
else guilds += M.guild //Otherwise, add their guild to the list


Resonating Light