Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #--------------------------------------------------------
- variables:
- death = 0
- kill = 0
- #---------------------------------------------------------
- on death:
- victim is a player
- attacker is a player
- add 1 to {kill.%attacker%}
- add 1 to {death.%victim%}
- command /resetKDstatus [<offline player>]:
- permission: skript.kdstatus
- trigger:
- if arg-1 is not set:
- set {kill.%player%} to 0
- set {death.%player%} to 0
- send "%player%のステータスをリセットしました"
- if arg-1 is set:
- set {kill.%arg-1%} to 0
- set {death.%arg-1%} to 0
- send "%arg-1%のステータスをリセットしました"
- command /KDstats [<offline player>]:
- trigger:
- if arg-1 is not set:
- send "&eKILL数"
- send "&4KILL:%{kill.%player%}%"
- send "&8DEATH数"
- send "&8DEATH:%{death.%player%}%"
- send "&e"
- if arg-1 is set:
- send "&eKILL数"
- send "&4KILL:%{kill.%arg-1%}%"
- send "&8DEATH数"
- send "&8DEATH:%{death.%arg-1%}%"
- send "&e"
Add Comment
Please, Sign In to add comment