code:
every 1 second in world "world":
if {startTemple} is true:
set {startTemple} to false
message "A game on map temple is going to start in 30 seconds! join with /join temple"
wait 10 seconds
message "A game on map temple is going to start in 20 seconds! join with /join temple"
wait 10 seconds
message "A game on map temple is going to start in 10 seconds! join with /join temple"
wait 1 second
message "A game on map temple is going to start in 9 seconds! join with /join temple"
wait 1 second
message "A game on map temple is going to start in 8 seconds! join with /join temple"
wait 1 second
message "A game on map temple is going to start in 7 seconds! join with /join temple"
wait 1 second
message "A game on map temple is going to start in 6 seconds! join with /join temple"
wait 1 second
message "A game on map temple is going to start in 5 seconds! join with /join temple"
wait 1 second
message "A game on map temple is going to start in 4 seconds! join with /join temple"
wait 1 second
message "A game on map temple is going to start in 3 seconds! join with /join temple"
wait 1 second
message "A game on map temple is going to start in 2 seconds! join with /join temple"
wait 1 second
message "A game on map temple is going to start in 1 seconds! join with /join temple"
set {templeRunning} to true
loop all players in world "world":
if {inGameTemple.%player%} is true:
teleport player to location at (-200, 4, 245)
send title "Wave 1" to player for 3 seconds
set block at location at (-199, 4, 264) to stonebrick
set block at location at (-200, 4, 264) to stonebrick
set block at location at (-201, 4, 264) to stonebrick
set block at location at (-199, 5, 263) to stonebrick
set block at location at (-200, 5, 263) to stonebrick
set block at location at (-201, 5, 263) to stonebrick
set block at location at (-199, 6, 262) to stonebrick
set block at location at (-200, 6, 262) to stonebrick
set block at location at (-201, 6, 262) to stonebrick
i get the error: a block an't be set to stonebrick because the latter is not an item type
every 1 second in world "world":
if {startTemple} is true:
set {startTemple} to false
message "A game on map temple is going to start in 30 seconds! join with /join temple"
wait 10 seconds
message "A game on map temple is going to start in 20 seconds! join with /join temple"
wait 10 seconds
message "A game on map temple is going to start in 10 seconds! join with /join temple"
wait 1 second
message "A game on map temple is going to start in 9 seconds! join with /join temple"
wait 1 second
message "A game on map temple is going to start in 8 seconds! join with /join temple"
wait 1 second
message "A game on map temple is going to start in 7 seconds! join with /join temple"
wait 1 second
message "A game on map temple is going to start in 6 seconds! join with /join temple"
wait 1 second
message "A game on map temple is going to start in 5 seconds! join with /join temple"
wait 1 second
message "A game on map temple is going to start in 4 seconds! join with /join temple"
wait 1 second
message "A game on map temple is going to start in 3 seconds! join with /join temple"
wait 1 second
message "A game on map temple is going to start in 2 seconds! join with /join temple"
wait 1 second
message "A game on map temple is going to start in 1 seconds! join with /join temple"
set {templeRunning} to true
loop all players in world "world":
if {inGameTemple.%player%} is true:
teleport player to location at (-200, 4, 245)
send title "Wave 1" to player for 3 seconds
set block at location at (-199, 4, 264) to stonebrick
set block at location at (-200, 4, 264) to stonebrick
set block at location at (-201, 4, 264) to stonebrick
set block at location at (-199, 5, 263) to stonebrick
set block at location at (-200, 5, 263) to stonebrick
set block at location at (-201, 5, 263) to stonebrick
set block at location at (-199, 6, 262) to stonebrick
set block at location at (-200, 6, 262) to stonebrick
set block at location at (-201, 6, 262) to stonebrick
i get the error: a block an't be set to stonebrick because the latter is not an item type