witam jak dodać ranking na czacie? tutaj jest kod skryptu na ranking:
i jak usunąc {TAG} przed nickiem bo z tym mam problem o to kod dzikoysk gildie
# kRanking# Autor: TheFallingCookie# Wesja: 0.1on script load: send "&aEnabling kRanking" to the console send "&aby TheFallingCookie" to the console execute console command "scoreboard objectives add pkt dummy &apunktów" execute console command "scoreboard objectives setdisplay belowName pkt"on script unload: send "&cDisabling kRanking" to the console send "&cby TheFallingCookie" to the console execute console command "scoreboard objectives remove pkt"on join: if {punkty::%player%} is not set: set {punkty::%player%} to 1000 set {zabojstwa.%player%} to 0 set {smierci.%player%} to 0 execute console command "scoreboard players set %player% pkt %{punkty::%player%}%" if {punkty::%player%} is set: execute console command "scoreboard players set %player% pkt %{punkty::%player%}%"on death of player: strike lightning effect at the player attacker is player: drop victim's skull at location of victim add 1 to {smierci.%victim%} add 1 to {zabojstwa.%attacker%} set {_pkt} to {punkty::%victim%}*0.10 replace all "." with "" in {_pkt} add {_pkt} to {punkty::%attacker%} remove {_pkt} from {punkty::%victim%} set death message to "&cGracz &6%victim% &czostal zabity przez &6%attacker% &a(+%{_pkt}%)" execute console command "scoreboard players set %victim% pkt %{punkty::%victim%}%" execute console command "scoreboard players set %attacker% pkt %{punkty::%attacker%}%" attacker is not player: add 1 to {smierci.%victim%} remove 30 from {punkty::%victim%} execute console command "scoreboard players set %victim% pkt %{punkty::%victim%}%"command /top10: aliases: /top, /topka trigger: send "&aTop 10 najlepszych graczy:" set {_num} to size of {punkty::*} loop {_num} times: loop {punkty::*}: {_v.%loop-number%} is not set: set {_v.%loop-number%} to loop-value set {_n.%loop-number%} to loop-index loop-value is greater than {_v.%loop-number%}: set {_v.%loop-number%} to loop-value set {_n.%loop-number%} to loop-index remove {_v.%loop-number%} from {punkty::*} loop {_num} times: loop-number is less than or equal to 10: send "&a%loop-number%. %{_n.%loop-number%}% (%{_v.%loop-number%}%)" set {punkty::%{_n.%loop-number%}%} to {_v.%loop-number%}command /gracz [<player>]: trigger: arg is not set: send "&aRanking gracza %player%: %{punkty::%player%}% (k: %{zabojstwa.%player%}% d: %{smierci.%player%}%)" arg is set: send "&aRanking gracza %arg%: %{punkty::%arg%}% (k: %{zabojstwa.%arg%}% d: %{smierci.%arg%}%)"
Pytanie
xJacub 0
witam jak dodać ranking na czacie? tutaj jest kod skryptu na ranking:
//Matko boska, używaj spoilerów D: ~Sebeg
Odnośnik do komentarza
Udostępnij na innych stronach
5 odpowiedzi na to pytanie
Rekomendowane odpowiedzi