Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /stats [<text>]:
- trigger:
- set {_arg} to arg 1 parsed as an offline player
- set {_uuid} to {_arg}'s uuid
- if arg-1 isn't set:
- if {death::%player's uuid%} isn't set:
- send "&7&m------&8[&cStats von %player%&8]&7&m------"
- wait 1 ticks
- send "&7Platz &8» &c"
- wait 1 ticks
- send "&7Tode &8» &c%{death::%player's uuid%} ? 0%"
- wait 1 ticks
- send "&7Kills &8» &c%{kills::%player's uuid%} ? 0%"
- wait 1 tick
- send "&7Punkte &8» &c%{coins::%player's uuid%} ? 0%"
- wait 1 ticks
- send "&7Spielzeit &8» &c%{playtime::%player's uuid%} ? 0%"
- wait 1 ticks
- send "&7K/D &8» &c0"
- send "&7&m------&8[&cStats von %player%&8]&7&m------"
- stop
- if {death::%player's uuid%} is set:
- set {k/d::%player's uuid%} to {kills::%player's uuid%}/{death::%player's uuid%}
- send "&7&m------&8[&cStats von %player%&8]&7&m------"
- wait 1 ticks
- send "&7Platz &8» &c"
- wait 1 ticks
- send "&7Tode &8» &c%{death::%player's uuid%} ? 0%"
- wait 1 ticks
- send "&7Kills &8» &c%{kills::%player's uuid%} ? 0%"
- wait 1 tick
- send "&7Punkte &8» &c%{coins::%player's uuid%} ? 0%"
- wait 1 ticks
- send "&7Spielzeit &8» &c%{playtime::%player's uuid%} ? 0%"
- wait 1 ticks
- send "&7K/D &8» &c%{k/d::%player's uuid%} ? 0%"
- send "&7&m------&8[&cStats von %player%&8]&7&m------"
- stop
- else:
- if {connected::%{_uuid}%} is true:
- if {death::%{_uuid}%} isn't set:
- send "&7&m------&8[&cStats von %arg-1%&8]&7&m------"
- wait 1 ticks
- send "&7Platz &8» &c"
- wait 1 ticks
- send "&7Tode &8» &c%{death::%{_uuid}%} ? 0%"
- wait 1 ticks
- send "&7Kills &8» &c%{kills::%{_uuid}%} ? 0%"
- wait 1 tick
- send "&7Punkte &8» &c%{coins::%{_uuid}%} ? 0%"
- wait 1 ticks
- send "&7Spielzeit &8» &c%{playtime::%{_uuid}%} ? 0%"
- wait 1 ticks
- send "&7K/D &8» &c0"
- send "&7&m------&8[&cStats von %player%&8]&7&m------"
- stop
- if {death::%{_uuid}%} is set:
- set {k/d::%{_uuid}%} to {kills::%{_uuid}%}/{death::%{_uuid}%}
- send "&7&m------&8[&cStats von %arg-1%&8]&7&m------"
- wait 1 ticks
- send "&7Platz &8» &c"
- wait 1 ticks
- send "&7Tode &8» &c%{death::%{_uuid}%} ? 0%"
- wait 1 ticks
- send "&7Kills &8» &c%{kills::%{_uuid}%} ? 0%"
- wait 1 tick
- send "&7Punkte &8» &c%{coins::%{_uuid}%} ? 0%"
- wait 1 ticks
- send "&7Spielzeit &8» &c%{playtime::%{_uuid}%} ? 0%"
- wait 1 ticks
- send "&7K/D &8» &c%{k/d::%{_uuid}%} ? 0%"
- send "&7&m------&8[&cStats von %arg-1%&8]&7&m------"
- stop
- else:
- send "{@SpielerWarNochNieOn}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement