Posts: 639
Threads: 92
Joined: Jul 2011
Reputation:
0
Essentially I would like to know where to begin when making a /members command for a faction. This command will generate a full list via dialog of the players, however I am clueless of how I should go about doing such. (Using Dini At the moment)
Posts: 1,905
Threads: 63
Joined: Oct 2011
Reputation:
0
Unless you plan on using MySQL, you have to store every members' name in a text file and use fread accordingly.
Posts: 639
Threads: 92
Joined: Jul 2011
Reputation:
0
Would doing that still give the ability to hire, fire, promote, demote, etc. when the other play is offline?
Posts: 1,905
Threads: 63
Joined: Oct 2011
Reputation:
0
Yes, it's that complicated even if you're using dini. But storing the names in a file is just for the /members command.
Posts: 639
Threads: 92
Joined: Jul 2011
Reputation:
0
Sure thing, thank you for your assistance, Vincent.
Posts: 4,878
Threads: 85
Joined: Jun 2007
Reputation:
0
With mysql you can do all that with a single query. With files it would be the best to create a faction ini that contains all the infos like members and their rank.