There’s a lot going on in this macro. From what I can tell, you have it set for various things:
Control = Barkskin + Survival Instincts + Berserk + (Trinket 2)
Nothing = Bear Form
Alt = Cancel Form, but also Travel Form, or if you’re swimming
And every single time you press said macro, (when pressing Alt and when not in combat) you’re summoning a random favourite mount?
Just a heads up, but a glaring thing I spot here is that you’re basically trying to use your Slot 14 by casting it. I believe you could technically change that line to /use and it might fix that. However… I may have some bad news, because you’d definitely go over the character limit with this macro.
The spell book is actually a little bit misleading. If you have your text cursor in the Macro, and you shift+click the spell, it should normally just print the spell in. However, with all shapeshift forms (such as Bear and Travel form), they actually look like this:
/cast Bear Form(Shapeshift)
/cast Cat Form(Shapeshift)
/cast Travel Form(Shapeshift)
/cast Treant Form(Shapeshift)
/cast Stag Form(Shapeshift)
That is to say, you’re technically (for some reason) casting “nothing”. It’s a little weird, but it’s a recent change in BFA. There’s a few other spells like that as well (I think some talents and the Artifact Abilities were like that?), so you’ll want to keep an eye out for that. That said, though, adding
(Shapeshift) to the end of each macro would pretty much put you over the character limit, which kind of sucks. You may need to redesign the macro to fit better and split it up more. I’ve heard of addons that can go past the 255 character limit, but I don’t know 100% if there are limits or rules to what they can do because I personally have never used them.