Here is exactly what I did. Logged onto my character.

Typed /macro

Once in there, I will select any icon and name it anything.

Now I type in /script acceptquest(); EXACTLY like that (I just copied/pasted) from here. I drag that to my action bar, accept a SHAREABLE quest on my Main, click on that button on my secondary character and nothing happens.