Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- if {ranking.%player%} is not set:
- set {ranking.%player%} to 1000
- on death of a player:
- remove 50 from {ranking.%victim%}
- add 50 to {ranking.%attacker%}
- send "&6+50 ELO" to attacker
- send "&6Teraz masz &4%{ranking.%attacker%}% &6ELO" to attacker
- send "&c-50 ELO" to victim
- send "&6Teraz masz &4%{ranking.%victim%}% &6ELO" to victim
- command /ranking [<text>]:
- trigger:
- if arg is empty:
- send "&b<---- &4&lELO&b ---->"
- send "&7Nick: &3%player%"
- send "&7Elo: &3%{ranking.%player%}%"
- send "&b<---- &4&lELO&b ---->"
- else:
- if {ranking.%arg1%} is set:
- send "&b<---- &4&lELO&b ---->"
- send "&7Nick: &3%arg1%"
- send "&7Elo: &3%{ranking.%arg1%}%"
- send "&b<---- &4&lELO&b ---->"
- else:
- send "&cBrak gracza w bazie danych!"
Advertisement
Add Comment
Please, Sign In to add comment