Solved help with world thing please

  • 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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

TubeVillager

Member
Jan 29, 2019
28
1
0
23
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?
[doublepost=1549378982,1549378936][/doublepost]dont mind the tabs it just didnt paste right
[doublepost=1549380114][/doublepost]nevermind i fixed it
 
This might work, @TubeVillager
code_language.skript:
unload:
    wipe sidebar of all players where [input's world = {skywars.lobby.world}]

Edit: Oh, if you fixed it, you could've marked it .-.
 
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
 
Last edited:
Status
Not open for further replies.