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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

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

Is it Possible? WorldGuard

Discussion in 'Skript' started by Sesantanove69, Jan 25, 2023.

Tags:
  1. Sesantanove69

    Sesantanove69 New Member

    Joined:
    Oct 19, 2022
    Messages:
    5
    Likes Received:
    0
    Is it possible to remove "in world world" text after a region name?
    rn i'm using %region at player%, i tried with replace etc any help?
     
  2. Merrical

    Supporter

    Joined:
    Jul 27, 2020
    Messages:
    28
    Likes Received:
    3
    you can't. why would you need to? just do the condition like this:
    Code (Text):
    1. if "%region at player%" contains "TestRegion":
    2.     //Code here
    Make sure that the region name is exactly what you put in there. I've found that it works very well.
     
  3. Sesantanove69

    Sesantanove69 New Member

    Joined:
    Oct 19, 2022
    Messages:
    5
    Likes Received:
    0
    thx ig but it's not really helpful for me, i need the words "in world world" removed because the thing i want to send is the region name.
     
  4. yea rite

    yea rite Active Member

    Joined:
    Jul 11, 2021
    Messages:
    79
    Likes Received:
    8
    set {_var::*} to "%region at player%" split at "in world"
    send "&eYou are in %{_var::1}%"
     
  5. Sesantanove69

    Sesantanove69 New Member

    Joined:
    Oct 19, 2022
    Messages:
    5
    Likes Received:
    0
    Thx sm it worked <3 u
     

Share This Page

Loading...