sub "renk":
set {_p} to "%parameter 1%" parsed as player
send " &3İstediğin rengi Seç! " to {_p}
send " &8&l&m------------------&r" to {_p}
send json of "&aTıkla" run "/renkConsole yap %{_p}% &a" to {_p}
send json of "&bTıkla" run "/renkConsole yap %{_p}% &b" to {_p}
send json of "&cTıkla" run "/renkConsole yap %{_p}% &c" to {_p}
send json of "&dTıkla" run "/renkConsole yap %{_p}% &d" to {_p}
send json of "&eTıkla" run "/renkConsole yap %{_p}% &e" to {_p}
send json of "&fTıkla" run "/renkConsole yap %{_p}% &f" to {_p}
send json of "&1Tıkla" run "/renkConsole yap %{_p}% &1" to {_p}
send json of "&2Tıkla" run "/renkConsole yap %{_p}% &2" to {_p}
send json of "&3Tıkla" run "/renkConsole yap %{_p}% &3" to {_p}
send json of "&4Tıkla" run "/renkConsole yap %{_p}% &4" to {_p}
send json of "&5Tıkla" run "/renkConsole yap %{_p}% &5" to {_p}
send json of "&6Tıkla" run "/renkConsole yap %{_p}% &6" to {_p}
send json of "&7Tıkla" run "/renkConsole yap %{_p}% &7" to {_p}
send json of "&8Tıkla" run "/renkConsole yap %{_p}% &8" to {_p}
send json of "&9Tıkla" run "/renkConsole yap %{_p}% &9" to {_p}
command /renkConsole [<text>] [<text>] [<text>]:
executable by: console
trigger:
if arg 1 is "yap":
set {_p} to "%arg 2%" parsed as player
set {_r} to "%arg 3%"
set {Renk::%{_p}%} to "%{_r}%"
send "&3&lRENK &8&l» %{_r}%Renginiz seçildi!"
on chat:
if {Renk::%player%} is set:
cancel event
broadcast "%coloured player's prefix% %player% &8» %{Renk::%player%}% %message%"