Specific fishing macro question

I have a fishing macro bound to mouse button 4:

#showtooltip Fishing
/equipset Fishing2
/sit
/use fishing

What i want to do is add before the /sit :

/use Crate of Bobbers: Tugboat

but only trigger it if the toy is not already active as it spams an error if the toy is active. I’ve been trying to do something like nopet or nomounted but can’t find anything like that for a toy spell.

Is there anything like that?

Per the pin: macros cannot check if a buff is active.

I think the crate of bobbers becomes an aura which could be cancelled

#showtooltip Fishing 
/equipset Fishing2 
/sit 
/cancelaura tugboat bobber
/use crate of bobbers: tugboat
/use fishing

the cancelaura should prevent the error if you already have it and not do anything if you don’t

That would make it consume a bobber each cast.

Ah I hadn’t read that part. I know how to do the cooldown part based on the showtooltip but it looks like active buff would require a script/addon then.

Thanks!