Bulundu Mesaj Siliniyor

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

Crypton

Örümcek Hoşt!
Katılım
7 Mayıs 2020
Mesajlar
352
Elmaslar
110
Puan
1.560
Yaş
27
Konum
Danimarka - Kopenhag
Minecraft
Crypton

Discord:

Crypton#0161

Kod:
options:
    p: &6&lSKYBLOCK &8►
    botToken: "*" #botun tokeni
    botName: "SANCAK BOT" #Bot ismi
    channelID: "747115626069491712" #Doğrulama yapacağı kanalın ID'si
    verilecekrolID: "747115778486173726" #Hesabı doğrulayınca verecek röl ID'si
    
on load:
    if {@botName} parsed as bot is not set:
        login to {@botToken} with name {@botName}
command /dc [<text>] [<offlineplayer=%player%>]:
    aliases: /discord
    trigger:
        if arg-1 is "doğrula":
            if {dogrulamaSistemi::oyuncular::%player%::dcID} isn't set:
                if {dogrulamaSistemi::oyuncular::%player%::kodAldı} isn't set:
                    set {_code} to random string matching "!doğrula [A-Za-z0-9]{9}"
                    set {dogrulamaSistemi::kodlar::%{_code}%} to player
                    set {dogrulamaSistemi::oyuncular::%player%::kodAldı} to {_code}
                    send "&7&l&m--------------------------------" to player
                    send "&f    &8〘 &e⋆ &6%{_code}% &e⋆ &8〙" to player
                    send ""
                    send "&fDiscord sunucumuzdaki &adoğrulama &fkanalına kodu " to player
                    send "&fyazdığında işlem tamamlanacaktır." to player
                    send ""
                    send "&8〖 &fEğer &c5 &fdakika içerisinde kodu kullanmazsan kod iptal edilir. &8〗" to player
                    send "&7&l&m--------------------------------" to player
                    wait 5 minutes
                    if {dogrulamaSistemi::oyuncular::%player%::kodAldı} is set:
                        delete {dogrulamaSistemi::kodlar::%{dogrulamaSistemi::oyuncular::%player%::kodAldı}%}
                        delete {dogrulamaSistemi::oyuncular::%player%::kodAldı}
                        send "{@p} &fDoğrulama Kodunu Kullanmadığın İçin İptal Edildi."
                else:
                    send "&7&l&m--------------------------------" to player
                    send "&f  &8〘 &e⋆ &6%{dogrulamaSistemi::oyuncular::%player%::kodAldı}%&r %last character of nl% &e⋆ &8〙" to player
                    send ""
                    send " &fDiscord sunucumuzdaki &ahesap-doğrula &fkanalına kodu" to player
                    send " &fyazdığınızda işlem tamamlanacaktır." to player
                    send ""
                    send "  &8〖 &fEğer &c1 &fdakika içerisinde kodu kullanmazsan kod iptal edilir. &8〗" to player
                    send "&7&l&m--------------------------------" to player
            else:
                send "{@p} &cBaşarıyla &eDiscord sunucumuzda hesabın doğrulanmış."
        else if arg-1 is "bilgi":
            if {dogrulamaSistemi::oyuncular::%arg-2%::dcID} is set:
                send "{@p} &8〘 &2⋆ &a%arg-2% &2⋆ &8〙 &fadlı oyuncu Discord sunucumuzda hesabını doğrulamış!"
            else:
                send "{@p} &8〘 &4⋆ &c%arg-2% &4⋆ &8〙 &fadlı oyuncu hesabını Discord sunucumuza bağlamamış!"
        else:
            send ""
            send "                        &9▇▇▇▇▇▇▇▇"
            send "                        &9▇&f▇▇&9▇▇&f▇▇&9▇"
            send "                        &9▇&f▇▇▇▇▇▇&9▇         "
            send "                        &9▇&f▇&9▇&f▇▇&9▇&f▇&9▇"
            send "                        &9▇&f▇▇▇▇▇▇&9▇  "
            send "                        &9▇&f▇&9▇▇▇▇&f▇&9▇"
            send "                        &9▇&f▇▇&9▇▇&f▇▇&9▇"
            send "                        &9▇▇&9▇▇▇▇▇▇"
            send ""
            send "       &2→ &a&lSANCAK CUBE  DISCORD SISTEMI &2←"
            send "                      &c<tooltip:&fBuraya tıklayarak &9Discord &fsunucumuza katılabilirsiniz!><link:https://discord.gg/uZSBNwC>&c&n&oKatılmak için tıkla!<reset>"
            send ""
            send "&8〘 &e⋆ &6/dc bilgi &e⋆ &8〙&fHesabınızın bağlanıp bağlanmadığını gösterir."
            send ""
            send "&8〘 &e⋆ &6/dc doğrula &e⋆ &8〙&fMinecraft hesabını discord sunucumuzda doğrular&7."
            send ""
            send " &fHesabınızı doğrulayarak &c1 &fadet &bSpawner ve Anahtar &fkasa anahtarı &fkazanabilirsiniz!"
            send ""
 
on server message received seen by {@botName}:
    if discord id of event-channel is {@channelID}:
        delete event-message
        if {dogrulamaSistemi::kodlar::%event-message%} is set:
            set {dogrulamaSistemi::oyuncular::%{dogrulamaSistemi::kodlar::%event-message%}%::dcID} to discord id of event-user
            add role with id {@verilecekrolID} to roles of event-member in event-guild
            send "Hesabın doğrulandı %mention tag of event-user%! Oyun içi ismin: **%{dogrulamaSistemi::kodlar::%event-message%}%**" to event-channel with {@botName} and store the message in {_var}
            wait 30 seconds
            purge {_var} with {@botName}
            send "{@p} &fHesabın &a%event-user% &file bağlandı. &fHesabınızı discord sunucumuz ile bağladığınız için &b3 adet AVIP+ kasası&f, &d3 adet Coin kasası &fve &e256 adet Kuvars Cevheri &fkazandınız." to {dogrulamaSistemi::kodlar::%event-message%}
            execute console command "crazycrates give p vote 1 %{dogrulamaSistemi::kodlar::%event-message%}%"
            execute console command "crazcrates give p blok 1 %{dogrulamaSistemi::kodlar::%event-message%}%"
            execute console command "eco give 1000 %{dogrulamaSistemi::kodlar::%event-message%}% 153 256"
            delete {dogrulamaSistemi::oyuncular::%{dogrulamaSistemi::kodlar::%event-message%}%::kodAldı}
            delete {dogrulamaSistemi::kodlar::%event-message%}
            
on unload:
    logout {@botName}

bu şekil bir discord hesap doğrulamam skriptim var hesabı doğrulayınca bot hesabın doğrulandı diyor ama doğrulandıktan belli bir süre sonra doğrulandı mesajı kanalda siliniyor silinmesini istemiyorum.
 
Selamlar. on server message received seen by eventinde;
Şu kısmı silerseniz olucaktır:
wait 30 seconds
purge {_var} with {@botName}
 
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