Hunter Macros

Ok so on a lot of servers macros have worked differently and I know a lot of people don’t know how to get around this. The macro a lot of people use for melee is
/cast Raptor Strike
/cast Mongoose Bite
/cast Counterattack

then the slow macro
/cast Concussive shot
/cast Wing Clip

neither of these work on the legion scripting I just want to know how to get them to work or if theres a way.

I have also tried to create macros like
/cast Arcane Shot
/cast Raptor Strike
/cast !Auto Shot
/cast !Attack
this macro kinda worked if you double tap from range itll arcane shot and then start autoshot and if you double tap in melee itll raptor strike then start autoattack however I am a button spammer I like to keep clicking it while it is on cd waiting for it to come up because I am bad does anyone know how to make any of these macros work? or any useful hunter macros that do similar?

Don’t work for me either, neither does even a Growl macro.