i was trying to make a skript for letting players have their own "vanilla like" worlds.
problem is if a player is creating a portal he is getting teleported to the standard nether.
so what i did to let the entity go to nether was:
on teleport: if teleport cause is nether portal: if environment is normal: teleport event-entity to location(0, 120, 0, world "%event-world%_nether")
it worked good so i made to make it possible to go back:
on teleport: if teleport cause is nether portal: if environment is normal: teleport event-entity to location(0, 120, 0, world "%event-world%_nether") if environment is nether: set {_world} to "%event-world%" replace "_nether" with "" in {_world} teleport event-entity to location(0, 120, 0, world "%{_world}%")
now i cant go from the overworld to the nether. i dont now why i just added the opposite way. can anybody tell me how to solve that?