5e macro help for attack stat choice

Hi,
I created a macro to let players select which stat they use for the attack, is there a way to make it easier or at least less redundant?

Legenda:
checkbox For = StrAtk1
checkbox Des = DexAtk1
checkbox Int = IntAtk1
checkbox Sag = WisAtk1
checkbox Car = ChaAtk1
blue macro = ModAtk1
7 = TxC1 = ModAtk1 + Prof
Danno 1d8 = Dice1 + Size1

Sorry, no. That is the only way to do it.

ok, thanks for reply