Skript Paylaşımı Gelişmiş ChatColor

  • Konuyu Başlatan Konuyu Başlatan Emrebaba07
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 3.676
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Emrebaba07

Somon Balığı Selam Vermeye Geldi
Katılım
10 Mart 2016
Mesajlar
23
Elmaslar
1
Puan
0
Yaş
23
Tam olarak yazmadığım ama editlediğim Gelişmiş ChatColor skriptini paylaşacağım umarım beğenirsiniz.
Komutlar ve Yetkiler:
Sadece bir tane yetki var chatcolor.color
• /cc Renk menüsüne bakarsınız
PHP:
# ! =========
# ! Yapan:BigBangEmre
# ! Önemli:bunu çalıp ben yaptım diye paylaşmayın yeter emek hırsızlığı yapmayın :)
# ! =========

options:
    prefix: &8[&eCC&8]
    perm: chatcolor.color
    noperm: &8[&cSunucu&8]&7Bu komutu kullanmak icin yetkin yok!

command /chatcolor [<text>]:
    aliases: /cc
    permission: {@perm}
    permission message: {@noperm}
    trigger:
        if arg 1 is not set:
            message "{@prefix}&7Tiklayarak Sohbet Renginizi Secebilirsiniz!"
            send json "{@prefix}&7Colors&8: &8[" then "&c█" tooltip "&cRed" run "/chatcolor red" then "&8█" tooltip "&8Dark Grey" run "/chatcolor darkgrey" then "&e█" tooltip "&eYellow" run "/chatcolor yellow" then "&9█" tooltip "&9Blue" run "/chatcolor blue" then "&3█" tooltip "&3DarkAqua" run "/chatcolor darkaqua" then "&a█" tooltip "&aGreen" run "/chatcolor green" then "&d█" tooltip "&dPink" run "/chatcolor pink" then "&b█" tooltip "&bAqua" run "/chatcolor aqua" then "&8]" then " &8[&fOFF&8]" tooltip "&fOFF" run "/chatcolor off" to player
        if arg 1 is not "RED" or "DARKGREY" or "YELLOW" or "BLUE" or "GREEN" or "AQUA" or "PINK" or "DARKAQUA" or "OFF":
            message "{@prefix} &fInvaild option&8: &7%arg-1%"
        if arg 1 is "RED":
            set {color.%player%} to "&c"
            message "{@prefix} &7Colour set to &cred&f."
        if arg 1 is "DarkGrey":
            set {color.%player%} to "&8"
            message "{@prefix} &7Colour set to &8darkgrey&f."
        if arg 1 is "AQUA":
            set {color.%player%} to "&b"
            message "{@prefix} &7Colour set to &baqua&f."
        if arg 1 is "YELLOW":
            set {color.%player%} to "&e"
            message "{@prefix} &7Colour set to &eyellow&f."
        if arg 1 is "PINK":
            set {color.%player%} to "&d"
            message "{@prefix} &7Colour set to &dpink&f."
        if arg 1 is "BLUE":
            set {color.%player%} to "&9"
            message "{@prefix} &7Colour set to &9blue&f."
        if arg 1 is "DARKAQUA":
            set {color.%player%} to "&3"
            message "{@prefix} &7Colour set to &3darkaqua&f."
        if arg 1 is "GREEN":
            set {color.%player%} to "&a"
            message "{@prefix} &7Colour set to &agreen&f."
        if arg 1 is "OFF":
            delete {color.%player%}
            message "{@prefix} &7Colour set to &fwhite&f."
on chat:
  cancel event
  if {Color.%player%} is not set:
        set {Color.%player%} to "&f"
  send "%player's display name% &8: %{Color.%player%}% %message%" to all players

Not:Lütfen çalıp ben yaptım diye emek hırsızlığı yapmayın :)
kW3amJ.png
 
Son düzenleme:
Konuya link değilde, resim ve kodunu koysaydın daha iyi olurdu.
İndirmeyle ugraşılmazdı :) ama genede başarılar.
 
Konuya link değilde, resim ve kodunu koysaydın daha iyi olurdu.
İndirmeyle ugraşılmazdı :) ama genede başarılar.
Kolaylık olsun diye indirme linkini koydum ama resmi direkt olarak koymayı bilmiyorum[DOUBLEPOST=1496331892,1496331857][/DOUBLEPOST]
 
Yazdığınız mesajın hemen üstündeki resim işaretini bulunuz ve tıklayın linki yazın bitti.
Bu kadar
 
BAŞARILI HEM KISA HEM BASIT
 
Merak ettiğim birşey var sohbetteki chat rengini ne ile değiştiriyorsun ? Kodlara biraz göz attımda sohbeti değiştiren birşey yok?
Şöyle birşey yapabilirsin eğer lazımsa;
Kod:
on chat:
    set message to "%{chatcolor.%player%}%%message%"
 
Merak ettiğim birşey var sohbetteki chat rengini ne ile değiştiriyorsun ? Kodlara biraz göz attımda sohbeti değiştiren birşey yok?
Şöyle birşey yapabilirsin eğer lazımsa;
Kod:
on chat:
    set message to "%{chatcolor.%player%}%%message%"
baska bir chat skripti kullaniyorum eklemeyi unutmusun pardon ekliyorum koda :)
 
PHP:
# ! =========
# ! Yapan:BigBangEmre
# ! Önemli:bunu çalıp ben yaptım diye paylaşmayın yeter emek hırsızlığı yapmayın :)
# ! =========

options:
    prefix: &8[&eCC&8]
    perm: chatcolor.color
    noperm: &8[&cSunucu&8]&7Bu komutu kullanmak icin yetkin yok!

command /chatcolor [<text>]:
    aliases: /cc
    permission: {@perm}
    permission message: {@noperm}
    trigger:
        if arg 1 is not set:
            message "{@prefix}&7Tiklayarak Sohbet Renginizi Secebilirsiniz!"
            send json "{@prefix}&7Colors&8: &8[" then "&c█" tooltip "&cRed" run "/chatcolor red" then "&8█" tooltip "&8Dark Grey" run "/chatcolor darkgrey" then "&e█" tooltip "&eYellow" run "/chatcolor yellow" then "&9█" tooltip "&9Blue" run "/chatcolor blue" then "&3█" tooltip "&3DarkAqua" run "/chatcolor darkaqua" then "&a█" tooltip "&aGreen" run "/chatcolor green" then "&d█" tooltip "&dPink" run "/chatcolor pink" then "&b█" tooltip "&bAqua" run "/chatcolor aqua" then "&8]" then " &8[&fOFF&8]" tooltip "&fOFF" run "/chatcolor off" to player
        if arg 1 is not "RED" or "DARKGREY" or "YELLOW" or "BLUE" or "GREEN" or "AQUA" or "PINK" or "DARKAQUA" or "OFF":
            message "{@prefix} &fInvaild option&8: &7%arg-1%"
        if arg 1 is "RED":
            set {color.%player%} to "&c"
            message "{@prefix} &7Colour set to &cred&f."
        if arg 1 is "DarkGrey":
            set {color.%player%} to "&8"
            message "{@prefix} &7Colour set to &8darkgrey&f."
        if arg 1 is "AQUA":
            set {color.%player%} to "&b"
            message "{@prefix} &7Colour set to &baqua&f."
        if arg 1 is "YELLOW":
            set {color.%player%} to "&e"
            message "{@prefix} &7Colour set to &eyellow&f."
        if arg 1 is "PINK":
            set {color.%player%} to "&d"
            message "{@prefix} &7Colour set to &dpink&f."
        if arg 1 is "BLUE":
            set {color.%player%} to "&9"
            message "{@prefix} &7Colour set to &9blue&f."
        if arg 1 is "DARKAQUA":
            set {color.%player%} to "&3"
            message "{@prefix} &7Colour set to &3darkaqua&f."
        if arg 1 is "GREEN":
            set {color.%player%} to "&a"
            message "{@prefix} &7Colour set to &agreen&f."
        if arg 1 is "OFF":
            delete {color.%player%}
            message "{@prefix} &7Colour set to &fwhite&f."

on chat:
    if {Color.%player%} is not set:
        set {Color.%player%} to "&f"
kalsın hocam hastebin çabuk siliniyor
 
on chat eklendi ve kod direkt forumda iyi forumlar :)
 
Gene bir hata var. Oyuncunun chatcolor'u belirli değilse sohbette <none> olarak gözükecektir!
 
iyi chat color
 
Son düzenleme:
Kardeşim Xoro nun Chatcolorunu Editlemekle Yazmak Olurmu ?
 
Başarılı bir çalışmaya benziyor...
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst