Hey there! I was doing an addon, taht allow me to follow my MainChar with one KeyStroke. If my main dies, i use the other charakter and press this following-key. Thats it.

Here are the source and filesnames if you are interessted:

Multi.lua
[code:1]
function Multi_OnEvent()
if(arg1 == "Multifollow") then
FollowUnit(arg2);
end
end
[/code:1]

Multi.toc
[code:1]## Interface: 20100
## Title: MultiboxerFollowing
## Notes: thats it
Multi.xml[/code:1]

Multi.xml
[code:1]<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
..\FrameXML\UI.xsd">
<Script file="Multi.lua"/>

<Frame name="Multi" parent="UIParent" hidden="false">
<Scripts>
<OnLoad>
this:RegisterEvent("CHAT_MSG_ADDON");
</OnLoad>
<OnEvent>
Multi_OnEvent();
</OnEvent>
</Scripts>
</Frame>
</Ui>[/code:1]


Now, you have to setup a macro at each wow-client and bind a key to it, let us say "t".
The macro are:
[code:1]/script SendAddonMessage( "Multifollow", UnitName("player"), "RAID" );[/code:1]

how will it work?
Simple. you press "t" and your player sends your name via addonmessagechannel to all other members of your party/raid. the other clients receive this and follows the name of the "keypresser".

works only if all of your mates are in a party. enjoy!