Need help in io_read
#3

i got a suggestion:
why now simply let your script check if a playername's file exists in a certain directory? if its existing, consider the player in that faction. if not, well...
instead of writing "Babul" into 1 single file (maybe multiple times?), i would create a file like "groups/ESC/Babul.txt", and close it. it will contain nothing BUT the information that its there, indicating "Babul is ESC member".
to delete an account, you could do that by deleting the file (use the FileManager plugin for scanning for (all) files) while being ingame, or however you can get access to the files...
in case you find it some diffucult to scan group-directories like ("groups/ESC") to tell the script that all players in that directory are part of the group formed by the directory NAME, why not create a file "Babul", and write the group into the file "ESC" ?
in case you only allow a player to be in ONE group, this way could work even better
Reply


Messages In This Thread
Need help in io_read - by IceBilizard - 15.12.2012, 05:27
Re: Need help in io_read - by RajatPawar - 15.12.2012, 05:31
Re: Need help in io_read - by Babul - 15.12.2012, 08:12

Forum Jump:


Users browsing this thread: 5 Guest(s)