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.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/world/map/npc/commands/dailypoints.txt b/world/map/npc/commands/dailypoints.txt
index 5d5234fc..d263baaf 100644
--- a/world/map/npc/commands/dailypoints.txt
+++ b/world/map/npc/commands/dailypoints.txt
@@ -1,5 +1,7 @@
-|script|@dailypoints|32767
{
+ callfunc "DailyQuestPoints";
+
message strcharinfo(0), "Daily Points : You currently have " + (DailyQuestPoints + DailyQuestBonus) + " Daily Points.";
close;
@@ -7,5 +9,6 @@ OnInit:
// TODO: allow event managers to give and take daily points
registercmd chr(ATCMD_SYMBOL) + "dailypoints", strnpcinfo(0);
registercmd chr(ATCMD_SYMBOL) + "dailypoint", strnpcinfo(0); // for typos
+ registercmd chr(ATCMD_SYMBOL) + "dp", strnpcinfo(0); // shortcut
end;
}