- Katılım
- 30 May 2019
- Mesajlar
- 16
- Beğeni
- 3
- Puanları
- 30
Merhaba. Bir sürü sunucuda olan renk komutları kafa karıştırdığı için bu skript'i paylaşmak istedim.
KOD:
KOD:
JavaScript:
options:
p: &3R&ae&en&ck &8»
command /renk:
permission: sohbet.renk
permission message: &cHata &7» &fBilinmeyen bir komut girdin, tekrar dene.
trigger:
open virtual chest with size 3 named "Sohbet rengi seçimi" to player
make gui slot 19 of player with lime dye named "&a█" to run:
set {sohbetrengi::%player%} to "&a"
play "LEVEL_UP" to player
message "{@p} &7Sohbet rengi ayarlandı: %{sohbetrengi::%player%}%Deneme"
make gui slot 20 of player with red dye named "&c█" to run:
set {sohbetrengi::%player%} to "&c"
play "LEVEL_UP" to player
message "{@p} &7Sohbet rengi ayarlandı: %{sohbetrengi::%player%}%Deneme"
make gui slot 21 of player with yellow dye named "&e█" to run:
set {sohbetrengi::%player%} to "&e"
play "LEVEL_UP" to player
message "{@p} &7Sohbet rengi ayarlandı: %{sohbetrengi::%player%}%Deneme"
make gui slot 22 of player with magenta dye named "&d█" to run:
set {sohbetrengi::%player%} to "&d"
play "LEVEL_UP" to player
message "{@p} &7Sohbet rengi ayarlandı: %{sohbetrengi::%player%}%Deneme"
make gui slot 23 of player with bone meal named "&f█" to run:
set {sohbetrengi::%player%} to "&f"
play "LEVEL_UP" to player
message "{@p} &7Sohbet rengi ayarlandı: %{sohbetrengi::%player%}%Deneme"
make gui slot 24 of player with cyan dye named "&3█" to run:
set {sohbetrengi::%player%} to "&3"
play "LEVEL_UP" to player
message "{@p} &7Sohbet rengi ayarlandı: %{sohbetrengi::%player%}%Deneme"
make gui slot 25 of player with light blue dye named "&b█" to run:
set {sohbetrengi::%player%} to "&b"
play "LEVEL_UP" to player
message "{@p} &7Sohbet rengi ayarlandı: %{sohbetrengi::%player%}%Deneme"
make gui slot 3 of player with stick named "&cSıfırla" to close then run console command "arenksifirla %player%"
make gui slot 5 of player with barrier named "&eÇık" to close
on chat:
if {sohbetrengi::%player%} is set:
set message to "%{sohbetrengi::%player%}%%message%"
command /arenksifirla [<player>]:
permission: op
permission message: &cHata &7» &fBilinmeyen bir komut girdin, tekrar dene.
trigger:
arg 1 is set:
send "{@p} &7Sohbet rengi sıfırlandı!" to arg 1
play "LEVEL_UP" to arg 1
delete {sohbetrengi::%arg 1%}