OK, im sort of a newbie coder, and I've been wondering about a new system I wish to add. I will give you some info first about my code.
I have the maximum amount of gods stored in MAX_GODS (Which is 8). I have a deity system which players can choose which god they worship. Now I wanna add something that will write to a file (Let's say, "../data/belief.txt") every tick the amount of followers currently online for every god! I also want the code to be able to call in these numbers! For example, if there are 3 followers of god A and 5 followers of god B I could use a certain command to use the int stored in god.A or something. HELP! Xion, IMP + Head coder of Coldfire נשלח ע"י משתמש Hotmail בעברית. הצטרפו גם אתם לקהילת MSN ישראל. http://www.msn.co.il

