var
list
clans = list()
mob/Login()
switch(alert(usr, "Do you want to start in a clan? You'll adopt mods similiar to the clan leader.",, "Yes", "No"))
if("Yes")
for(var/c in clans)
if(c.clanlogin == 1)
usr << "1"
Clans are their own datum and have variables. Clans are saved to clans list. How do I check if any clans in the clan list have a clanlogin value of 1? Would I have to check the savefile to do this and if so, how?
here is the basic clan system for reference:
http://www.byond.com/forum/?post=1476153#comment8538817
While you could check the save files, it wouldn't really be much different to just keep them in memory.