diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-07-21 09:23:43 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-07-21 09:23:43 -0300 |
commit | 3f601418f1a281d91b6044c8ef8beaf674a6b825 (patch) | |
tree | ef94d2249f4d9edee55e48563997621f5fb4a2e7 | |
parent | 9b1ce893d55542cbb2a6182dc8eb1a40a3f66cd5 (diff) | |
download | serverdata-3f601418f1a281d91b6044c8ef8beaf674a6b825.tar.gz serverdata-3f601418f1a281d91b6044c8ef8beaf674a6b825.tar.bz2 serverdata-3f601418f1a281d91b6044c8ef8beaf674a6b825.tar.xz serverdata-3f601418f1a281d91b6044c8ef8beaf674a6b825.zip |
TS/Autoreset GM
-rw-r--r-- | npc/functions/clientversion.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index 702ec6077..6951c1316 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -8,6 +8,13 @@ // This also handles all updates, and usually have priority. function script clientupdater { + // GM Reset Util + if (is_staff()) { + resetlvl(0); + clearitem(); + dispbottom col("GM Account detected - Automatic Char Reset successful.", 1); + } + // Skip any update for newcomers if (getmap() ~= "000-0*") { UPDATE=gettimetick(2); |