#how do i add a condition for if a player is in both "default" AND "wind" group ive tried like 5 diff

1 messages · Page 1 of 1 (latest)

rotund flicker
#

how do i add a condition for if a player is in both "default" AND "wind" group ive tried like 5 different things

sterile finch
#

Nested if or however it called

#

An if inside an if

rotund flicker
sterile finch
#

Its easy

#

Take an if

#

And add an if inside that if

#

So
If smth:
If smth

#
If player has permission "1":
    Send "you are group 1"
    If player has permission "2":
        Send "you are group 1 and 2```
#

Or try if player has permissions "1,2" split at ,

#

Question

#

What 5 ways did you try?

rotund flicker
#

no but its not a permission its a group

#

i tried "if player's group is "test" and "default"" which didnt work

#

i also tried making it "if player's group is not "(all the other groups i have)"" which i realized was dumb because it would still work if they only had the default group

#

and some other things that flat out didnt work

past knoll
#

you cant combine 2 conditions into one line

past knoll