Oxalist

Untitled

Dec 18th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. on command "/stats":
  2. send "&r"
  3. send "&b&lYour Stats"
  4. send "&bKills&8: &7%{Kills.%player%}%"
  5. send "&bDeaths&8: &7%{Deaths.%player%}%"
  6. send "&bBlocks Mined&8: &7%{BlocksMined.%player%}%"
  7. send "&r"
  8.  
  9. on command "/stat [<offline player>]":
  10. if arg-1 is online
  11. send "&r"
  12. send "&b&l%player% Stats"
  13. send "&bKills&8: &7%{Kills.%player%}%"
  14. send "&bDeaths&8: &7%{Deaths.%player%}%"
  15. send "&bBlocks Mined&8: &7%{BlocksMined.%player%}%"
  16. send "&r"
  17.  
  18. Variables:
  19. {BlocksMined.%player%} = 0
  20. {Kills.%player%} = 0
  21. {Deaths.%player%} = 0
  22.  
  23. On break of ore or stone:
  24. add 1 to {BlocksMined.%player%}
  25.  
  26. On death:
  27. add 1 to {Deaths.%player%}
  28. add 1 to {Kills.%attacker%}
Advertisement
Add Comment
Please, Sign In to add comment