Scoreboard: type: world events: on server start: - if == true run looping_scoreboard instantly on server reload: - if == true flag global activscore:! activate_scoreboard: type: task script: - if == true { - flag global activscore:false - narrate "<&c>Desactivation Manuelle<&f> de l'Affichage Dynamique..." - announce to_console "<&c>Desactivation<&f> de l'Affichage Dynamique..." } else { - flag global activscore:true - narrate "<&a>Activation Manuelle<&f> de l'Affichage Dynamique..." - announce to_console "<&a>Activation<&f> de l'Affichage Dynamique..." - run looping_scoreboard instantly } looping_scoreboard: type: task script: - if == true { - foreach { - run player_scoreboard player: instantly } - run looping_scoreboard instantly delay:40t } player_scoreboard: type: task script: - if p@ MATCHES onlineplayer { - define ID - flag garde:! - scoreboard add id: #il manque peut etre les scores, mais c'est pas beau sinon.... A TROUVER SOLUTION ! (score:14) -> TROUVE # - scoreboard add id: "objective:<&6>Stats" "lines:<&c>Genre <&co>" - if _QuestH]> > 0 { - scoreboard add id: "objective:<&6>Stats" "lines:<&e>Humain" score: } - if _QuestD]> > 0 { - scoreboard add id: "objective:<&6>Stats" "lines:<&e>Demon" score: } - if _QuestB]> > 0 { - scoreboard add id: "objective:<&6>Stats" "lines:<&e>Exile" score: } - scoreboard add id: "objective:<&6>Stats" "lines:<&c>Karma <&co>" score:_karma].as_int> # - scoreboard add id: "objective:<&6>Stats" "lines:<&e>_karma]>" - if > 0 && != null { - if CONTAINS && _gardekar]> == true { - scoreboard add id: "objective:<&6>Stats" "lines:<&c>Indice de Recherche <&co>" score: } # - scoreboard add id: "objective:<&6>Stats" "lines:<&e>" } - if CONTAINS == true && _gardelb]> == true { - scoreboard add id: "objective:<&6>Stats" "lines:<&c>Indice de Recherche <&co>" score: } # - scoreboard add id: "objective:<&6>Stats" "lines:<&e>" } - if CONTAINS == true && _gardeli]> == true { - scoreboard add id: "objective:<&6>Stats" "lines:<&c>Indice de Recherche <&co>" score: } # - scoreboard add id: "objective:<&6>Stats" "lines:<&e>" } - if CONTAINS == true && _gardeshe]> == true { - scoreboard add id: "objective:<&6>Stats" "lines:<&c>Indice de Recherche <&co>" score: } # - scoreboard add id: "objective:<&6>Stats" "lines:<&e>" } - if CONTAINS == true && _gardedom]> == true { - scoreboard add id: "objective:<&6>Stats" "lines:<&c>Indice de Recherche <&co>" score: } # - scoreboard add id: "objective:<&6>Stats" "lines:<&e>" } - if == 10 flag scoreboard add id: "objective:<&6>Stats" "lines:<&c>Recherche toute Ville" } - scoreboard add id: viewers: - wait 2s - scoreboard remove id: }