Kill Add - Extended Target Window

Discussion in 'Macros' started by ultrax, Apr 26, 2022.

  1. ultrax

    ultrax Chetari Dominator

    Messages:
    435
    macro that will send a group to kill the next target on the Extended Target Window that you currently aren't attacking.

    Code:
    | 2022-1-2 Ultrax
    | Sets a group of Bots onto the next add on Extended Target Window
    
    #turbo 40
    
    Sub Main
    
    /declare KillThisTar    int    outer
    
    /echo Kill This Team Activated!
    ||||||||||||||||||||||||||||||||||||||||||
    /varset KillThisTar ${Me.XTarget[1].ID}
    /if (${Target.ID} == ${Me.XTarget[1].ID} && ${Me.XTarget[2].ID}) /varset KillThisTar ${Me.XTarget[2].ID}
    
    /echo ${KillThisTar}
    /call GetKillTeam
    
    /endmacro
    /return
    
    
    
    ||||||||||||||||| Add or Remove from the Add Kill Team |||||||||||||
    Sub GetKillTeam
    
        /bct Zeak //target ID ${KillThisTar}
        /bct Qbert //target ID ${KillThisTar}
        /bct Zorosan //target ID ${KillThisTar}
        /bct Slicem //target ID ${KillThisTar}
        /bct Longjohn //target ID ${KillThisTar}
        
        /delay 5
        
        /bct Zeak //killthis
        /bct Qbert //killthis
        /bct Zorosan //killthis
        /bct Slicem //killthis
        /bct Longjohn //killthis
        
    /return
    
    /endmacro