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