Çözüldü Kısaltmaları Uzaltma

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

FurkanHanPvp

Bir Kömür Göründü Kaptanım!
Katılım
19 Temmuz 2019
Mesajlar
158
Elmaslar
13
Puan
0
Yaş
26
Minecraft
FurkanHanPvp

Discord:

FurkanHan#3281

on chat:
replace all "sa" with "Selamun Aleyküm" in the message


bu skriptte şöyle bir sorun var mesela salam yazdık selamun aleykümlam çıkıyo Sadece sa kelimesine uygun olcak şekilde ayarlarmısnız içinde sa olan kelimelerde bozulmasın lütfen
 
ne alaka açıklarmısnız yada skripti yapın lazım
 
Kod:
on chat:
    replace all "sa" with "Selamun Aleyküm" in the message
    replace all "as" with "Aleyküm Selam" in the message
    replace all "gg" with "İyi oyundu" in the message
    replace all "kg" with "Kolay gelsin" in the message
    replace all "eyw" or "eyv" with "EyvAllah" in the message
    replace all "kb" "k.b" with "kusuruma bakma" in the message
    replace all "krds" with "kardes" in the message
    replace all "hg" with "Hos geldin" in the message
    replace all "hb" with "Hos buldum" in the message
    replace all "hyr" with "Hayır" in the message
    replace all "tm" with "Tamam" in the message
    replace all "tmm" with "Tamam" in the message
    replace all "ok" with "Tamam" in the message
    replace all "oky" with "Tamam" in the message
    replace all "okay" with "Tamam" in the message
    replace all "okey" with "Tamam" in the message
    replace all "yes" with "Evet" in the message
    replace all "no" with "Hayır" in the message
    replace all "ztn" with "Zaten" in the message
    replace all "sn" with "Sen" in the message
    replace all "bn" with "Ben" in the message
    replace all "evt" with "Evet" in the message
    replace all "olmz" with "Olmaz" in the message
 
Kod:
on chat:
    replace all "sa" with "Selamun Aleyküm" in the message
    replace all "as" with "Aleyküm Selam" in the message
    replace all "gg" with "İyi oyundu" in the message
    replace all "kg" with "Kolay gelsin" in the message
    replace all "eyw" or "eyv" with "EyvAllah" in the message
    replace all "kb" "k.b" with "kusuruma bakma" in the message
    replace all "krds" with "kardes" in the message
    replace all "hg" with "Hos geldin" in the message
    replace all "hb" with "Hos buldum" in the message
    replace all "hyr" with "Hayır" in the message
    replace all "tm" with "Tamam" in the message
    replace all "tmm" with "Tamam" in the message
    replace all "ok" with "Tamam" in the message
    replace all "oky" with "Tamam" in the message
    replace all "okay" with "Tamam" in the message
    replace all "okey" with "Tamam" in the message
    replace all "yes" with "Evet" in the message
    replace all "no" with "Hayır" in the message
    replace all "ztn" with "Zaten" in the message
    replace all "sn" with "Sen" in the message
    replace all "bn" with "Ben" in the message
    replace all "evt" with "Evet" in the message
    replace all "olmz" with "Olmaz" in the message
Bu skriptte şöle sıkıntı oluo dedim salam yazdık Selamun Aleykümlam çıkıyor bunu çözün demiştim ama
 
Kod:
on chat:
    message contains "sa":
        cancel event
        send "Selamun Aleykum" to players
 
Kod:
on chat:
    if message is "sa":
        cancel event
        send "Selamun Aleyküm" to all players
Skript kullanmanı önermiyorum.
 
Arkadaşın sorununu kimse anlamamış anlaşın, aşağıdaki kodu deneyebilirsiniz!

Kod:
on chat:
    set {_chat::*} to message split at " "
    if {_chat::*} = "sa":
        replace all "sa" with "Selamun aleyküm" in the {_chat::*}
        set message to {_chat::*}
 
Son düzenleme:
Arkadaşın sorununu kimse anlamamış anlaşın, aşağıdaki kodu deneyebilirsiniz!

Kod:
on chat:
    set {_chat::*} to message split at " "
    loop {_chat::*}:
        if {_chat::*} = "sa":
            replace all "sa" with "Selamun aleyküm" in the {_chat::*}
            set message to {_chat::*}
 
bu skript hata verdi ama
 
Aynı sorunu bende yaşıyordum şu skripti kullan

Kod:
on chat:
    if message is "sa" or "s.a":
        set message to "Selamun Aleyküm"
    else if message is "as" or "a.s":
        set message to "Aleyküm Selam"
    else if message is "ve a.s" or "ve as":
        set message to "Ve Aleyküm Selam"
        
on chat:
    if message is "hg" or "h.g":
        set message to "Hoşgeldin."
    else if message is "hb" or "h.b":
        set message to "Hoşbuldum."

on chat:
    if message is "kg" or "k.g":
        set message to "Kolay Gelsin."
    else if message is "ho" or "h.o":
        set message to "Hayırlı Olsun."
        
on chat:
    if message is "as hg" or "a.s h.g":
        set message to "Aleyküm Selam Hoşgeldin."
    else if message is "knk" or "kank":
        set message to "Kankacım"
        
on chat:
    if message is "lan" or "laan":
        set message to "Mübarek Kardeşim
 
sen kralsın sağol
 
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