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.

Homes GUI teleport

Discussion in 'Skript' started by Mattllama987, Jun 18, 2020.

Thread Status:
Not open for further replies.
  1. Juffix

    Juffix Member

    Joined:
    Apr 7, 2019
    Messages:
    19
    Likes Received:
    4
    Make it broadcast it and see if it is "<none>"
     
  2. Mattllama987

    Mattllama987 Active Member

    Joined:
    Aug 5, 2018
    Messages:
    225
    Likes Received:
    7
  3. Juffix

    Juffix Member

    Joined:
    Apr 7, 2019
    Messages:
    19
    Likes Received:
    4
    Check if the location is set though
     
  4. Mattllama987

    Mattllama987 Active Member

    Joined:
    Aug 5, 2018
    Messages:
    225
    Likes Received:
    7
     
  5. Juffix

    Juffix Member

    Joined:
    Apr 7, 2019
    Messages:
    19
    Likes Received:
    4
    Check if it is set by broadcasting {LOC::HOME::%player%::%arg-1%}
     
  6. Mattllama987

    Mattllama987 Active Member

    Joined:
    Aug 5, 2018
    Messages:
    225
    Likes Received:
    7
  7. oHeckGage

    oHeckGage Active Member

    Joined:
    Mar 24, 2020
    Messages:
    105
    Likes Received:
    5
    Code (Text):
    1.  
    2. [LIST=1]
    3. [*]on inventory click:
    4. [*]    if name of event-slot is "&c&lHomes(s)":
    5. [*]        cancel event
    6. [*]        set {_var} to name of event-slot
    7. [*]        teleport player to location at {LOC::HOME::%player%::%unformatted name of event-item%}
    8. [*]        broadcast "%{_var}%"
    9. [/LIST]
    10.  
     
Thread Status:
Not open for further replies.

Share This Page

Loading...