diff options
Diffstat (limited to 'npc/commands/exp.txt')
-rw-r--r-- | npc/commands/exp.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/npc/commands/exp.txt b/npc/commands/exp.txt new file mode 100644 index 000000000..a8ffe7393 --- /dev/null +++ b/npc/commands/exp.txt @@ -0,0 +1,20 @@ +// @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; +} |