20.12.2010, 14:23
Hello everyone.
In my server there are a lot of user files and maybe some of them are old users that have an admin rank.
I've already made a manual check cmd (es. /isadmin <Nickname>), but I'd like to do it automatically (like /listadmins), opening the /users directory, open the file and check if the player admin rank is bigger than 0.
Is that possibile? I'm talking about something like "dir" cmd for batch with also file opening.
Thanks in advance
(Sorry any mistake)
In my server there are a lot of user files and maybe some of them are old users that have an admin rank.
I've already made a manual check cmd (es. /isadmin <Nickname>), but I'd like to do it automatically (like /listadmins), opening the /users directory, open the file and check if the player admin rank is bigger than 0.
Is that possibile? I'm talking about something like "dir" cmd for batch with also file opening.
Thanks in advance
(Sorry any mistake)