Is there a macro floating around that would do the following

assist party1 then depending on the target either cast lightning bolt or lesser healing wave?

i swear i've seen one, but in the 80 pages of macros everywhere i cannot find it.

Any help would be appreciated.

Thanks