From a509e0fd2e8bca722afb62622127dbf4feecf39d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 11 Jun 2018 01:26:09 -0300 Subject: @getexp --- npc/commands/exp.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 npc/commands/exp.txt (limited to 'npc/commands') 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; +} -- cgit v1.2.3-60-g2f50