Posts: 249
Threads: 26
Joined: Jan 2011
Reputation:
0
Hey, i want to make a command to check whos in your faction, including the offline members, so can someone explain me how to make a loop through all user files? Im using Dini... Unfortunately.
Thanks in advance.
Posts: 217
Threads: 26
Joined: Oct 2011
Reputation:
0
You can't. The only way you could loop though them is if they were numbered (1.ini 2.ini...).
Posts: 1,905
Threads: 63
Joined: Oct 2011
Reputation:
0
Use y_files, or name files with an auto increment integer. There is no native way to loop through files unless you know the names of them before hand.
Posts: 159
Threads: 14
Joined: Jul 2010
Reputation:
0
If you were using MySQL you'd be able to but as the others have said, with a file based script, there isn't a practical way.