execute if entity @a[predicate=survivalplus:tomes/bloodmoon] run function survivalplus:tools/tomes/bloodmoontome
execute if entity @a[predicate=survivalplus:tomes/boss] run function survivalplus:tools/tomes/bosstome
execute if entity @a[predicate=survivalplus:tomes/dupe] run function survivalplus:tools/tomes/dupetome
execute if entity @a[predicate=survivalplus:tomes/glow] run function survivalplus:tools/tomes/glowtome
execute if entity @a[predicate=survivalplus:tomes/grave] run function survivalplus:tools/tomes/gravetome
execute if entity @a[predicate=survivalplus:tomes/hero] run function survivalplus:tools/tomes/herotome
execute if entity @a[predicate=survivalplus:tomes/magnet] run function survivalplus:tools/tomes/magnettome
execute if entity @a[predicate=survivalplus:tomes/necro] run function survivalplus:tools/tomes/necrotome
execute if entity @a[predicate=survivalplus:tomes/reroll] run function survivalplus:tools/tomes/rerolltome
execute if entity @a[predicate=survivalplus:tomes/sky] run function survivalplus:tools/tomes/skytome
execute if entity @a[predicate=survivalplus:tomes/weak] run function survivalplus:tools/tomes/weaktome
execute if entity @a[predicate=survivalplus:tomes/weather] run function survivalplus:tools/tomes/weathertome
execute if entity @a[predicate=survivalplus:tomes/xp] run function survivalplus:tools/tomes/xptome
function survivalplus:tools/tomes/removetag