summaryrefslogtreecommitdiff
path: root/world/map/npc/commands/mobpoints.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/commands/mobpoints.txt')
-rw-r--r--world/map/npc/commands/mobpoints.txt11
1 files changed, 11 insertions, 0 deletions
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;
+}