on portal:
event-entity is a player:
cancel event
if {netherloc::%player%} exist:
wait 5 ticks
teleport player to location of {netherloc::%player%}
stop
wait 5 ticks
set {_block} to block at location at (random number between -1000 and 1000, 0, random number between -1000 and 1000) in world "world_nether"
loop all blocks above {_block}:
if loop-block is air:
block below loop-block is not lava
block below loop-block is not air
block below loop-block is not bedrock
if block above loop-block is air:
teleport player to loop-block
set {netherloc::%player%} to location of loop-block
Sprawdz czy dziala
Jesli dziala, polecam Ci na przyszlosc uzywania np. notepada++, oraz wstawiania swego kodu w "kodzie <>" gdyz dluzej zajelo mi ogarniecie ze tabulacja jest zla przez program ktory uzywasz niz sama pomoc.