Skip to content
Snippets Groups Projects
Commit c31efdb1 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 6b4ea6d3
No related branches found
No related tags found
No related merge requests found
'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