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

Solved help with world thing please

Discussion in 'Skript' started by TubeVillager, Feb 5, 2019.

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

    TubeVillager Active Member

    Joined:
    Jan 29, 2019
    Messages:
    28
    Likes Received:
    1
    hey

    i want to make a thing that when the skywars skript gets unloaded the player's sidebar will be wiped IF THEY ARE IN THE WORLD OF THE SKYWARS LOBBY.

    i have this skript but i dont know why it doesnt work.

    command /setskywarslobby:
    trigger:
    set {skywars.lobby} to location of player
    set {skywars.lobby.world} to world of player
    send "&7succesfull" to player
    on unload:
    loop all players:
    if loop-player is in "%{skywars.lobby.world}%":
    wipe loop-player's sidebar

    so how can i make this work?
    --- Double Post Merged, Feb 5, 2019, Original Post Date: Feb 5, 2019 ---
    dont mind the tabs it just didnt paste right
    --- Double Post Merged, Feb 5, 2019 ---
    nevermind i fixed it
     
  2. Vrganj

    Vrganj Well-Known Member

    Joined:
    Dec 1, 2018
    Messages:
    67
    Likes Received:
    2
    This might work, @TubeVillager
    Code (Skript):
    1.  
    2. unload:
    3.     wipe sidebar of all players where [input's world = {skywars.lobby.world}]
    4.  
    Edit: Oh, if you fixed it, you could've marked it .-.
     
  3. T

    TubeVillager Active Member

    Joined:
    Jan 29, 2019
    Messages:
    28
    Likes Received:
    1
    Hey thanks but as i said in the post i already fixed it in actually an even easier way lol (i think)

    hey yeah i did post it but it got merged that i fixed it and i forgot to set the thing to fixed when i continued the skripting sorry xD but still thanks
     
    #3 TubeVillager, Feb 5, 2019
    Last edited: Feb 6, 2019
Thread Status:
Not open for further replies.
Loading...