Posts: 23
Threads: 9
Joined: Feb 2013
Reputation:
0
So I have an account system file-based, and sometimes i'd like to do something to all users. Is there anyway I can get the list of file names in my directory?
Posts: 1,767
Threads: 124
Joined: Mar 2010
Of course you can.. only if you saved them somewhere. For example, if player register on your server then you gonna save his nickname to seperate file and do the same thing with other player and do it over and over. But you can't just get a file name, you have to type a file name.
Posts: 1,767
Threads: 124
Joined: Mar 2010
You can't check file name (99,9% sure). I've never heard about function to check file name. Even in y_ini. So, I think, that's the only one way to check it, just save it to seperate text file and read it when you need, probably the best way. If you gonna delete user you can remove entry with y_ini (best way of file handling).
Posts: 4,885
Threads: 57
Joined: Jun 2012
Reputation:
0
I don't know whats wrong with Riddick but he seems pretty out to lunch.