summaryrefslogtreecommitdiff
path: root/world/map/npc/commands/dailypoints.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/commands/dailypoints.txt')
-rw-r--r--world/map/npc/commands/dailypoints.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/world/map/npc/commands/dailypoints.txt b/world/map/npc/commands/dailypoints.txt
new file mode 100644
index 00000000..225776ec
--- /dev/null
+++ b/world/map/npc/commands/dailypoints.txt
@@ -0,0 +1,11 @@
+-|script|@dailypoints|32767
+{
+ message strcharinfo(0), "Daily Points : You currently have " + DailyQuestBonus + " Daily Points.";
+ close;
+
+OnInit:
+ // TODO: allow event managers to give and take daily points
+ registercmd chr(ATCMD_SYMBOL) + "dailypoints", strnpcinfo(0);
+ registercmd chr(ATCMD_SYMBOL) + "dailypoints", strnpcinfo(0); // for typos
+ end;
+}