what is it that won't work?

i'm not sure if /battletarget is effective, i usually select manually. If the tank is selected, I press 'T' which selects the target f my target i.e. the target tank is fighting, and I just Tab to select the enemies nearby.

For marking, I use /enemysign instead of /marking, and it works for me.

also, by using the above method, I would just use /ac "Repose" <t> instead of <Square>.