Advertisement
SUPERFIRE777

Untitled

Oct 21st, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. on first join:
  2. set {%player%.kill} to 0
  3. set {%player%.death} to 0
  4. set {%player%.kd} to 0
  5.  
  6. on death:
  7. if victim is player:
  8. give attacker stone pickaxe
  9. broadcast "<red>%attacker%<reset>が<aqua>%victim%<reset>を倒しました!"
  10. add 1 to {%attacker%.kill}
  11. add 1 to {%victim%.death}
  12. set {%attacker%.kd} to {%attacker%.kill} / {%attacker%.death}
  13. set {%victim%.kd} to {%victim%.kill} / {%victim%.death}
  14.  
  15.  
  16. command /status [<offline player>]:
  17. trigger:
  18. if arg is not set:
  19. message "あなたは%{%player%.kill}%回キルして、%{%player%.death}%回デスして、キルレは%{%player%.kd}%です。" to the player
  20. else:
  21. message "%arg%は%{%arg%.kill}%回キルして、%{%arg%.death}%回デスして、キルレは%{%arg%.kd}%です。" to the player
  22.  
  23. command /reset:
  24. trigger:
  25. set {%player%.kill} to 0
  26. set {%player%.death} to 0
  27. set {%player%.kd} to 0
  28. message "あなたの戦績をリセットしました。" to the player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement