skript not working when i use variables

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

ROOT BEER

Member
Jun 14, 2021
3
0
1
24
when i use a variable in skript it does not work, i do not get any errors but when i do a command it says unknown command when it has a variable in it.

example:

command test:
trigger:
send "1"

^^^
this one works

command test:
trigger:
if {%player%,chunk} is false:
send "1"

^^^
this one returns unknown command when i try to do /test
 
Code:
command test:
    trigger:
        if {%player%,chunk} is false:
            send "1"

First of all: Did you mean {%player%.chunk}?
Second: Did you remember to reload the skript?
 
Code:
command test:
    trigger:
        if {%player%,chunk} is false:
            send "1"

First of all: Did you mean {%player%.chunk}?
Second: Did you remember to reload the skript?
dont remember what the solution was but i fixed it a while ago thanks :emoji_grinning:
 
Status
Not open for further replies.