Need help with a macro based on number of enemies

Hi, I have been trying to figure out how to set up a macro, so that if there is say 2 or less enemies in combat with me it casts one spell, and if there is more it casts a different spell.

I have gone through the basic macro guides but i cannot find anything which fits. I am a bit out of my depth here so I am hoping one of you folks can give me some guidance on how i might go about this, if this is possible.

thanks in advance.

Cant do it. Sorry but this is one of those things that is beyond what a Macro is capable of reacting to. The way to do this is have two macros - one for ST and one for MT and swap between the two macros. Alternatively use [mods] so that when you want to do the MT actions use the mod