This is the affinity system which the NPC will keep a list of players of whom he likes the most,
whoever is at the top of that list will get a special quest from that NPC or a Item whichever the NPC is willing to give.
affinityListNames = newlist("NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL")//This is the list that every NPC will have that will have the players names stored in.
affinityListAffin = newlist(0,0,0,0,0,0,0,0,0,0)//This is the affinity Levels which corresponds with the location of the name in the other list.
for(var/i = 1 to affinityListAffin.len)
Im pulling my hair out because i try to follow the guides and im getting errors left and right. idk if its just because i dont really understand this language completely yet but what im trying to do is to have NPCS keep a list of players that they like its an affinity system. And i want them to be checking that list to see who is at the top of the list and when they next talk to the NPC they will recieve something special.
I am getting an error at affinityListAffin.len