1. 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!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Does anyone know how I VERIFY A REGION?

Discussion in 'Requests' started by Pedro Ropke, Nov 27, 2021.

  1. Pedro Ropke

    Pedro Ropke Member

    Nov 10, 2021
    Likes Received:
    if arg-1 is "delete" or "dell" or "remove":
    if arg-2 is "%arg-2%":
    if "%region at player%" contains "%arg-2%":
    send "[region info]"
    sharpsk delete region "%arg-2%" in world "world"

    Erro: if "%region%" contains "%arg-2%"

    the part of the error is this, if anyone knows how to check the region

    What I'm trying to do is, tending to delete a region that I created in skript, if the player puts the right name of the % arg-1% the region will be deleted, if he puts the irregular one, a message will appear, only thing i need is how can i verify a region that exists or doesn't exist.


Share This Page