Problem with 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!

CloudLess_

New Member
Jan 3, 2020
5
0
0
20
No matter whether the first or the 2nd command. The Else against if {s.team.% Name of player%} is not "blue" runs. How can I fix it?

Even if the variable {s.team.%name of player%} is not set I get the same output from the first else.
unknown.png

[doublepost=1585774311,1585774278][/doublepost]https://cdn.discordapp.com/attachments/138027100593455104/695010234489503854/unknown.png
 
I do not understan what you want, can you please post you full code?
If i check a variable, it works with

Code:
{s.team.%player's name%} is not set:
    send "TEST"
else:
    send "test2"

or

Code:
{s.team.%name of player%} is not set:
    send "TEST"
else:
    send "test2"

Best regards

HiqqhFive