I must be bad @ writing marco for groups. I can get marcos to work for solo play but when I try to modifer them for my team, all hell break loose.

I am using this when I solo my mage
/cast [mod:shift] Frostbolt
/cast Fireball.
I have this bind to 1 on the keyboard. Cast Fireball when and hit 1 and Frostbolt when I hit Shift + 1

Change this to my grp
/cast [target=party1target,mod:shift] Frostbolt
/cast [target=party1target] Fireball
This work fine until my tank dies and the mage with stand their doing nothing and dies, even after I promote another toon to become the partyleader

So I change this to
/cast [target=party1target,mod:shift][] Frostbolt
/cast [target=party1target][] Fireball

also try this combo.
/cast [target=party1target,mod:shift][] Frostbolt; Fireball
/cast [target=party1target,mod:shift][] Frostbolt; [nomod] Fireball
/cast [target=party1target,mod:shift][] Frostbolt; [target=party1target,nomod] Fireball
/cast [target=party1target,mod:shift][] Frostbolt; [target=party1target,nomod] [] Fireball

This should let me cast a fireball or frostbolt is I switch over to the Mage windows and target the mob. But it is not working. It will only cast Frostbolt, or do nothing.