Guest User

Untitled

a guest
Apr 8th, 2017
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. variables:
  2. {swierzak1} = 20
  3. {swierzak2} = 35
  4. {swierzak3} = 50
  5. {swierzak4} = 65
  6. {swierzak5} = 80
  7.  
  8. on kill:
  9. if attacker is player:
  10. if victim is hostile mob:
  11. add 1 to {zabitemoby.%player%}
  12. if {ranga.%player%} is 0:
  13. if {zabitemoby.%player%} is => {swierzak1}:
  14. add 1 to {ranga.%player%}
  15. if {ranga.%player%} is 1:
  16. if {zabitemoby.%player%} is => {swierzak2}:
  17. add 1 to {ranga.%player%}
  18. if {ranga.%player%} is 2:
  19. if {zabitemoby.%player%} is => {swierzak3}:
  20. add 1 to {ranga.%player%}
  21. if {ranga.%player%} is 3:
  22. if {zabitemoby.%player%} is => {swierzak4}:
  23. add 1 to {ranga.%player%}
  24. if {ranga.%player%} is 4:
  25. if {zabitemoby.%player%} is => {swierzak5}:
  26. add 1 to {ranga.%player%}
  27.  
  28. on join:
  29. set {ranga.%player%} to 0
  30. set {zabitemoby.%player%} to 0
  31.  
  32. on chat:
  33. cancel event
  34. if {ranga.%player%} is 0:
  35. broadcast "[%group of player%] &8[Nowicjusz] %player%: %message%"
  36. if {ranga.%player%} is 1:
  37. broadcast "[%group of player%] &1&l[Swierzak I] %player%: %message%"
  38. if {ranga.%player%} is 2:
  39. broadcast "[%group of player%] &1&l[Swierzak II] %player%: %message%"
  40. if {ranga.%player%} is 3:
  41. broadcast "[%group of player%] &1&l[Swierzak III] %player%: %message%"
  42. if {ranga.%player%} is 4:
  43. broadcast "[%group of player%] &1&l[Swierzak IV] %player%: %message%"
  44. if {ranga.%player%} is 5:
  45. broadcast "[%group of player%] &1&l[Swierzak V] %player%: %message%"
Advertisement
Add Comment
Please, Sign In to add comment