code_language.skript:
sub "winner":
loop {bg::gamekills::*}:
if loop-value is more than {_1st.point}:
set {_5th} to {_4tlmg}
set {_5th.point} to {_4th.point}
set {_4tlmg} to {_3rd}
set {_4th.point} to {_3rd.point}
set {_3rd} to {_2nd}
set {_3rd.point} to {_2nd.point}
set {_2nd} to {_1st}
set {_2nd.point} to {_1st.point}
set {_1st} to loop-index
set {_1st.point} to loop-value
else if loop-value is more than {_2nd.point}:
set {_5th} to {_4tlmg}
set {_5th.point} to {_4th.point}
set {_4tlmg} to {_3rd}
set {_4th.point} to {_3rd.point}
set {_3rd} to {_2nd}
set {_3rd.point} to {_2nd.point}
set {_2nd} to loop-index
set {_2nd.point} to loop-value
else if loop-value is more than {_3rd.point}:
set {_5th} to {_4tlmg}
set {_5th.point} to {_4th.point}
set {_4tlmg} to {_3rd}
set {_4th.point} to {_3rd.point}
set {_3rd} to loop-index
set {_3rd.point} to loop-value
else if loop-value is more than {_4th.point}:
set {_5th} to {_4tlmg}
set {_5th.point} to {_4th.point}
set {_4tlmg} to loop-index
set {_4th.point} to loop-value
else if loop-value is more than {_5th.point}:
set {_5th} to loop-index
set {_5th.point} to loop-value
broadcast "%{_1st}% %{_1st.point}%"