I saw this on icy veins and didnt seem to work for me. Any idea why?

Macro 2: (Spam Ice Lance on the Crystal, If you use this when the crystal is no longer there, it will cast frostbolt on the boss)

/cast [target="Prismatic Crystal", exists] Ice Lance; Frostbolt


Thread in question Icy-Veins