diff options
Diffstat (limited to 'world/map/npc/commands/deaths.txt')
-rw-r--r-- | world/map/npc/commands/deaths.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/world/map/npc/commands/deaths.txt b/world/map/npc/commands/deaths.txt new file mode 100644 index 00000000..94189748 --- /dev/null +++ b/world/map/npc/commands/deaths.txt @@ -0,0 +1,11 @@ +-|script|@deaths|32767 +{ + message strcharinfo(0), "Deaths : You have died " + PC_DIE_COUNTER + " times in total."; + close; + +OnInit: + // TODO: allow event managers to query deaths + registercmd chr(ATCMD_SYMBOL) + "deaths", strnpcinfo(0); + registercmd chr(ATCMD_SYMBOL) + "death", strnpcinfo(0); // for typos + end; +} |