skript does not understand the condition / if "%region at player%" is region

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

Mamba

Member
Feb 24, 2021
13
0
1
Ukraine
Code:
on right click on player:
    if "%region at player%" is region "shop"
    name of entity = "Den"
    cancel event

skript does not understand the condition, what is the error?
 

Attachments

  • 7636_ad5b3e7bccd1456aaf733a6b7eca4ef1 (1).png
    7636_ad5b3e7bccd1456aaf733a6b7eca4ef1 (1).png
    317.1 KB · Views: 147
This code working for me:


Code:
on right click on player:
    if "%region at player%" contains "shop":
        if name of entity = "Den":
            cancel event
 
Status
Not open for further replies.