thanks All I have been working the team through dungeons now but want to get the advanced formations working and they jsut arent working im having toons just spin and now my follow seems to have broken. Can anyone see my faults in this?

Code:
//================================================================// FIVE WOW'S ON ONE PC// by Alcattle
//
// Instructions: Copy this entire script (all the blue writing
// on gray background including comments). Save it in a file.
// Load it into HotkeyNet.
//
// Toggle the scroll lock key to turn hotkeys off and on. (You
// can change this if you want, just like you can change
// everything else with HotkeyNet.)
//
// Requires HotkeyNet build 148 or higher.
//
// For more info, go to www.hotkeynet.com
//================================================================




//-----------------------------------------------------------
// PRESS CTRL R TO RENAME WOW'S IF YOU LAUNCH THEM MANUALLY.
//-----------------------------------------------------------
<Hotkey ScrollLockOn Ctrl R>
<SendPC Local>
<RenameWin "World of Warcraft" WoW1>
<RenameWin "World of Warcraft" WoW2>
<RenameWin "World of Warcraft" WoW3>
<RenameWin "World of Warcraft" WoW4>
<RenameWin "World of Warcraft" WoW5>


//-----------------------------------------------------------
// SUBROUTINE TO LAUNCH AND RENAME A COPY OF WOW.
//-----------------------------------------------------------
<Command LaunchAndRename>
<SendPC %1%>
<Run "c:\wotlk wow\WoW.exe">
<RenameTargetWin %2%>
<wait 1000>
<text %3%>
<Key tab>
<text %4%>
<wait 100>
<Key Enter>


<SetAffinity All>
//-----------------------------------------------------------
// HOTKEY TO LAUNCH AND RENAME YOUR WOW WINDOWS
//-----------------------------------------------------------
<Hotkey ScrollLockOn Alt Ctrl L>
<LaunchAndRename Local WoW1 "XXXX" "XXXX">
<LaunchAndRename Local WoW2 "XXXX" "XXXX">
<LaunchAndRename Local WoW3 "XXXX" "XXXX">
<LaunchAndRename Local WoW4 "XXXX" "XXXX">
<LaunchAndRename Local WoW5 "XXXX" "XXXX">


//-----------------------------------------------------------
// SUBROUTINE TO Position Windows for 5 boxing.
//-----------------------------------------------------------
<Command ResizeAndPosition>
<SendPC Local>
<SendWin %1%>
<SetWinRect 0 0 1280 990>
<SendWinM %2%>
<SetWinRect 1280 0 640 512>
<SendWinM %3%>
<SetWinRect 1280 512 640 512>
<SendWinM %4%>
<SetWinRect 1920 0 640 512>
<SendWinM %5%>
<SetWinRect 1920 512 640 512>


//-----------------------------------------------------------
// DEFINE MAIL LABELS FOR SENDING KEY STROKES.
//-----------------------------------------------------------
<Label w1 Local SendWinM WoW1>
<Label w2 Local SendWinM WoW2>
<Label w3 Local SendWinM WoW3>
<Label w4 Local SendWinM WoW4>
<Label w5 Local SendWinM WoW5>


//----------------------------------------------------------------
//Window Switching
//----------------------------------------------------------------
<Hotkey F1>
<ResizeAndPosition WoW1 WoW2 WoW3 WoW4 WoW5>
<SendLabel w1, w2, w3, w4, w5>
<Key %Trigger%>
<Hotkey F2>
<ResizeAndPosition WoW2 WoW1 WoW3 WoW4 WoW5>
<SendLabel w1, w2, w3, w4, w5>
<Key %Trigger%>
<Hotkey F3>
<ResizeAndPosition WoW3 WoW2 WoW1 WoW4 WoW5>
<SendLabel w1, w2, w3, w4, w5>
<Key %Trigger%>
<Hotkey F4>
<ResizeAndPosition WoW4 WoW2 WoW3 WoW1 WoW5>
<SendLabel w1, w2, w3, w4, w5>
<Key %Trigger%>
<Hotkey F5>
<ResizeAndPosition WoW5 WoW2 WoW3 WoW4 WoW1>
<SendLabel w1, w2, w3, w4, w5>
<Key %Trigger%>


//-----------------------------------------------------------
// DEFINE HOTKEYS FOR ALL KEY COMBINATIONS THAT WILL GET
// SENT TO BOTH WOWS. ADD MORE KEY COMBO'S IF YOU WANT.
//-----------------------------------------------------------
<KeyList MyList A-Z, 1-9, F1-F12, except W, A, S, D>


<Hotkey ScrollLockOn MyList except F1-F5; ScrollLockOn Alt MyList; ScrollLockOn shift 


MyList; ScrollLockOn ctrl MyList except r>
<SendLabel w1, w2, w3, w4, w5>
<Key %Trigger%>
//-----------------------------------------------------------
// DEFINE MOVEMENT KEYS THAT WILL GET SENT TO BOTH WOW'S.
// ADD MORE KEYS IF YOU WANT.
//-----------------------------------------------------------
<MovementHotkey ScrollLockOn space, up, down, left, right, delete>
<SendLabel w1, w2, w3, w4, w5>
<Key %Trigger%>


//-----------------------------------------------------------
// BROADCAST MOUSE CLICKS. HOLD DOWN OEM3 (ON U.S. KEYBOARDS,
// THAT'S THE SQUIGGLE KEY IN UPPPER LEFT CORNER) WHEN YOU
// WANT TO BROADCAST.
//-----------------------------------------------------------
<UseKeyAsModifier Oem3>


<Hotkey ScrollLockOn Oem3 LButton, MButton, RButton, Button4, Button5>
<SendLabel w1, w2, w3, w4, w5>
<ClickMouse %TriggerMainKey%>


//Added FTL Templates
//%1% : Master Key
// %2% : Slave Key
// %3% : Modifier
// %4% : SlavesToSend
<Template SendMasterAndSlave>
     	<SendFocusWin>
              	<Key %1%>
     	<Sendlabel %4%>
              	<Key %3% %2%>
<EndTemplate>
// %1% : master key
// %2% : slave key
// %3% : modifier
// %4% : Active window
// %5% : Slave Windows
<Template SendLeaderless>
    	<If ActiveWinIs %4%>
        	<ApplyTemplate SendMasterAndSlave "%1%" "%2%" "%3%" "%5%">
<EndTemplate>


// %1% : master-key
// %2% : slave-key
<Template FTL>
      	<Hotkey %1%> 	
               	<ApplyTemplate SendLeaderless "%1%" "%2%" "rctrl rshift" WoW1 


"w2,w3,w4,w5">
               	<ApplyTemplate SendLeaderless "%1%" "%2%" "rctrl ralt" WoW2 


"w1,w3,w4,w5">
               	<ApplyTemplate SendLeaderless "%1%" "%2%" "ralt rshift" WoW3 


"w1,w2,w4,w5">
               	<ApplyTemplate SendLeaderless "%1%" "%2%" "rctrl ralt rshift" WoW4 


"w1,w2,w3,w5">
               	<ApplyTemplate SendLeaderless "%1%" "%2%" "rctrl" WoW5 "w1,w2,w3,w4">     


 	
<EndTemplate>


//Definition of FTL keys (here 1,2,oem5 (left of 1))
// I will use for example purpose:
// 1 = follow
// 0 = assist
// 2 = dps-cast
// (to make this work 0,1,2 has to be erased from the normal keylist!)
<ApplyTemplate FTL 0 0>
<ApplyTemplate FTL 1 1>
<ApplyTemplate FTL 2 2>
<ApplyTemplate FTL 3 3>
<ApplyTemplate FTL 4 4>
<ApplyTemplate FTL 5 5>
<ApplyTemplate FTL 6 6>
<ApplyTemplate FTL 7 7>
<ApplyTemplate FTL 8 8>
<ApplyTemplate FTL 9 9>




//-----------------------------------------------------------
// FTL FORMATIONS
//-----------------------------------------------------------
<Template SendFormation>
    <If ActiveWinIs %1%>
        <SendLabel w1>
            <Key %2%>
        <SendLabel w2>
            <Key %3%>
        <SendLabel w3>
            <Key %4%>
        <SendLabel w4>
            <Key %5%>
        <SendLabel w5>
            <Key %6%>
<EndTemplate>
 
<Template Formation>
    <MovementHotkey %1%>    
        <ApplyTemplate SendFormation WoW1 "%2%" "%3%" "%4%" "%5%" "%6%">
        <ApplyTemplate SendFormation WoW2 "%3%" "%2%" "%4%" "%5%" "%6%">
        <ApplyTemplate SendFormation WoW3 "%3%" "%4%" "%2%" "%5%" "%6%">
        <ApplyTemplate SendFormation WoW4 "%3%" "%4%" "%5%" "%2%" "%6%">
        <ApplyTemplate SendFormation WoW5 "%3%" "%4%" "%5%" "%6%" "%2%">         
<EndTemplate>


// <ApplyTemplate Formation "Var1" "Var2" "Var3" "Var4" "Var5" "Var6">
// Where Var1 = key pressed, Var2 = sent to current window, Var3-6 = sent to each of the 


other windows
<ApplyTemplate Formation "Left" "Up" "W" "D" "A" "S">        // Diamond // or Pentagram 


part 1
<ApplyTemplate Formation "Shift Left" "Up" "S" "A" "D" "W">    // Reverse Diamond
<ApplyTemplate Formation "Up" "Up" "A" "D" "A" "D">            // Line part 1
<ApplyTemplate Formation "Down" "Up" "D" "A" "A" "D">        // Line part 2
<ApplyTemplate Formation "Shift Up" "Up" "D" "A" "D" "A">    // Reverse Line part 1
<ApplyTemplate Formation "Shift Down" "Up" "A" "D" "D" "A">    // Reverse Line part 2
<ApplyTemplate Formation "Right" "W" "D" "S" "W" "A">        // Pentagram part 2
<ApplyTemplate Formation "Shift Right" "S" "A" "W" "S" "D">        // Reverse Pentagram 


part 2