K2Rk1o

Kill stats

Nov 29th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. #--------------------------------------------------------
  2. variables:
  3. death = 0
  4. kill = 0
  5.  
  6. #---------------------------------------------------------
  7.  
  8. on death:
  9. victim is a player
  10. attacker is a player
  11. add 1 to {kill.%attacker%}
  12. add 1 to {death.%victim%}
  13.  
  14. command /resetKDstatus [<offline player>]:
  15. permission: skript.kdstatus
  16. trigger:
  17. if arg-1 is not set:
  18. set {kill.%player%} to 0
  19. set {death.%player%} to 0
  20. send "%player%のステータスをリセットしました"
  21. if arg-1 is set:
  22. set {kill.%arg-1%} to 0
  23. set {death.%arg-1%} to 0
  24. send "%arg-1%のステータスをリセットしました"
  25.  
  26.  
  27. command /KDstats [<offline player>]:
  28. trigger:
  29. if arg-1 is not set:
  30. send "&eKILL数"
  31. send "&4KILL:%{kill.%player%}%"
  32. send "&8DEATH数"
  33. send "&8DEATH:%{death.%player%}%"
  34. send "&e"
  35. if arg-1 is set:
  36. send "&eKILL数"
  37. send "&4KILL:%{kill.%arg-1%}%"
  38. send "&8DEATH数"
  39. send "&8DEATH:%{death.%arg-1%}%"
  40. send "&e"
Add Comment
Please, Sign In to add comment