15 lines
622 B
Plaintext
15 lines
622 B
Plaintext
# --- Portals ---
|
|
on region enter:
|
|
wait 1 tick
|
|
if "%event-region%" contains "_portal_to_lobby":
|
|
teleport player to world "%player's world%"
|
|
connect player to "lobby"
|
|
if "%event-region%" contains "_portal_to_utopia":
|
|
teleport player to world "%player's world%"
|
|
connect player to "utopia"
|
|
if "%event-region%" contains "_portal_to_skyblock":
|
|
teleport player to world "%player's world%"
|
|
connect player to "skyblock"
|
|
if "%event-region%" contains "_portal_to_minigames":
|
|
teleport player to world "%player's world%"
|
|
connect player to "minigames" |