$scoreboard players set .enhancementmaxcount const $(count)
$tellraw @a [{"color":"dark_gray","italic":false,"text":"--------------------"},{"bold":true,"color":"gold","italic":false,"text":"ForgeCraft"},{"bold":false,"color":"dark_gray","italic":false,"text":"--------------------\n\n"},{"bold":false,"color":"white","italic":false,"text":"\nGamerule Max Enhancement Count is set to: "},{"bold":true,"color":"aqua","hover_event":{"action":"show_text","value":[{"text":"It limits the maximum amount of Enhancement Attribute Books applied to a single item","color":"white","bold":false,"italic":false}]},"italic":false,"text":"$(count)"},{"bold":false,"color":"dark_gray","italic":false,"text":"\n\n----------------------------------------"}]