Solved Error effect

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

EvilSlayer

Member
Dec 23, 2020
21
1
3
21
unknown.png

Skript:
Code:
options:
    bot: Program
    token:
    botname: Program

on join:
    login to "{@token}" with the name "{@botname}"
    mark "{@bot}" as playing "%number of players% kişi"

on quit:
    login to "{@token}" with the name "{@botname}"
    mark "{@bot}" as playing "%number of players% kişi"   
 

on chat:
    send ":loudspeaker: %player%: %message%" to channel with id "channelid" with {@bot}

discord command /konsol [<text>]:
    trigger:
        if event-member has permission manage server:
            if arg-1 is set:
                execute console command "%arg-1%"
                reply with ":white_check_mark: Komutu başarıyla konsola gönderdim!"
            else:
                reply with ":x: Birşey göndermen gerek. "
        else:
            reply with ":x: Bu komut için gereken izinlere sahip değilsin, %mention tag of event-user%!"

discord command /sunucudurum:
    trigger:
        create embed:
            set description of the embed to ":fire: **Irongard** Sunucu Bilgileri"
            set color of the embed to color from rgb 255, 0, 0
            add field named ":notebook_with_decorative_cover: Sürüm" with value "" to embed
            add field named "{@sürüm}" with value "" to embed
            add field named ":trophy: Aktif Oyuncu" with value "" to embed
            add field named "%number of all players%/100" with value "%{list::*}%" to embed
        send the last created embed to event-channel with {@bot}
 
Do you have vixio? This is what works for me
Code:
on skript load:
    login to "{@token}" with name "{@bot}"

command /test:
    trigger:
        send "test" to channel with id "{@channelID}" with "{@bot}"
you also need to define the option {@surum} (i dont have the dots on my u's), and for the embed, i believe you use `send last created embed to event-channel with {@bot}`, however im not too sure on that one:emoji_slight_smile:
 
Do you have vixio? This is what works for me
Code:
on skript load:
    login to "{@token}" with name "{@bot}"

command /test:
    trigger:
        send "test" to channel with id "{@channelID}" with "{@bot}"
you also need to define the option {@surum} (i dont have the dots on my u's), and for the embed, i believe you use `send last created embed to event-channel with {@bot}`, however im not too sure on that one:emoji_slight_smile:
not working this diffrent
 
Status
Not open for further replies.