on portal:
if (now formatted as "HH" parsed as integer) is not between 9 and 19:
cancel event
send "&cPortal jest wylaczony"
else:
if player's balance >= 10:
send "&cPobrano oplate!"
remove 10 from player's balance
stop
send "&cNie stac cie :("
cancel event
every 1 minute:
now formatted as "HH:mm" is "20:00"
teleport all players where [player input's world is not "world"] to spawn of world "world"
on join:
player's world is not "world"
(now formatted as "HH" parsed as integer) is not between 9 and 19
teleport player to spawn of world "spawn"
cos takiego?