execute store result storage funkalot:tracks tracks.page int 1 run scoreboard players add .trackspage constants 1
execute if score .trackspage constants > .trackspagesnumber constants store result storage funkalot:tracks tracks.page int 1 run scoreboard players set .trackspage constants 0
function funkalot:tracks/selection/operation
data modify storage funkalot:tracks tracks.selected set value 1
execute store result score .returneddefault constants run function funkalot:tracks/selection/checkexistancenext with storage funkalot:tracks tracks
execute if score .returneddefault constants matches 837 run return run scoreboard players reset .returneddefault constants
kill @e[type=text_display,tag=tracks.entry]
function funkalot:tracks/selection/summon with storage funkalot:tracks tracks
function funkalot:tracks/selection/highlight with storage funkalot:tracks tracks
scoreboard players reset .returneddefault constants