Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- set {lv.%player%} to 1
- command /addxp [<text>] [<offline player>]:
- permission: skript.addxp
- trigger:
- if arg 1 is "3":
- if arg 2 is set:
- add 3 to {xp.%player%}
- send "&73xp付与しました"
- if {xp.%player%} >= 100
- set 0 to {xp.%player%}
- add 1 to {lv.%player%}
- if arg 1 is "100":
- if arg 2 is set:
- send "&7Lv1分付与しました"
- set 0 to {xp.%player%}
- add 1 to {lv.%player%}
- if arg 1 or arg 2 is not set:
- send "&c使用法: /addxp <3/100> <player>"
- on death of player:
- execute console command "addxp 3 %attacker%"
- send "&b+ 3xp"
Add Comment
Please, Sign In to add comment