execute if entity @a[tag=bloodmoontome] run function survivalplus:tools/tomes/bloodmoontome
execute if entity @a[tag=bosstome] run function survivalplus:tools/tomes/bosstome
execute if entity @a[tag=dupetome] run function survivalplus:tools/tomes/dupetome
execute if entity @a[tag=glowtome] run function survivalplus:tools/tomes/glowtome
execute if entity @a[tag=gravetome] run function survivalplus:tools/tomes/gravetome
execute if entity @a[tag=herotome] run function survivalplus:tools/tomes/herotome
execute if entity @a[tag=magnettome] run function survivalplus:tools/tomes/magnettome
execute if entity @a[tag=necrotome] run function survivalplus:tools/tomes/necrotome
execute if entity @a[tag=rerolltome] run function survivalplus:tools/tomes/rerolltome
execute if entity @a[tag=skytome] run function survivalplus:tools/tomes/skytome
execute if entity @a[tag=weaktome] run function survivalplus:tools/tomes/weaktome
execute if entity @a[tag=weathertome] run function survivalplus:tools/tomes/weathertome
execute if entity @a[tag=xptome] run function survivalplus:tools/tomes/xptome
function survivalplus:tools/tomes/removetag