summaryrefslogtreecommitdiff
path: root/npc/commands/exp.txt
blob: 763653f9498c01412168e53325ac6edddd6ca715 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// TMW2 Script
// Author: Jesusalva

// @getexp atcommand
// Gets experience
//
// group lv: 5
// group char lv: 99
// log: True

-	script	@getexp	32767,{
    end;

OnCall:
    .@delta$ = .@atcmd_parameters$[0];
    .@d = atoi(.@delta$);

    getexp .@d, 0;
    end;

OnInit:
    bindatcmd "getexp", "@getexp::OnCall", 5, 99, 1;
}