the basic macros would be the simple /assist and /follow macros...

the next level of macros normally use focus for targeting and require you to create a macro for each targeted spell.
ie:
/cast [target=focustarget] fireball

then you just set your focus to the appropriate character. i have 5 macros (there is another macro that switches depending on who is alive... but i don't have that handy). so, if your group had jjoe, sam, and fred in it... you'd have these 3 macros on each character... assigned to the same keys:
macro 1: /focus joe
macro 2: /focus sam

macro 3: /focus fred


if joe dies, hit macro 2 and control your group (now only sam and fred) from sam's screen. if you conbine with with keyclone's pip, then hitting the key for macro2 would also trigger the pip swap.. swapping sam's screen with joe's

i hope that helps,

Rob