My argument shows up as <none>

  • 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.

oHeckGage

Active Member
Mar 24, 2020
110
6
18
Code:
command /shrug <text>:
    permission: unicode.chat.shrug
    trigger:
        make player say "¯\_(ツ)_/¯ %arg 1%"
command /tableflip <text>:
    permission: unicode.chat.tableflip
    trigger:
        make player say "(╯°□°)╯︵ ┻━┻ %arg 1%"
command /cry <text>:
    permission: unicode.chat.cry
    trigger:
        make player say "(ಥ﹏ಥ) %arg 1%"
command /emoticons <text>:
    permission: unicode.gui
    trigger:
        if arg is set:
            wait 1 tick
            open virtual chest with size 3 named "&aEmoticons" to player
            format gui slot 10 of player with paper named "&9Shrug" to run:
                if player has permission "unicode.chat.shrug":
                    set {unicode.shrug.text.%player%} to "¯\_(ツ)_/¯ %arg%"
                    wait 1 tick
                    make player say {unicode.shrug.text.%player%}

I am trying to make a simple unicode emoticon skript for my server but when a player uses the gui to say the argument or the variable it doesn't work. (Side note: It used to just say "¯\_(ツ)_/¯ %arg%" instead of the variable, like it is right now) There are no errors but I looked up for variables that it says <none> of variables are not set, but mine is. Any help?

Edit: I forgot to say... The unicode shows up but the argument doesn't
 
Last edited:
Status
Not open for further replies.