Çözüldü yardım

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

abalkan

oyna.sunolia.network
Katılım
24 Nisan 2017
Mesajlar
421
Elmaslar
48
Puan
9.155
Konum
Bursa

Discord:

abalkan#4644

Merhaba Dostlar
Skriptte böyle bir hata alıyorum ama düzeltebilir misiniz

Ekran Alıntısı.PNG


Kod:
options:
    p: servername &7»
command /yetkili [<text>] [<offlineplayer>] [<text>]:
    permission: yetkili.*
    trigger:
        arg-1 isn't set:
            send "{@p} &b/yetkili &aekle &3<isim> &3<yetki> &e/ &csil &3<isim>
        arg-1 is "ekle":
            arg-2 is set:
                arg-3 is set:
                    set {yetkililer::%arg-2%} to arg-2
                    set {yetki.%arg-2%} to "%colored arg-3%"
                    send "{@p} &b▪ &e%arg-2% &b▪ &aadlı oyuncu yetkililer arasına &b%colored arg-3% &ayetkisi ile eklendi."
                else:
                    send "{@p} &bYetki girmedin."
            else:
                send "{@p} &bOyuncu ismi girmedin."
        arg-1 is "sil":
            arg-2 is set:
                {yetkililer::%arg-2%} is set:
                    delete {yetkililer::%arg-2%}
                    delete {yetki.%arg-2%}
                    send "{@p} &b▪ &e%arg-2% &b▪ &aadlı oyuncunun yetkisi alındı."
                else:
                    send "{@p} &bBu oyuncu zaten yetkili değil."
            else:
                send "{@p} &bOyuncu ismi girmedin."
        arg-1 is "sıfırla":
            loop {yetkililer::*}:
                delete {yetki.%loop-value%}
                delete {yetkililer::%loop-value%}
            send "{@p} &aTüm yetkililer başarıyla silindi."
command /yetkililer:
    trigger:
        {yetkililer::*} is set:
            wait a tick
            open virtual chest with size 1 named "&e&lSun&f&lOlia" to player
            set {_c.slot} to -1
            loop {yetkililer::*}:
                add 1 to {_c.slot}
                loop-value is online:
                    make gui slot {_c.slot} of player with skull of loop-value named "&b▪ &e%loop-value% &b▪" with lore "&bYetkisi &7» &b▪ %{yetki.%loop-value%}% &b▪||&bAktiflik Durumu &7» &b▪ &aAktif &b▪" to nothing
                else:
                    make gui slot {_c.slot} of player with skull of loop-value named "&b▪ &e%loop-value% &b▪" with lore "&bYetkisi &7» &b▪ %{yetki.%loop-value%}% &b▪||&bAktiflik Durumu &7» &b▪ &cAktif Değil &b▪" to nothing
        else:
            send "{@p} &cHiç yetkili yok."
          
command /yetkilitemizle:
    permission: op
    trigger:
        delete {yetkililer::*}
        send "{@p} &aYetkililer menüsü başarıyla temizlendi!"

Buda kelime oyunu skripti bundada bir hata alıyorum ayrıca kodu aynı anda yazan birkaç kişiye birden ödül veriyor
Ekran Alıntısı2.PNG

Kod:
command /kelimeoyunu:
    permission: sk.admin
    permission message: &csunucuadı &7» &cBu komutu kullanabilmek için yetkin yok.
    trigger:
        if {kodlar.%{_kodgecici.%player%}%} is set:
        set {kodlar} to a random integer between 1 and 999999999999
        set {kodlar.%{_kodgecici.%player%}%} to {kodlar}
        send all players title "&csunucuadı" with subtitle "&e▪ &bKelime Oyunu Baslıyor &e▪ &aHazır Olun &e▪" for 3 seconds
        wait 5 seconds
        set {kodBasladi} to true
        send all players title "&csunucuadı" with subtitle "&b▪ &e%{kodlar}% &b▪" for 10 seconds
on chat:
    if {kodBasladi} is true:
        if message is "%{kodlar}%":
            wait 5 tick
            send all players title "&csunucuadı" with subtitle "&b▪ &e%player% &bKelime Oyununu &aKazandı &b▪" for 3 seconds
            set {kodBasladi} to false
            execute console command "give %player% 175 1 unbreaking:10 name:_&e&lSun&6&lCoin lore:&e&lSun&f&lOlia_&6&lCoini|&a&lEn_Degerli_Para_Birimidir|&b&lDegerli_Esyalar_Ile_Takaslanabilir|&e&l/warp_takas"
every 240 minute:
     execute console command "kelimeoyunu"

Ayrıca resim koyamayacağım loglardan bakıyorum ama
[01:28:25] [Server thread/ERROR]: [Skript] Can't understand this expression: arg 2 §b▪ (abalkan.sk, line 242: broadcast "&e&lSun&f&lOlia &7» &bEngelleme Süresi &3» &b▪ &e%arg 2 &b▪%"')
Bu skripttede hatalar mevcut giderebilir misiniz

Kod:
command /tempbanban [<text>] [<text>] [<text>]:
    permission: essentials.ban
    permission message: &e&lSun&f&lOlia &7» &cBu komutu kullanmak için yetkin yok!
    trigger:
        if arg 1 is set:
            if arg 2 is set:
                if arg 3 is set:
                    execute console command "tempban %arg 1% %arg 2%"
                    broadcast "&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-"
                    broadcast "&e&lSun&f&lOlia &7» &b▪ &cBir Oyuncumuz Sunucudan Engellenmistir &b▪"
                    broadcast "&e&lSun&f&lOlia &7» &bEngelleyen Kişi &3» &4▪ &c&lKurucu &4▪ &e&l%player%"
                    broadcast "&e&lSun&f&lOlia &7» &bEngellenen Kişi &3» &b▪ &e%arg 1% &b▪"
                    broadcast "&e&lSun&f&lOlia &7» &bEngelleme Süresi &3» &b▪ &e%arg 2 &b▪%"
                    broadcast "&e&lSun&f&lOlia &7» &bEngelleme Sebebi &3» &b▪ &e%arg 3% &b▪"
                    broadcast "&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-"
                else:
                    send "&e&lSun&f&lOlia &7» &bSebep yazmadın"
            else:
                send "&e&lSun&f&lOlia &7» &bSüre yazmadın"
        else:
            send "&e&lSun&f&lOlia &7» &bOyuncu ismi yazmadın"
            
command /mute [<text>] [<text>] [<text>]:
    permission: essentials.mute
    permission message: &e&lSun&f&lOlia &7» &cBu komutu kullanmak için yetkin yok!
    trigger:
        if arg 1 is set:
            if arg 2 is set:
                if arg 3 is set:
                    execute console command "emute %arg 1% %arg 2%"
                    broadcast "&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-"
                    broadcast "&e&lSun&f&lOlia &7» &b▪ &cBir Oyuncumuz Susturulmuştur &b▪"
                    broadcast "&e&lSun&f&lOlia &7» &bSusturan Kişi &3» &b▪ &aRehber &b▪ &e%player% &b▪"
                    broadcast "&e&lSun&f&lOlia &7» &bSusturulan Kişi &3» &b▪ &e%arg 1% &b▪"
                    broadcast "&e&lSun&f&lOlia &7» &bSusturulma Süresi &3» &b▪ &e%arg 2% &b▪"
                    broadcast "&e&lSun&f&lOlia &7» &bSusturulma Sebebi &3» &b▪ &e%arg 3% &b▪"
                    broadcast "&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-"
                else:
                    send "&e&lSun&f&lOlia &7» &bSebep yazmadın"
            else:
                send "&e&lSun&f&lOlia &7» &bSüre yazmadın"
        else:
            send "&e&lSun&f&lOlia &7» &bOyuncu ismi yazmadın"
            
command /sustur [<text>] [<text>] [<text>]:
    permission: sunolia.mute
    permission message: &e&lSun&f&lOlia &7» &cBu komutu kullanmak için yetkin yok!
    trigger:
        if arg 1 is set:
            if arg 2 is set:
                if arg 3 is set:
                    execute console command "emute %arg 1% %arg 2%"
                    broadcast "&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-"
                    broadcast "&e&lSun&f&lOlia &7» &b▪ &cBir Oyuncumuz Susturulmuştur &b▪"
                    broadcast "&e&lSun&f&lOlia &7» &bSusturan Kişi &3» &4▪ &c&lKurucu &4▪ &e&l%player% &4▪"
                    broadcast "&e&lSun&f&lOlia &7» &bSusturulan Kişi &3» &b▪ &e%arg 1% &b▪"
                    broadcast "&e&lSun&f&lOlia &7» &bSusturulma Süresi &3» &b▪ &e%arg 2% &b▪"
                    broadcast "&e&lSun&f&lOlia &7» &bSusturulma Sebebi &3» &b▪ &e%arg 3% &b▪"
                    broadcast "&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-"
                else:
                    send "&e&lSun&f&lOlia &7» &bSebep yazmadın"
            else:
                send "&e&lSun&f&lOlia &7» &bSüre yazmadın"
        else:
            send "&e&lSun&f&lOlia &7» &bOyuncu ismi yazmadın"
 
Son düzenleme:
Kod:
options:
    p: servername &7»
command /yetkili [<text>] [<offlineplayer>] [<text>]:
    permission: yetkili.*
    trigger:
        arg-1 isn't set:
            send "{@p} &b/yetkili &aekle &3<isim> &3<yetki> &e/ &csil &3<isim>"
        arg-1 is "ekle":
            arg-2 is set:
                arg-3 is set:
                    set {yetkililer::%arg-2%} to arg-2
                    set {yetki.%arg-2%} to "%colored arg-3%"
                    send "{@p} &b▪ &e%arg-2% &b▪ &aadlı oyuncu yetkililer arasına &b%colored arg-3% &ayetkisi ile eklendi."
                else:
                    send "{@p} &bYetki girmedin."
            else:
                send "{@p} &bOyuncu ismi girmedin."
        arg-1 is "sil":
            arg-2 is set:
                {yetkililer::%arg-2%} is set:
                    delete {yetkililer::%arg-2%}
                    delete {yetki.%arg-2%}
                    send "{@p} &b▪ &e%arg-2% &b▪ &aadlı oyuncunun yetkisi alındı."
                else:
                    send "{@p} &bBu oyuncu zaten yetkili değil."
            else:
                send "{@p} &bOyuncu ismi girmedin."
        arg-1 is "sıfırla":
            loop {yetkililer::*}:
                delete {yetki.%loop-value%}
                delete {yetkililer::%loop-value%}
            send "{@p} &aTüm yetkililer başarıyla silindi."
command /yetkililer:
    trigger:
        {yetkililer::*} is set:
            wait a tick
            open virtual chest with size 1 named "&e&lSun&f&lOlia" to player
            set {_c.slot} to -1
            loop {yetkililer::*}:
                add 1 to {_c.slot}
                loop-value is online:
                    make gui slot {_c.slot} of player with skull of loop-value named "&b▪ &e%loop-value% &b▪" with lore "&bYetkisi &7» &b▪ %{yetki.%loop-value%}% &b▪||&bAktiflik Durumu &7» &b▪ &aAktif &b▪" to nothing
                else:
                    make gui slot {_c.slot} of player with skull of loop-value named "&b▪ &e%loop-value% &b▪" with lore "&bYetkisi &7» &b▪ %{yetki.%loop-value%}% &b▪||&bAktiflik Durumu &7» &b▪ &cAktif Değil &b▪" to nothing
        else:
            send "{@p} &cHiç yetkili yok."
            
command /yetkilitemizle:
    permission: op
    trigger:
        delete {yetkililer::*}
        send "{@p} &aYetkililer menüsü başarıyla temizlendi!"
Buyrun. ^^
 
Kod:
options:
    p: servername &7»
command /yetkili [<text>] [<offlineplayer>] [<text>]:
    permission: yetkili.*
    trigger:
        arg-1 isn't set:
            send "{@p} &b/yetkili &aekle &3<isim> &3<yetki> &e/ &csil &3<isim>"
        arg-1 is "ekle":
            arg-2 is set:
                arg-3 is set:
                    set {yetkililer::%arg-2%} to arg-2
                    set {yetki.%arg-2%} to "%colored arg-3%"
                    send "{@p} &b▪ &e%arg-2% &b▪ &aadlı oyuncu yetkililer arasına &b%colored arg-3% &ayetkisi ile eklendi."
                else:
                    send "{@p} &bYetki girmedin."
            else:
                send "{@p} &bOyuncu ismi girmedin."
        arg-1 is "sil":
            arg-2 is set:
                {yetkililer::%arg-2%} is set:
                    delete {yetkililer::%arg-2%}
                    delete {yetki.%arg-2%}
                    send "{@p} &b▪ &e%arg-2% &b▪ &aadlı oyuncunun yetkisi alındı."
                else:
                    send "{@p} &bBu oyuncu zaten yetkili değil."
            else:
                send "{@p} &bOyuncu ismi girmedin."
        arg-1 is "sıfırla":
            loop {yetkililer::*}:
                delete {yetki.%loop-value%}
                delete {yetkililer::%loop-value%}
            send "{@p} &aTüm yetkililer başarıyla silindi."
command /yetkililer:
    trigger:
        {yetkililer::*} is set:
            wait a tick
            open virtual chest with size 1 named "&e&lSun&f&lOlia" to player
            set {_c.slot} to -1
            loop {yetkililer::*}:
                add 1 to {_c.slot}
                loop-value is online:
                    make gui slot {_c.slot} of player with skull of loop-value named "&b▪ &e%loop-value% &b▪" with lore "&bYetkisi &7» &b▪ %{yetki.%loop-value%}% &b▪||&bAktiflik Durumu &7» &b▪ &aAktif &b▪" to nothing
                else:
                    make gui slot {_c.slot} of player with skull of loop-value named "&b▪ &e%loop-value% &b▪" with lore "&bYetkisi &7» &b▪ %{yetki.%loop-value%}% &b▪||&bAktiflik Durumu &7» &b▪ &cAktif Değil &b▪" to nothing
        else:
            send "{@p} &cHiç yetkili yok."
           
command /yetkilitemizle:
    permission: op
    trigger:
        delete {yetkililer::*}
        send "{@p} &aYetkililer menüsü başarıyla temizlendi!"
Buyrun. ^^
bu oldu teşekkür ederim hata alan iki skript daha ekledim bakabilir misiniz
 
İlk hatada göndereceğin mesajı çift tırnak içine almalısın diyor. Efe arkadaşımız düzeltmiş :melek: Ben yine de atayım bu mesajda.
Kod:
options:
    p: servername &7»
command /yetkili [<text>] [<offlineplayer>] [<text>]:
    permission: yetkili.*
    trigger:
        arg-1 isn't set:
            send "{@p} &b/yetkili &aekle &3<isim> &3<yetki> &e/ &csil &3<isim>"
        arg-1 is "ekle":
            arg-2 is set:
                arg-3 is set:
                    set {yetkililer::%arg-2%} to arg-2
                    set {yetki.%arg-2%} to "%colored arg-3%"
                    send "{@p} &b▪ &e%arg-2% &b▪ &aadlı oyuncu yetkililer arasına &b%colored arg-3% &ayetkisi ile eklendi."
                else:
                    send "{@p} &bYetki girmedin."
            else:
                send "{@p} &bOyuncu ismi girmedin."
        arg-1 is "sil":
            arg-2 is set:
                {yetkililer::%arg-2%} is set:
                    delete {yetkililer::%arg-2%}
                    delete {yetki.%arg-2%}
                    send "{@p} &b▪ &e%arg-2% &b▪ &aadlı oyuncunun yetkisi alındı."
                else:
                    send "{@p} &bBu oyuncu zaten yetkili değil."
            else:
                send "{@p} &bOyuncu ismi girmedin."
        arg-1 is "sıfırla":
            loop {yetkililer::*}:
                delete {yetki.%loop-value%}
                delete {yetkililer::%loop-value%}
            send "{@p} &aTüm yetkililer başarıyla silindi."
command /yetkililer:
    trigger:
        {yetkililer::*} is set:
            wait a tick
            open virtual chest with size 1 named "&e&lSun&f&lOlia" to player
            set {_c.slot} to -1
            loop {yetkililer::*}:
                add 1 to {_c.slot}
                loop-value is online:
                    make gui slot {_c.slot} of player with skull of loop-value named "&b▪ &e%loop-value% &b▪" with lore "&bYetkisi &7» &b▪ %{yetki.%loop-value%}% &b▪||&bAktiflik Durumu &7» &b▪ &aAktif &b▪" to nothing
                else:
                    make gui slot {_c.slot} of player with skull of loop-value named "&b▪ &e%loop-value% &b▪" with lore "&bYetkisi &7» &b▪ %{yetki.%loop-value%}% &b▪||&bAktiflik Durumu &7» &b▪ &cAktif Değil &b▪" to nothing
        else:
            send "{@p} &cHiç yetkili yok."
            
command /yetkilitemizle:
    permission: op
    trigger:
        delete {yetkililer::*}
        send "{@p} &aYetkililer menüsü başarıyla temizlendi!"

Kod:
command /kelimeoyunu:
    permission: sk.admin
    permission message: &csunucuadı &7» &cBu komutu kullanabilmek için yetkin yok.
    trigger:
        set {kodlar} to a random integer between 1 and 999999999999
        set {kodlar.%{_kodgecici.%player%}%} to {kodlar}
        send all players title "&csunucuadı" with subtitle "&e▪ &bKelime Oyunu Baslıyor &e▪ &aHazır Olun &e▪" for 3 seconds
        wait 5 seconds
        set {kodBasladi} to true
        send all players title "&csunucuadı" with subtitle "&b▪ &e%{kodlar}% &b▪" for 10 seconds
on chat:
    if {kodBasladi} is true:
        if message is "%{kodlar}%":
            send all players title "&csunucuadı" with subtitle "&b▪ &e%player% &bKelime Oyununu &aKazandı &b▪" for 3 seconds
            set {kodBasladi} to false
            execute console command "give %player% 175 1 unbreaking:10 name:_&e&lSun&6&lCoin lore:&e&lSun&f&lOlia_&6&lCoini|&a&lEn_Degerli_Para_Birimidir|&b&lDegerli_Esyalar_Ile_Takaslanabilir|&e&l/warp_takas"
every 240 minute:
     execute console command "kelimeoyunu"
Kelime oyununu bu şekilde kullanabilirsin. Bir oyuncu mesajı yazdıktan 5 tick yani 0.25 saniye sonra kelime oyununu sonlandırdığı için aynı anda iki kişi kazanabiliyordu. Bunu kaldırdım. Ayrıca kırmızı yazı çıkmadığı için resimdeki hata değil uyarıdır. Uyarıda if satırından sonra bir şey yazmadığınız söylenmiş.


Kod:
command /tempbanban [<text>] [<text>] [<text>]:
    permission: essentials.ban
    permission message: &e&lSun&f&lOlia &7» &cBu komutu kullanmak için yetkin yok!
    trigger:
        if arg 1 is set:
            if arg 2 is set:
                if arg 3 is set:
                    execute console command "tempban %arg 1% %arg 2%"
                    broadcast "&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-"
                    broadcast "&e&lSun&f&lOlia &7» &b▪ &cBir Oyuncumuz Sunucudan Engellenmistir &b▪"
                    broadcast "&e&lSun&f&lOlia &7» &bEngelleyen Kişi &3» &4▪ &c&lKurucu &4▪ &e&l%player%"
                    broadcast "&e&lSun&f&lOlia &7» &bEngellenen Kişi &3» &b▪ &e%arg 1% &b▪"
                    broadcast "&e&lSun&f&lOlia &7» &bEngelleme Süresi &3» &b▪ &e%arg 2% &b▪"
                    broadcast "&e&lSun&f&lOlia &7» &bEngelleme Sebebi &3» &b▪ &e%arg 3% &b▪"
                    broadcast "&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-"
                else:
                    send "&e&lSun&f&lOlia &7» &bSebep yazmadın"
            else:
                send "&e&lSun&f&lOlia &7» &bSüre yazmadın"
        else:
            send "&e&lSun&f&lOlia &7» &bOyuncu ismi yazmadın"
          
command /mute [<text>] [<text>] [<text>]:
    permission: essentials.mute
    permission message: &e&lSun&f&lOlia &7» &cBu komutu kullanmak için yetkin yok!
    trigger:
        if arg 1 is set:
            if arg 2 is set:
                if arg 3 is set:
                    execute console command "emute %arg 1% %arg 2%"
                    broadcast "&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-"
                    broadcast "&e&lSun&f&lOlia &7» &b▪ &cBir Oyuncumuz Susturulmuştur &b▪"
                    broadcast "&e&lSun&f&lOlia &7» &bSusturan Kişi &3» &b▪ &aRehber &b▪ &e%player% &b▪"
                    broadcast "&e&lSun&f&lOlia &7» &bSusturulan Kişi &3» &b▪ &e%arg 1% &b▪"
                    broadcast "&e&lSun&f&lOlia &7» &bSusturulma Süresi &3» &b▪ &e%arg 2% &b▪"
                    broadcast "&e&lSun&f&lOlia &7» &bSusturulma Sebebi &3» &b▪ &e%arg 3% &b▪"
                    broadcast "&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-"
                else:
                    send "&e&lSun&f&lOlia &7» &bSebep yazmadın"
            else:
                send "&e&lSun&f&lOlia &7» &bSüre yazmadın"
        else:
            send "&e&lSun&f&lOlia &7» &bOyuncu ismi yazmadın"
          
command /sustur [<text>] [<text>] [<text>]:
    permission: sunolia.mute
    permission message: &e&lSun&f&lOlia &7» &cBu komutu kullanmak için yetkin yok!
    trigger:
        if arg 1 is set:
            if arg 2 is set:
                if arg 3 is set:
                    execute console command "emute %arg 1% %arg 2%"
                    broadcast "&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-"
                    broadcast "&e&lSun&f&lOlia &7» &b▪ &cBir Oyuncumuz Susturulmuştur &b▪"
                    broadcast "&e&lSun&f&lOlia &7» &bSusturan Kişi &3» &4▪ &c&lKurucu &4▪ &e&l%player% &4▪"
                    broadcast "&e&lSun&f&lOlia &7» &bSusturulan Kişi &3» &b▪ &e%arg 1% &b▪"
                    broadcast "&e&lSun&f&lOlia &7» &bSusturulma Süresi &3» &b▪ &e%arg 2% &b▪"
                    broadcast "&e&lSun&f&lOlia &7» &bSusturulma Sebebi &3» &b▪ &e%arg 3% &b▪"
                    broadcast "&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-&f&m-&e&m-"
                else:
                    send "&e&lSun&f&lOlia &7» &bSebep yazmadın"
            else:
                send "&e&lSun&f&lOlia &7» &bSüre yazmadın"
        else:
            send "&e&lSun&f&lOlia &7» &bOyuncu ismi yazmadın"
Yüzde işareti yanlış yere koyulmuş buyur düzelttim.
 
Son düzenleme:
Kod:
command /kelimeoyunu:
    permission: sk.admin
    permission message: &csunucuadı &7» &cBu komutu kullanabilmek için yetkin yok.
    trigger:
        set {kodlar} to a random integer between 1 and 999999999999
        set {kodlar.%{_kodgecici.%player%}%} to {kodlar}
        send all players title "&csunucuadı" with subtitle "&e▪ &bKelime Oyunu Baslıyor &e▪ &aHazır Olun &e▪" for 3 seconds
        wait 5 seconds
        set {kodBasladi} to true
        send all players title "&csunucuadı" with subtitle "&b▪ &e%{kodlar}% &b▪" for 10 seconds
on chat:
    if {kodBasladi} is true:
        if message is "%{kodlar}%":
            send all players title "&csunucuadı" with subtitle "&b▪ &e%player% &bKelime Oyununu &aKazandı &b▪" for 3 seconds
            set {kodBasladi} to false
            execute console command "give %player% 175 1 unbreaking:10 name:_&e&lSun&6&lCoin lore:&e&lSun&f&lOlia_&6&lCoini|&a&lEn_Degerli_Para_Birimidir|&b&lDegerli_Esyalar_Ile_Takaslanabilir|&e&l/warp_takas"
every 240 minute:
     execute console command "kelimeoyunu"
Kelime oyununu bu şekilde kullanabilirsin. Bir oyuncu mesajı yazdıktan 5 tick yani 0.25 saniye sonra kelime oyununu sonlandırdığı için aynı anda iki kişi kazanabiliyordu. Bunu kaldırdım. Ayrıca kırmızı yazı çıkmadığı için resimdeki hata değil uyarıdır. Uyarıda if satırından sonra bir şey yazmadığınız söylenmiş.
İşi profesyonellere bırakmalıyız elinize sağlık.
 
Çok teşekkür ederim. <3
devam etmekte olan baska bbir hatam daha varda discorddan istek attım detayları ve skript dosyasımı dc üzerinden vereceğim buradaki sorunum cozulmustur konu kilitlenebilir
 
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