Vixio skript not working

  • 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 community!

    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.

bobsilowski

Member
Apr 20, 2021
12
1
3
Code is not working and I am not sure how to solve. The error is: '%{discord::%discord id of event-member%::username}% with event-bot' is not a valid item data

Code:
discord command link [<text>]:
    prefixes: .
    trigger:
        if arg-1 is not set:
            reply with "Correct usage: .link <code>"
            stop
        if {code::%arg-1%} is not set:
            reply with "Invalid code"
            stop
        if {discord::%discord id of event-member%::username} is set:
            reply with "Account already linked"
            stop
        set {discord::%discord id of event-member%::username} to {code::%arg-1%}
        wait 1 second
        create embed:
            set color of the embed to Green
            set title of the embed to "Account Linked!"
            set the description of the embed to "Minecraft user: %{code::%arg-1%}% linked to Discord member: %event-user%"
        set {_embed} to last made embed
        send the last created embed to event-channel with event-bot
        set the nickname of event-user to %{discord::%discord id of event-member%::username}% with event-bot
        delete {_embed}
 
You could switch to use DiSky. DiSky is being actively developed, and Vixio is not, also DiSky has a dedicated discord server for DiSky related questions or issues, and they are really helpfull and friendly over there.

I know this isn't an solution to the issue at hand, it's more of an advice :emoji_slight_smile:
 
Status
Not open for further replies.