One of the programmers (Nebseni, I believe) over at Clandestine wrote a Religion prorgam. There is a good guide in there specifically in "void members_of_religion()". Take a look at that as a guide and good luck.

I provided a direct link to that for you here:
http://mud.cland.info/code/religion.c

Enjoy,
Vertigo
Realm of Lanera

From: [EMAIL PROTECTED]
To: [email protected]
Subject: Clan roster
Date: Sun, 28 Jul 2002 09:32:04 EDT

Ok, I'm looking to make a clan roster command that will show all the members
of a clan and their ranks.  I'm thinking that when I first implement the
command, it should search through all the pfiles and write the names/ranks to a data file for each clan, then every time someone is guilded or promoted, it
should add or modify the information in the data files.  Then I want a
command that will display the stored info for a given clan. The only things
I don't know how to do:

1) Cycle through the pfiles (I know how to load the clan data from each
pfile, just not    how to cycle through them all)
2) Save and Load Data to and from a clan data file.

If anyone could give me some idea as to how these things can be accomplished,
I'd greatly appreciate it.


Zack

Drug Wars MUD,
dwmud.ods.org 2528
http://fly.to/dwmud

--
ROM mailing list
[email protected]
http://www.rom.org/cgi-bin/mailman/listinfo/rom




_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


Reply via email to