execute as @a[predicate=cartographer_custom_enchantments:auto_charge/slot_0] run scoreboard players set @s auto_charge 1
execute as @a[predicate=cartographer_custom_enchantments:auto_charge/slot_1] run scoreboard players set @s auto_charge 2
execute as @a[predicate=cartographer_custom_enchantments:auto_charge/slot_2] run scoreboard players set @s auto_charge 3
execute as @a[predicate=cartographer_custom_enchantments:auto_charge/slot_3] run scoreboard players set @s auto_charge 4
execute as @a[predicate=cartographer_custom_enchantments:auto_charge/slot_4] run scoreboard players set @s auto_charge 5
execute as @a[predicate=cartographer_custom_enchantments:auto_charge/slot_5] run scoreboard players set @s auto_charge 6
execute as @a[predicate=cartographer_custom_enchantments:auto_charge/slot_6] run scoreboard players set @s auto_charge 7
execute as @a[predicate=cartographer_custom_enchantments:auto_charge/slot_7] run scoreboard players set @s auto_charge 8
execute as @a[predicate=cartographer_custom_enchantments:auto_charge/slot_8] run scoreboard players set @s auto_charge 9
execute as @a[predicate=cartographer_custom_enchantments:auto_charge/slot_106] run scoreboard players set @s auto_charge 10