F
Furkan Doğan
Ziyaretçi
Merhabalar;
Bu Konuda Daha Önce Yazmış Olduğum Sayı Tahmin Skriptinin Discord Versiyonunu Sizlerle Paylaşıyorum.
GEREKSİNİMLER;
- Vixio | Vixio Hakkında Bilgi Sahibi Olmak İçin;
GÖRSELLER;
Komutunuz; (Sistem 1-30 Arasında Sınırlı Değildir, Dilediğiniz Sayıları Seçebilirsiniz.)
Komutu Girdik Ve;
Bot Sayıyı Size Özelden Gönderir;
Ve Sayıyı Buluruz;
KOD
EK AÇIKLAMALAR;
- options'da Bulunan Ayarlar Doğru Biçimde Düzenlenmelidir, Aksi Halde Sistem Çalışmaz.
- Yazıları & Mesajları Dilediğiniz Gibi Değiştirebilirsiniz
İYİ FORUMLAR..
Bu Konuda Daha Önce Yazmış Olduğum Sayı Tahmin Skriptinin Discord Versiyonunu Sizlerle Paylaşıyorum.
GEREKSİNİMLER;
- Vixio | Vixio Hakkında Bilgi Sahibi Olmak İçin;
GÖRSELLER;
Komutunuz; (Sistem 1-30 Arasında Sınırlı Değildir, Dilediğiniz Sayıları Seçebilirsiniz.)
Komutu Girdik Ve;
Bot Sayıyı Size Özelden Gönderir;
Ve Sayıyı Buluruz;
KOD
Kod:
options:
p: !
botToken: "buraya yapıştır"
botName: "buraya yapıştır"
serverID: "buraya yapıştır"
on load:
if {@botName} parsed as bot is not set:
login to {@botToken} with name {@botName}
on unload:
logout {@botName}
discord command {@p}sayıtahmin <number> <number>:
trigger:
if event-member has permission manage server:
set {oyun} to a random integer between argument 1 and argument 2
set {oyun.%{_oyunbitti.%event-member%}%} to {oyun}
set {OyunBasladii} to true
make embed:
set author info of embed to an author named "Sayı Tahmin Etmece" with no url and icon icon of guild with id {@serverID}
set description of embed to "Tuttuğum Sayı **%argument 1%** Ve **%argument 2%** Sayıları Arasında, Bol Şans."
set color of the embed to color from rgb 255, 0, 0
send "Tuttuğum Sayı: **%{oyun}%**" to event-member with {@botName}
wait 1 minute
if {SayıBulundu} is false:
set {SayıBulundu} to true
make embed:
set author info of embed to an author named "Sayı Tahmin Etmece" with no url and icon icon of guild with id {@serverID}
set description of embed to "Kimse Sayıyı Bulamadı, Sayı: **%{oyun}%**."
set color of the embed to color from rgb 255, 0, 0
send last created embed to event-channel with {@botName}
on server message received seen by {@botName}:
if event-text is "%{oyun}%":
if {OyunBasladii} is true:
set {OyunBasladii} to false
set {SayıBulundu} to true
wait 0.1 second
make embed:
set author info of embed to an author named "Sayı Tahmin Etmece" with no url and icon icon of guild with id {@serverID}
set description of embed to "**%event-member%** Sayıyı Buldu, Sayı: **%{oyun}%**"
set color of the embed to color from rgb 255, 0, 0
send last created embed to event-channel with {@botName}
EK AÇIKLAMALAR;
- options'da Bulunan Ayarlar Doğru Biçimde Düzenlenmelidir, Aksi Halde Sistem Çalışmaz.
- Yazıları & Mesajları Dilediğiniz Gibi Değiştirebilirsiniz
İYİ FORUMLAR..