Talent tier macro

Greetings! I need help making a macro, I want to make a talent tier macro but when I try with:

/cast Spell 1
/cast Spell 2
/cast Spell 3
/run local g=GetSpellInfo SetMacroSpell(GetRunningMacro(),g"Spell 1"or g"Spell 2"or “Spell 3”)

Being Spell 1: Cascade, Spell 2: Divine Star, Spell 3: Halo. It should work for any class and any 3 talents of the same tier.

It doesn’t work. I think this is the macro with no macrotoolkit.

Nvm it works fine, at first it seems it doesnt work, but once you press the macro it works fine.