summaryrefslogtreecommitdiff
path: root/world/map/npc/commands/dailypoints.txt
blob: 7542fcadb5737b9e52f93ca76ae11d5dd0340abd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
-|script|@dailypoints|32767
{
    message strcharinfo(0), "Daily Points : You currently have " + (DailyQuestPoints + 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) + "dailypoint", strnpcinfo(0); // for typos
    registercmd chr(ATCMD_SYMBOL) + "dp", strnpcinfo(0); // shortcut
    end;
}