execute unless score #.temp blue.misc matches -123 store success score #.tr.manual_untrimming blue.config unless score #.tr.manual_untrimming blue.config matches 1
execute unless score #.temp blue.misc matches -123 if score #.tr.manual_untrimming blue.config matches 0 run playsound block.note_block.chime player @s ~ ~ ~ 0.5 0.6
execute unless score #.temp blue.misc matches -123 if score #.tr.manual_untrimming blue.config matches 1 run playsound block.note_block.chime player @s ~ ~ ~ 0.5 0.9
execute if score #.tr.manual_untrimming blue.config matches 0 run tellraw @s [{"translate":"blue.tr.manual_untrimming","fallback":"Manual Untrimming","hoverEvent":{"action":"show_text","contents":{"translate":"blue.tr.manual_untrimming_hover","fallback":"If players can un-trim their armor with smithing tables (ON, OFF)","color":"gray"}},"hover_event":{"action":"show_text","value":{"translate":"blue.tr.manual_untrimming_hover","fallback":"If players can un-trim their armor with smithing tables (ON, OFF)","color":"gray"}},"clickEvent":{"action":"run_command","value":"/function blue:tr/settings/manual_untrimming"},"click_event":{"action":"run_command","command":"/function blue:tr/settings/manual_untrimming"},"color":"gray"},{"text":": ","color":"dark_gray"},{"translate":"options.off","color":"dark_red"}]
execute if score #.tr.manual_untrimming blue.config matches 1 run tellraw @s [{"translate":"blue.tr.manual_untrimming","fallback":"Manual Untrimming","hoverEvent":{"action":"show_text","contents":{"translate":"blue.tr.manual_untrimming_hover","fallback":"If players can un-trim their armor with smithing tables (ON, OFF)","color":"gray"}},"hover_event":{"action":"show_text","value":{"translate":"blue.tr.manual_untrimming_hover","fallback":"If players can un-trim their armor with smithing tables (ON, OFF)","color":"gray"}},"clickEvent":{"action":"run_command","value":"/function blue:tr/settings/manual_untrimming"},"click_event":{"action":"run_command","command":"/function blue:tr/settings/manual_untrimming"},"color":"gray"},{"text":": ","color":"dark_gray"},{"translate":"options.on","color":"dark_green"}]