Skip to content
Snippets Groups Projects
Commit 08c880ba authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Add alloff command to clear users.

This should also be handled by the game after a timeout...
parent 528289a6
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
'use strict';
js.load_path_list.unshift(js.exec_dir+"dorkit/");
load("dorkit.js");
require("l2lib.js", "Player_Def");
var i;
var p;
lln('Working...');
for (i=0; i<200; i++) {
p = pfile.get(i);
if (p === null)
break;
p.battle = 0;
p.busy = 0;
p.onnow = 0;
p.put();
}
file_removecase(getfname('update.tmp'));
lln('Done! I\'ve also deleted the UPDATE.TMP file.');
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment