New Macro Help

so im looking to make a new macro for my druid that does all my forms but i wanna incorporate my toy into it

#showtooltip
/cast [nomod] Moonkin Form
/cast [mod:shift] Bear Form
/cast [mod:alt] Cat Form
/use [nostealth] Prismatic Bauble

this is what i have and it works my only issue is that it spams the red text that “item is not ready yet” and when switching from flight to anything else i get “ cant use that ability while pacified” what im wondering is there a way to make it conditional to attempt to only use the toy when its off cd and im curious if anything can be done about the pacified error text

Unfortunately, a lot of toys can’t be used while in Flight Form, even on the ground. You can modify the last line to eliminate the error msg since it won’t trigger in FF anyway:

/use [nostealth,noform:3] Prismatic Bauble

Macros can’t do things conditionally based on cooldowns, so I don’t know that there’s anything you can do about the “not ready yet” message.

thats awesome do you know of any conditionals by chance that eliminate it trying to use while its on CD?

just saw Tureja’s reply thats really unfortunate if thats the case

It is the case.

There are no conditionals that address “when”. That’s intentionally entirely up to the player to manage.