I'm trying to do it so specific players are not allowed in to the end dimension (they cannot go through the enderportal). As skript on my server has been protesting ever since the 1.18 update, I was going on it slowly. First code looked like this:
And it worked. After going through a netherportal, it spit out "hi" in the chat.
However then came the next step of adding conditions:
Nothing ever happened. No error. No chat message as coded. My user name is AlienoidTv just as in the code. Can anyone say what is going on? Thanks.
Code:
on player portal:
broadcast "hi"
However then came the next step of adding conditions:
Code:
on player portal:
player's display name is "AlienoidTv"
broadcast "hi"