That would be macros. You need to use conditions to target your focus or assist your "main" from the other one.

[target=focustarget]

Something along that line. Check the Wiki for more information on that.