execute if block ~ ~ ~ minecraft:stripped_oak_wood[axis=x] run scoreboard players set @s bw_block 1599
execute if block ~ ~ ~ minecraft:stripped_oak_wood[axis=y] run scoreboard players set @s bw_block 1600
execute if block ~ ~ ~ minecraft:stripped_oak_wood[axis=z] run scoreboard players set @s bw_block 1601