summaryrefslogblamecommitdiff
path: root/world/map/npc/commands/deaths.txt
blob: 94189748122e4ad93bf6214e3d12fe2dbc898f4f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                            
-|script|@deaths|32767
{
    message strcharinfo(0), "Deaths : You have died " + PC_DIE_COUNTER + " times in total.";
    close;

OnInit:
    // TODO: allow event managers to query deaths
    registercmd chr(ATCMD_SYMBOL) + "deaths", strnpcinfo(0);
    registercmd chr(ATCMD_SYMBOL) + "death", strnpcinfo(0); // for typos
    end;
}