scoreboard players add customgeneration customgeneration 1
execute if score customgeneration customgeneration matches 2 run scoreboard players set customgeneration customgeneration 0

execute if score customgeneration customgeneration matches 1 run say room generation is now custom
execute if score customgeneration customgeneration matches 0 run say room generation is no longer custom