Bulundu Birisi susturuldugunda chatte x kişisi x sure x nedeniyle susturuldu yazsın

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

EnesE

Mad?
Katılım
24 Ocak 2021
Mesajlar
471
Elmaslar
169
Puan
2.860
Minecraft
Girrk

Discord:

Enes?#3565

Selamlar Birisi susturuldugunda chatte x kişisi x sure x nedeniyle susturuldu yazsın istiyorum örneğin :
resim_2021-02-04_154001.png

Şimdiden teşekkürler :)
 
Biraz araştırın artık.

 
Araştırdım tabiki -3ıq değilim Allah'a şükür fakat ordaki arkadaş mute scriptini sıfırdan yapmış benim zaten mute scriptim var :)
 
Konuda skriptin olduğunu belirtmemiş, ekleme yapmamız için skriptini paylaşmamışsın
 
Essentialsın mutesini kullanıyorum diye hatırlıyorum
 
JavaScript:
command /mute [<text>] [<int>] [<text>]:   
    trigger:
        if arg-1 is set:
            if arg-2 is set:
                if arg-3 is set:
                    send ""
                    send "----------------------"
                    send "Susturan kişi: %player%"
                    send "Susturulan kişi: %arg-1%"
                    send "Süre: %arg-2%"
                    send "Sebep: %arg-3%"
                    send "----------------------"
                else:
                    send "Doğru kullanım: /mute oyuncu süre sebep"
 
Teşekkürler :) deneyince söyleyeceğim
 
JavaScript:
command /mute [<text>] [<int>] [<text>]: 
    trigger:
        if arg-1 is set:
            if arg-2 is set:
                if arg-3 is set:
                    send ""
                    send "----------------------"
                    send "Susturan kişi: %player%"
                    send "Susturulan kişi: %arg-1%"
                    send "Süre: %arg-2%"
                    send "Sebep: %arg-3%"
                    send "----------------------"
                else:
                    send "Doğru kullanım: /mute oyuncu süre sebep"
Teşekkürler çalıışıyor (Düzeltme yapıyorum Çalışmıyor)
 
Son düzenleme:
Chatten mutelendi geliyor fakat mutelenmiyor
 
JavaScript:
command /sustur [<text>] [<int>] [<text>]: 
    trigger:
        if arg-1 is set:
            if arg-2 is set:
                if arg-3 is set:
                    execute player command "mute %arg-1% %arg-2% %arg-3%"
                    send ""
                    send "----------------------"
                    send "Susturan kişi: %player%"
                    send "Susturulan kişi: %arg-1%"
                    send "Süre: %arg-2%"
                    send "Sebep: %arg-3%"
                    send "----------------------"
                else:
                    send "Doğru kullanım: /sustur oyuncu süre sebep"
Komudu sustur olarak değiştirdim şöyle bir deneyin.
 
Bunu yazdıgımzıda sadece yazı gelicek mute olmayacak gene mantıken ?
 
execute console command "essentials:mute %arg-1% %arg-2% %arg-3%"

Şeklinde dener misin?
 
Kod:
options:
    p: SERVER

command sustur [<offline player>] [<text>] [<text>]:
    permission: genel.sustur
    trigger:
        if arg-1 is set:
            if arg-2 is set:
                if arg-3 is set:
                    execute console command "essentials:mute %arg 1% %arg 2%"
                    set {_time} to zaman(arg-2)
                    send "{@p} &a%arg-1% &7, &e%{_time}% &7boyunca %arg-3% sebebiyle susturma cezası aldı." to all players
                    log "%now% - %player% isimli yetkili %arg-1% adlı oyuncuyu %{_time}% boyunca %arg-3% nedeniyle susturdu." to "moderasyon"
                else:
                    send "{@p} &7Kullanım: &d/sustur <Oyuncu> <Süre> <Sebep>" to player
            else:
                send "{@p} &7Kullanım: &d/sustur <Oyuncu> <Süre> <Sebep>" to player
        else:
            send "{@p} &7Kullanım: &d/sustur <Oyuncu> <Süre> <Sebep>" to player


function zaman(t: text) :: text:
    set {_t} to "%{_t}%"
    replace all "s" with " saniye" in {_t}
    replace all "d" with " gün" in {_t}
    replace all "m" with " dakika" in {_t}
    replace all "h" with " saat" in {_t}
    return {_t}
 
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