summaryrefslogtreecommitdiff
path: root/world/map/npc/commands/bosspoints.txt
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2020-05-26 01:59:43 +0000
committergumi <git@gumi.ca>2020-05-26 02:03:37 +0000
commit8cd506cac367a22f0d010eba3f5c336b5079ee6c (patch)
tree3cf6202cdc0d60ca193dedbeddd54debaad6089c /world/map/npc/commands/bosspoints.txt
parent9521d017bbaf6fd55fb525c1b3e0c4e0796d6aee (diff)
downloadserverdata-8cd506cac367a22f0d010eba3f5c336b5079ee6c.tar.gz
serverdata-8cd506cac367a22f0d010eba3f5c336b5079ee6c.tar.bz2
serverdata-8cd506cac367a22f0d010eba3f5c336b5079ee6c.tar.xz
serverdata-8cd506cac367a22f0d010eba3f5c336b5079ee6c.zip
add player commands to get deaths and boss points
Diffstat (limited to 'world/map/npc/commands/bosspoints.txt')
-rw-r--r--world/map/npc/commands/bosspoints.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/world/map/npc/commands/bosspoints.txt b/world/map/npc/commands/bosspoints.txt
new file mode 100644
index 00000000..d7a8e0ab
--- /dev/null
+++ b/world/map/npc/commands/bosspoints.txt
@@ -0,0 +1,11 @@
+-|script|@bosspoints|32767
+{
+ message strcharinfo(0), "Boss Points : You currently have " + BOSS_POINTS + " Boss Points.";
+ close;
+
+OnInit:
+ // TODO: allow event managers to give and take boss points
+ registercmd chr(ATCMD_SYMBOL) + "bosspoints", strnpcinfo(0);
+ registercmd chr(ATCMD_SYMBOL) + "bosspoint", strnpcinfo(0); // for typos
+ end;
+}