Sol Banner
Sağ Banner

Mute Skriptim Çalışmıyor.

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

denizzeybek

Seçkin madenci.
Katılım
5 Ocak 2019
Mesajlar
18
Tepki puanı
4
Puanları
1,155
Konum
İzmir
Merhabalar , sunucumdaki mute skriptinde bir hata var ve sorunun ne olduğunu çözemedim. Chat'de yazılar çıkıyor ama mute attığım kişi konuşmaya devam edebiliyor . Sorunu çözmeme yardımcı olabilir misiniz ?
Kod:
command /mute [<text>] [<text>] [<text>]:
    trigger:
        execute player command "/sus %arg 1% %arg 2% %arg 3%"
command /sus [<text>] [<text>] [<text>]:
    permission: sk.mute.sus
    permission message: &cBu komutu kullanamazsin.
    trigger:
        execute console command "/emute %arg 1% %arg 2%"
        broadcast " "
        broadcast " &8» &2Yetkili: &b%player%"
        broadcast " &8» &2Susturulan: &3%arg 1%"
        broadcast " &8» &2Sure: &e%arg 2%"
        broadcast " &8» &2Sebep: &e%arg 3%"
        broadcast " "
 

DarkSad

Kaşif
İçerik Yöneticisi
Editor Şefî
İçerik Paylaşım Ekibi
Katılım
17 Ekim 2019
Mesajlar
178
Tepki puanı
86
Puanları
1,305
Konum
İstanbul
Kod:
command /mute [<offlineplayer>] [<text>] [<text>]:
    aliases: sustur
    permission: essentials.mute
    permission message: {@noperm}
    trigger:
        if arg 1 is set:
            if arg 2 is set:
                set {_sure} to arg-2
                if arg-2 contains "10y" or "30y":
                    replace all "10y" with "Sınırsız" in {_sure}
                    replace all "30y" with "Sınırsız" in {_sure}
                if arg-2 contains "m":
                    replace all "m" with " Dakika" in {_sure}
                if arg-2 contains "h":
                    replace all "h" with " Saat" in {_sure}
                if arg-2 contains "y":
                    replace all "y" with " Yıl" in {_sure}
                if arg-2 contains "w":
                    replace all "w" with " Hafta" in {_sure}
                if arg-2 contains "s":
                    replace all "s" with " Saniye" in {_sure}
                if arg-2 contains "mo":
                    replace all "mo" with " Ay" in {_sure}
                if arg-2 contains "d":
                    replace all "d" with " Gün" in {_sure}
                    send "&7&m--------&r&e« &bRiseOfSky &e»&7&m--------" to all players
                send "&aSusturulan Oyuncu: &f%arg 1%" to all players
                send "&aSusturan Kişi: &r%player's display name%" to all players
                send "&aSüre: &f%{_sure}%" to all players
                if arg-3 is set:
                    send "&aSebep: &f%arg 3%" to all players
                    send "&7&m--------&r&e« &bRiseOfSky &e»&7&m--------" to all players
                    execute console command "essentials:mute %arg 1% %arg 2%"
                else:
                    send "&aSebep: &fBelirtilmedi" to all players
                    send "&7&m--------&r&e« &bRiseOfSky &e»&7&m--------" to all players
                    execute console command "essentials:mute %arg 1% %arg 2%"
            else:
                send "&eRiseOfSky &8&l» &cSüre girmelisin." to player
        else:
            send "&eRiseOfSky &8&l» &cOyuncu ismi girmelisin."
 

denizzeybek

Seçkin madenci.
Katılım
5 Ocak 2019
Mesajlar
18
Tepki puanı
4
Puanları
1,155
Konum
İzmir
Kod:
command /mute [<offlineplayer>] [<text>] [<text>]:
    aliases: sustur
    permission: essentials.mute
    permission message: {@noperm}
    trigger:
        if arg 1 is set:
            if arg 2 is set:
                set {_sure} to arg-2
                if arg-2 contains "10y" or "30y":
                    replace all "10y" with "Sınırsız" in {_sure}
                    replace all "30y" with "Sınırsız" in {_sure}
                if arg-2 contains "m":
                    replace all "m" with " Dakika" in {_sure}
                if arg-2 contains "h":
                    replace all "h" with " Saat" in {_sure}
                if arg-2 contains "y":
                    replace all "y" with " Yıl" in {_sure}
                if arg-2 contains "w":
                    replace all "w" with " Hafta" in {_sure}
                if arg-2 contains "s":
                    replace all "s" with " Saniye" in {_sure}
                if arg-2 contains "mo":
                    replace all "mo" with " Ay" in {_sure}
                if arg-2 contains "d":
                    replace all "d" with " Gün" in {_sure}
                    send "&7&m--------&r&e« &bRiseOfSky &e»&7&m--------" to all players
                send "&aSusturulan Oyuncu: &f%arg 1%" to all players
                send "&aSusturan Kişi: &r%player's display name%" to all players
                send "&aSüre: &f%{_sure}%" to all players
                if arg-3 is set:
                    send "&aSebep: &f%arg 3%" to all players
                    send "&7&m--------&r&e« &bRiseOfSky &e»&7&m--------" to all players
                    execute console command "essentials:mute %arg 1% %arg 2%"
                else:
                    send "&aSebep: &fBelirtilmedi" to all players
                    send "&7&m--------&r&e« &bRiseOfSky &e»&7&m--------" to all players
                    execute console command "essentials:mute %arg 1% %arg 2%"
            else:
                send "&eRiseOfSky &8&l» &cSüre girmelisin." to player
        else:
            send "&eRiseOfSky &8&l» &cOyuncu ismi girmelisin."
Maalesef buda çalışmadı :/
 

denizzeybek

Seçkin madenci.
Katılım
5 Ocak 2019
Mesajlar
18
Tepki puanı
4
Puanları
1,155
Konum
İzmir
Büyük ihtimalle sen de sıkıntı var ben de çalıştı, Skriptin sürümünü yenile /Sk Reload yap ve eklentileri kontrol et.
sk reload yaptım hatta sunucuda advanced ban olduğu için mute skriptini silerek bile denedim ama hiç bir şekilde mutelenmiyorlar. Hiç bir şey anlamadım bu işten.
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Yeni Mesajlar


Üst