diff options
author | cuoco <atunna2026@gmail.com> | 2022-11-25 10:12:04 +0000 |
---|---|---|
committer | cuoco <atunna2026@gmail.com> | 2022-11-25 10:12:04 +0000 |
commit | 0af15c12699cb25473a125b65804fba71b72ccc4 (patch) | |
tree | 24677d52a02f79a3b1d14c6e3e618946577ca5a4 /world | |
parent | 144a6acdbf1a7986f0dee1ec7da1679eaa9af18a (diff) | |
download | serverdata-0af15c12699cb25473a125b65804fba71b72ccc4.tar.gz serverdata-0af15c12699cb25473a125b65804fba71b72ccc4.tar.bz2 serverdata-0af15c12699cb25473a125b65804fba71b72ccc4.tar.xz serverdata-0af15c12699cb25473a125b65804fba71b72ccc4.zip |
Command to check DailyPoints
Diffstat (limited to 'world')
-rw-r--r-- | world/map/npc/commands/_import.txt | 1 | ||||
-rw-r--r-- | world/map/npc/commands/dailypoints.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 e9e64b95..7f85d0d4 100644 --- a/world/map/npc/commands/_import.txt +++ b/world/map/npc/commands/_import.txt @@ -20,3 +20,4 @@ npc: npc/commands/bosspoints.txt npc: npc/commands/deaths.txt npc: npc/commands/divorce.txt npc: npc/commands/exp.txt +npc: npc/commands/dailypoints.txt 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; +} |