execute as @a[predicate=survivalplus:tomes/weather] run tag @s add weathertome
execute at @a[tag=weathertome,scores={usetome=1..}] run function survivalplus:tools/tomes/weather
execute as @a[scores={usetome=1..}] run scoreboard players reset @s usetome