Hi,

I have been using AHK codes for years. No problem in coding, and no problem in killing any bosses that boxers are capable of killing.

I am not an expert in AHK as I modify the scripts only once in a while, but here's what I would recommend

1) Get winid of all clients first
2) Use loops whenever possible for easy maintainability and enhancement.

Code:
gWinTitle1 = WOW1 - CP         ; Client window title renamed to this after launch
gWinTitle2 = WOW2 - YX         ; Allows calling of fnGetWinId whenever I need to drop or add alt during game play
                               ; continue with the rest of alts

fnGetWinId()
{
    Global
    local wt


    WoWWinId := 0


    loop, %MaxAcct%
    {
        wt := gWinTitle%A_Index%
        WinGet, Idtemp, List, %wt%
        if Idtemp > 0 
        {
            WoWWinId%A_Index% := Idtemp1
            WoWWinId := WoWWinId + 1
        }
        else
            WoWWinId%A_Index% := 0
    }


}
Code:
ClonePush(strKeys, clone)
{
    ControlSend, , %strKeys%, ahk_id %clone%
}


ClonesPush(strKeys)
{
    Global
    Loop, %MaxAcct%
    {
        this_id := WowWinId%A_Index%
        IfWinNotActive, ahk_id %this_id%                      ; prevent sending key twice for current active client
            ClonePush( strKeys, this_id )
    }
}

~6::ClonesPush("{6 down}{6 up}")
All coding for the key broadcasting is thus very simple. Comments added out of memory to assist your code reading. Hope it still serves.