Is it possible to set up a macro on here that will allow you to cast different healing spells based on people's health? Trying to set up the requirements but can't quite figure out how to word the target set up.

Example:

/ac "Cure 3" <t less than 30% hp>
/ac "Cure 2" <t less than 50% hp>
/ac "Cure" <t less than 100% hp>

Just wondering if anyone else has experimented and know how I could word it properly.