execute as @a[scores={mt_vote_trigger=1}] run function tctvote:ayevote execute as @a[scores={mt_vote_trigger=2}] run function tctvote:novote execute as @a[scores={mt_vote_trigger=1..}] run clear @s written_book{certified:votebook} 1 execute as @a[scores={mt_vote_trigger=1..}] run scoreboard players reset @s mt_vote_trigger