As the title suggest, I would like to check if one permission is true while the other is false. I know I could do
But what I am trying to do is having it on the same line.
How do I do this?
You can check for permissions if both values are true or false, but I want to know how to do it like this if at all possible.
The script I need this for:
Code:
if player has permission "test.me":
if player does not have permission "test.meagain":
do something
Code:
if player has permission "test.me" and does not have permission "test.meagain":
do something
You can check for permissions if both values are true or false, but I want to know how to do it like this if at all possible.
The script I need this for:
Code:
command /autojoin:
description: This command is used to automatically join the faction corresponding to your nation.
executable by: players
permission: skript.foreigner
permission message: &4You do not have access to that command.
trigger:
if player is in "Irikilum":
if player does not have permission "lands.wolfpact" and "lands.griffinempire":
send "&4You cannot be factionless to use this command." to player
else if player has permission "lands.griffinempire" doesnt have permission "lands.wolfpact":
make player execute command "/f join griffinempire"
else if player has permission "lands.wolfpact":
make player execute command "/f join wolfpact"
else:
send "&4Test message. Failed the world check." to player