Update 'papik.sk'
parent
2686495e2d
commit
c308095b75
31
papik.sk
31
papik.sk
|
@ -3,6 +3,28 @@ command /scoreupdate:
|
|||
trigger:
|
||||
set {teampoints_reset} to 0
|
||||
|
||||
function teamInfo(id: text):
|
||||
if _id is "IDList1":
|
||||
return "紅 &cKarmínová"
|
||||
if _id is "IDList2":
|
||||
return "橙 &6Jantarová"
|
||||
if _id is "IDList3":
|
||||
return "黃 &eKrémová"
|
||||
if _id is "IDList4":
|
||||
return "婊 &aLimetková"
|
||||
if _id is "IDList5":
|
||||
return "綠 &2Smaragdová"
|
||||
if _id is "IDList6":
|
||||
return "松 &3Azurová"
|
||||
if _id is "IDList7":
|
||||
return "色 &bBlankytná"
|
||||
if _id is "IDList8":
|
||||
return "藍 &9Nebeská"
|
||||
if _id is "IDList9":
|
||||
return "紫 &5Nachová"
|
||||
if _id is "IDList10":
|
||||
return "粉 &dŠvestková"
|
||||
|
||||
on join:
|
||||
set join message to "§e%player% se připojil."
|
||||
|
||||
|
@ -144,7 +166,8 @@ on placeholderapi placeholder request for the prefix "game":
|
|||
if {teampoints::%{1stteam}%} is 0:
|
||||
set the result to "&7-"
|
||||
else:
|
||||
set the result to "%prefix of team {1stteam}% &r%{teampoints::%{1stteam}%}%"
|
||||
#set the result to "%prefix of team {1stteam}% &r%{teampoints::%{1stteam}%}%"
|
||||
set the result to teamInfo({1stteam})
|
||||
else:
|
||||
set the result to "&7-"
|
||||
#set {new::*} to sorted {play::*}
|
||||
|
@ -153,7 +176,8 @@ on placeholderapi placeholder request for the prefix "game":
|
|||
if {teampoints::%{2stteam}%} is 0:
|
||||
set the result to "&7-"
|
||||
else:
|
||||
set the result to "%prefix of team {2stteam}% &r%{teampoints::%{2stteam}%}%"
|
||||
#set the result to "%prefix of team {2stteam}% &r%{teampoints::%{2stteam}%}%"
|
||||
set the result to teamInfo({2stteam})
|
||||
else:
|
||||
set the result to "&7-"
|
||||
if the identifier is "poradi3":
|
||||
|
@ -161,6 +185,7 @@ on placeholderapi placeholder request for the prefix "game":
|
|||
if {teampoints::%{3stteam}%} is 0:
|
||||
set the result to "&7-"
|
||||
else:
|
||||
set the result to "%prefix of team {3stteam}% &r%{teampoints::%{3stteam}%}%"
|
||||
#set the result to "%prefix of team {3stteam}% &r%{teampoints::%{3stteam}%}%"
|
||||
set the result to teamInfo({3stteam})
|
||||
else:
|
||||
set the result to "&7-"
|
||||
|
|
Loading…
Reference in New Issue