Foruma hoş geldin 👋, Ziyaretçi

Forum içeriğine ve tüm hizmetlerimize erişim sağlamak için foruma kayıt olmalı ya da giriş yapmalısınız. Foruma üye olmak tamamen ücretsizdir.

Paylaşım Minecraft Bilmece Sistemi script

Paylaşım

zody

King
Moderatör
Katılım
19 Tem 2024
Mesajlar
1,401
Tepkime puanı
21
Puanları
0
Kod:
options:
    Prefix: !
    Token: "Buraya Yapıştırın"
    Bot: "Buraya Yapıştırın"

on load:
    if {@Bot} parsed as bot is not set:
        login to {@Token} with name {@Bot}   
  
on unload:
    logout {@Bot}
 
discord command {@Prefix}bilmece [<text>] [<text>] [<integer>]:
    trigger:
        if event-member has permission manage server:
            purge the event-message with {@Bot}
            set {channel} to discord id of event-channel
            discordBilmece(args 1, args 2, args 3)
            
function discordBilmece(cevap: text, ipucu: text, sure: integer):
    if {_cevap} is set:
        if {_ipucu} is set:
            if {_sure} is set:
                set {oyunbasladi} to true
                set {kelimebulundu} to false               
                set {sure} to {_sure}
                set {cevap} to {_cevap}               
                make embed:
                    set title of embed to title with text "Bilmece Oyunu Başlatıldı!"
                    set description of embed to "%nl%:question:**Soru;**%nl%```%{_ipucu}%```%nl%%nl%:alarm_clock:**Süre;**%nl%```%{sure}% Saniye```%nl%%nl%:pencil2:Süre Başladı, Bol Şans."
                    set color of embed to brown
                send last created embed to channel with ID "%{channel}%" with {@Bot}
                wait 1 second
                loop {_sure} times:
                    if {kelimebulundu} is false:                   
                        wait 1 second
                        add -1 to {sure}
                if {kelimebulundu} is false:                       
                    make embed:
                        set title of embed to title with text "Bilmece Oyunu"
                        set description of embed to "%nl%:alarm_clock:Süre Doldu, Kimse Cevabı Bulamadı..%nl%%nl%:question:**Cevap;**%nl%```%{cevap}%```"
                        set color of embed to brown
                    send last created embed to channel with ID "%{channel}%" with {@Bot}
                    set {oyunbasladi} to false
            else:
                send "Bir Süre Belirtmelisiniz." to channel with ID "%{channel}%" with {@Bot}                 
        else:
            send "Bilmecenin Cevabı Hakkında Biraz Bilgi Vermelisiniz." to channel with ID "%{_channel}%" with {@Bot}               
    else:
        send "Bilinecek Kelimeyi Yazmalısınız." to channel with ID "%{channel}%" with {@Bot}               
            
on server message received seen by {@Bot}:
    if event-text is "%{cevap}%":
        if {oyunbasladi} is true:
            set {kelimebulundu} to true
            wait 0.1 second           
            make embed:
                set title of embed to title with text "Bilmece Oyunu"
                set description of embed to "%nl%:bulb: %mention tag of event-member% Cevabu Buldu!%nl%%nl%:question:**Cevap;**%nl%```%{cevap}%```"
                set color of embed to brown
            send last created embed to event-channel with {@Bot}
            delete {channel}
 

Bu konuyu görüntüleyenler

Tema özelleştirme sistemi

Bu menüden forum temasının bazı alanlarını kendinize özel olarak düzenleye bilirsiniz.

Zevkine göre renk kombinasyonunu belirle

Tam ekran yada dar ekran

Temanızın gövde büyüklüğünü sevkiniz, ihtiyacınıza göre dar yada geniş olarak kulana bilirsiniz.

Sidebar blogunu kapat/aç

Forumun kalabalığında kurtulmak için sidebar (kenar çubuğunu) açıp/kapatarak gereksiz kalabalıklardan kurtula bilirsiniz.

Yapışkan sidebar kapat/aç

Yapışkan sidebar ile sidebar alanını daha hızlı ve verimli kullanabilirsiniz.

Radius aç/kapat

Blok köşelerinde bulunan kıvrımları kapat/aç bu şekilde tarzını yansıt.

Foruma hoş geldin 👋, Ziyaretçi

Forum içeriğine ve tüm hizmetlerimize erişim sağlamak için foruma kayıt olmalı ya da giriş yapmalısınız. Foruma üye olmak tamamen ücretsizdir.