A list of in game commands that can be used in macros. Not sure if all of these work. You can also type // and get a full list ingame- however it is a bit boggling.
/tar name; (the name here being the name of the primary character you control)
/assist;
/ui action toolbarSlotXX; (primary attack you will use, I use a commando so this is apply dot the non aoe)
/pause .05;
/ui action toolbarSlotXX; (this is the self preservation clause for the primary heal)
/pause .01; (shorter pause clause for a follow up buff or extention to self preservation)
/ui action toolbarSlotXX; (clause for a 2nd self preservation feature)
/pause .05;
/macro name (name of the macro I just called mine Melt)
The macro allows for more attacks to be added in if you wish. Just add in more /ui action lines followed by the appropriate /pause .05 for each attack.
Step 2: The Process
To set this up target the character on your main account that you will be playing. Set to auto follow with the /follow command. Next activate the macro and tab back to your primary account. The macro will only attack a target IF your primary account designates one for you to attack hence the /assist clause. As long as you on your main account do not target anything needlessly you will not "accidentally agro" other creatures.
This "pet" feature is fun to play with if you want to farm "gold" elites like candy or "solo" dungeons with complete ease. It also works nicely if you wanna "dummy fill" an extra spot any heroic that isnt Exar Kun.
You MAY have a 60 point Kimo but my pet has a Lava Canon...