diff options
Diffstat (limited to 'world/map/npc/commands')
-rw-r--r-- | world/map/npc/commands/_import.txt | 1 | ||||
-rw-r--r-- | world/map/npc/commands/mobpoints.txt | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/world/map/npc/commands/_import.txt b/world/map/npc/commands/_import.txt index 7f85d0d4..6e2f0cc2 100644 --- a/world/map/npc/commands/_import.txt +++ b/world/map/npc/commands/_import.txt @@ -21,3 +21,4 @@ npc: npc/commands/deaths.txt npc: npc/commands/divorce.txt npc: npc/commands/exp.txt npc: npc/commands/dailypoints.txt +npc: npc/commands/mobpoints.txt diff --git a/world/map/npc/commands/mobpoints.txt b/world/map/npc/commands/mobpoints.txt new file mode 100644 index 00000000..10dc4b5b --- /dev/null +++ b/world/map/npc/commands/mobpoints.txt @@ -0,0 +1,11 @@ +-|script|@mobpoints|32767 +{ + message strcharinfo(0), "Monster Points : You currently have " + Mobpt + " Monster Points."; + close; + +OnInit: + // TODO: allow event managers to give and take monster points + registercmd chr(ATCMD_SYMBOL) + "mobpoints", strnpcinfo(0); + registercmd chr(ATCMD_SYMBOL) + "mobpoint", strnpcinfo(0); // for typos + end; +} |