Quote:
Originally Posted by fowlplay4
Would be neat if it just checked the npcserver's rights for Resetting.
|
I'd rather have a server option or something.
A cool way to do a reset would be like
PHP Code:
temp.folder.loadFolder("accounts/*", true);
for (temp.acc : folder) {
if (! acc.ends(".txt")) {
continue;
}
temp.tokens = acc.tokenize("/");
sendToRC("/reset" SPC acc[1].substring(0, acc[1].length() - 4));
}
which would leave all comments and online time and rights.