diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-06-11 01:26:09 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-06-11 01:26:09 -0300 |
commit | a509e0fd2e8bca722afb62622127dbf4feecf39d (patch) | |
tree | 90dc417fbbec08c0e7cc95af219de2b96098ef6f /npc/commands | |
parent | ed3358c3d0bb70105b04c838d40eccb425c09fb1 (diff) | |
download | serverdata-a509e0fd2e8bca722afb62622127dbf4feecf39d.tar.gz serverdata-a509e0fd2e8bca722afb62622127dbf4feecf39d.tar.bz2 serverdata-a509e0fd2e8bca722afb62622127dbf4feecf39d.tar.xz serverdata-a509e0fd2e8bca722afb62622127dbf4feecf39d.zip |
@getexp
Diffstat (limited to 'npc/commands')
-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; +} |