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.

Variable help

Discussion in 'Skript' started by CUrrUpt Enxo, Nov 21, 2020.

Thread Status:
Not open for further replies.
  1. CUrrUpt Enxo

    CUrrUpt Enxo Member

    Joined:
    Jul 26, 2019
    Messages:
    21
    Likes Received:
    0
    hmm yes variables
    Code (Text):
    1. {playersgens::%player's uuid%::%{_tag}%::%location%}
    You see that variable right ima explain what I need help with.
    I want to find the {_tag} value according to a location but I want to do this without looping the index.
    I don't even know if this is possible but if its not I will just loop.
     
  2. Marsbar

    Marsbar Active Member

    Joined:
    Mar 31, 2019
    Messages:
    131
    Likes Received:
    4
    Can you explain?
    What are the variables set to?
    Describe everything
     
  3. CUrrUpt Enxo

    CUrrUpt Enxo Member

    Joined:
    Jul 26, 2019
    Messages:
    21
    Likes Received:
    0
    here is a updated problem
    Code (Text):
    1. if {playersgens::%player's uuid%::*} where [indices of input contains "%location of event-block%"] is set
    Why wont this work with
    Code (Text):
    1. set {playersgens::%player's uuid%::%{_tag}%::%location of event-block%} to location of event-block
    this variable structure like what the heck
     
Thread Status:
Not open for further replies.

Share This Page

Loading...