Sol Reklam
Sağ Reklam

Çözüldü Acil yardım Bilgililer içeri Vixio ile ilgili

Durum
Mesaj gönderimine kapalı.

LimonYiyenAdam

Koydum Çalışma Masasını
Katılım
8 Ekim 2017
Mesajlar
68
Elmaslar
1
Puanlar
0
Yaş
25
aşşagıdaki kod yerine alternatif olarak ne kullanabilirim aşşagıdaki kodda hata veriyor

if id of event-channel is {@channelID}:


Hata;

Kod:
[21:21:19 INFO]: [Skript] Reloading test.sk...
[21:21:19 ERROR]: event-types.channel is not an item type (test.sk, line 14: if
id of event-channel is {@channelID}:')
[21:21:19 INFO]: [Skript] Encountered 1 error while reloading test.sk!


KOD:

Kod:
options:
    Token: "********"
    isim: "TEST"
    channelID: "********"


on skript load:
   login to {@Token} with name {@isim}
   set status of {@isim} to online

on message receive:
    if id of event-channel is {@channelID}:
        execute console command "say MTB"
 
Son düzenleme:

Red28

Deneme Yazar..

Discord:

Minik Maskeli#0330

Katılım
28 Mart 2020
Mesajlar
139
Elmaslar
100
Puanlar
2.330
Minecraft
HiTech28
direk skripti atarsanız daha rahat olabilir
....
Hayırlı forumlar
 

EylexLive

Örümcek Hoşt!

Discord:

Umut Erarslan#8378

Katılım
10 Ağustos 2017
Mesajlar
347
Elmaslar
110
Puanlar
7.110
Yer
Ankara
Minecraft
UmutErarslan_
discord id of event-channel deneyin.
 

LimonYiyenAdam

Koydum Çalışma Masasını
Katılım
8 Ekim 2017
Mesajlar
68
Elmaslar
1
Puanlar
0
Yaş
25

Red28

Deneme Yazar..

Discord:

Minik Maskeli#0330

Katılım
28 Mart 2020
Mesajlar
139
Elmaslar
100
Puanlar
2.330
Minecraft
HiTech28
if koydunuzmu başına? beni aşar bu discord fln ama başa if koyulucak heralde :))
 

LimonYiyenAdam

Koydum Çalışma Masasını
Katılım
8 Ekim 2017
Mesajlar
68
Elmaslar
1
Puanlar
0
Yaş
25

Red28

Deneme Yazar..

Discord:

Minik Maskeli#0330

Katılım
28 Mart 2020
Mesajlar
139
Elmaslar
100
Puanlar
2.330
Minecraft
HiTech28
Kod:
options:
    Token: "********"
    isim: "&4[&cDeneme&4]"
    channelID: "********"


on skript load:
   login to {@Token} with name {@isim}
   set status of {@isim} to online
 
on message receive:
    if discord id of event-channel is {@channelID}:
        execute console command "say MTB"
Gönderi otomatik olarak birleştirildi:

aynısı belki ama ..
ifle başluyor
Gönderi otomatik olarak birleştirildi:

hmm cvp atmışınız :D araştırıyorum şuan....
 

LimonYiyenAdam

Koydum Çalışma Masasını
Katılım
8 Ekim 2017
Mesajlar
68
Elmaslar
1
Puanlar
0
Yaş
25
Kod:
options:
    Token: "********"
    isim: "&4[&cDeneme&4]"
    channelID: "********"


on skript load:
   login to {@Token} with name {@isim}
   set status of {@isim} to online

on message receive:
    if discord id of event-channel is {@channelID}:
        execute console command "say MTB"
Gönderi otomatik olarak birleştirildi:

aynısı belki ama ..
ifle başluyor
Gönderi otomatik olarak birleştirildi:

hmm cvp atmışınız :D araştırıyorum şuan....
Teşekkürler dostum <3
 

Red28

Deneme Yazar..

Discord:

Minik Maskeli#0330

Katılım
28 Mart 2020
Mesajlar
139
Elmaslar
100
Puanlar
2.330
Minecraft
HiTech28
https://github.com/Blueyescat/Discord-Bot-Skript
işinize yaradıysa elmas atmayı unutmayınız...
iyi forumlar
Gönderi otomatik olarak birleştirildi:

@LimonYiyenAdam
Gönderi otomatik olarak birleştirildi:

turkish ve readme lazım size heralde
onları skript içine atılıcak heralde vixio addonu nasıl kullanılıyor bilmiyorum:))
Gönderi otomatik olarak birleştirildi:

Kod:
Skip to content
Why GitHub?
Enterprise
Explore
Marketplace
Pricing
Search

Sign in
Sign up
Blueyescat
/
Discord-Bot-Skript
454
 Code Issues 0 Pull requests 0 Actions Security Insights
Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.

Discord-Bot-Skript/Turkish.sk
@Blueyescat Blueyescat Update to Vixio 2.0.1
fe92be6 on 15 Aug 2019
90 lines (81 sloc)  3.43 KB
 
# ###############################################################################
# Blueyescat tarafından Skript ile Discord Botu örneği
#
# Güzel bir evaluate sistemi içeriyor.
#
# Vixio ve TuSKe Skript addonları gerektirir
# ###############################################################################

options:
    # Bot Tokeni
    #
    # Botunun tokenini buradan alabilirsin: https://discordapp.com/developers
    token: "MjE2OTIxNDEyNzgxMjExNjQ4.xXXXxxxXXxXxXXXxXXxxxXxxXXxxXxXXXXxxXxxXXXxxxx"
    
    # Değiştirilmesi önemli değil (Discord'daki kullanıcı adı değil) ve iki değer de aynı olmalı
    bot: "BotName"
    botName: BotName
    
    # Komut Önekleri
    #
    # Eğer komut öneklerinde emoji kullanmak istiyorsan, bu emojilerin unicode karakterlerini buradan al: https://emojipedia.org
    # Örnek olarak Discord'da :apple: emojisi: "?"
    #
    # Eğer botunun etiketini kullanmak istiyorsan: <@id>
    prefixes: !
    
    # Yönetici kullanıcıların 18 haneli Discord ID'leri
    #
    # Birden fazla yönetici için listede "and" yerine "or" kullanmalısın.
    admins: "012345678910111213", "312111019876543210" or "981713114610522013"

on load:
    if {@bot} parsed as bot is not set:
        login to {@token} with name {@bot}
    set status of {@bot} to online

on unload:
    set status of {@bot} to do not disturb

discord command evaluate <text>:
    aliases: eval
    prefixes: {@prefixes}
    bots: {@botName}
    trigger:
        if discord id of event-user is {@admins}:
            set {_code} to regex replace "^\s+" with "" in arg-1
            if first 3 characters of {_code} is "```":
                if last 3 characters of {_code} is "```":
                    if first 5 characters of {_code} is "```vb": # Kod bloklarında VB.Net dili desteği
                        set {_code} to subtext of {_code} from character 7 to (length of {_code} - 3)
                    else:
                        set {_code} to subtext of {_code} from character 4 to (length of {_code} - 3)
                else:
                    create embed:
                        set description of the embed to ":x: Geçersiz kod bloğu!"
                        set color of the embed to color from rgb 255, 0, 0
                    reply with the last created embed
                    stop
            
            evaluate logging in {_errors::*}: {_code}
            if {_errors::*} is set:
                loop {_errors::*}:
                    set {_parse::*} to loop-value parsed as "%text% \(TuSKe\/evaluate.sk, line %integer%\: %text%'\)"
                    add "**Satır %{_parse::2}%:** *%{_parse::1}%*%nl%**>** ``%{_parse::3}%``" to {_lines::*}
                create embed:
                    set title of the embed to ":x: Evaluate Hataları(%size of {_errors::*}%)"
                    set description of the embed to join {_lines::*} with new line
                    set color of the embed to color from rgb 255, 0, 0
                reply with the last created embed
        else:
            reply with ":x: Bu komutu sadece yöneticiler kullanabilir!"

discord command purge <text>:
    aliases: purgemessages, clear, clearmessages
    prefixes: {@prefixes}
    executable in: guild
    bots: {@botName}
    trigger:
        if discord id of event-user is {@admins}:
            set {_count} to arg-1 parsed as number
            if {_count} is greater than 0:
                grab the last {_count} messages in event-channel
                purge the grabbed messages with event-bot
                reply with ":white_check_mark: Başarıyla %{_count}% mesaj temizlendi!" and store the message in {_message}
                wait 2 seconds
                delete random message of {_message} with event-bot
            else:
                reply with ":x: Kullanım:  **%used prefix%**%used command% **<**bir pozitif sayı**>**"
        else:
            reply with ":x: Bu komutu sadece yöneticiler kullanabilir!"
İşe yarar diye .sknın kodu::
 
Durum
Mesaj gönderimine kapalı.
Neden altınlarını Discord sunucumuzda kazmıyorsun? TIKLA VE KATIL!
Yukarı