Couldn't find label :EngageTrigger
GrpRogue.mac@45 (Event_Attack): /if (${dir}<1) /varcalc dir ${dirt}+ 12
Couldn't find label :EngageTrigger
GrpRogue.mac@39 (Event_Attack): /if ($Target.Type.Equal[NPC]}) /face nolook
The spew always points to different lines, but always has the "Couldn't find label :EngageTrigger"
In the code below, you'll notice nowhere in it does it have any reference to an :EngageTrigger
Code: Select all
|=============================================================================
|------------------------------ GrpRogue.mac v1.9 ----------------------------
|--------------------------- Rogue Ability Autopilot -------------------------
|-----------------------------------------------------------------------------
|--- Usage: /macro GrpRogue
|--- Duck to stop attacking
|--- Does Rogue abilities during combat for you.
|--- (Pick Pockets, Disarm, Backstab, Evade, Begging)
|-----------------------------------------------------------------------------
|--- By: a_troll_01 - Last Updated (5/25/04)
|--- MQ2Dat Conversion by Wassup
|--- 'Duck to turn attack off' by Preocts
|--- Behind-Mob Calc by Jerle, ripped from Rogue Helper 4.3
|--- Enjoy!
|=============================================================================
#event Attack "Auto attack is on."
|=============================================================================
Sub Main
/echo GrpRogue.mac v.1.8 Activated!
:MainLoop
/if (${Target.Type.Equal[NPC]}) /doevents
/goto :MainLoop
/endmacro
|=============================================================================
Sub Event_Attack
/echo -( ${Target.CleanName} )- ... Level ${Target.Level} ${Target.Class.Name}
/if (${Me.Sneaking}) /doability "Sneak"
/declare i int
/declare dir int
/declare behindTarget bool
:SubLoop
/if (${Target.Type.Equal[NPC]} && !${Me.Ducking}) {
/if (${Target.Type.Equal[NPC]}) /face nolook
/if (!${Me.Combat} && !${Me.Ducking}) /attack on
/if (${Me.AbilityReady[Backstab]} && ${Target.PctHPs}<90) {
/varset behindTarget FALSE
/for i -2 to 2
/varcalc dir (${Target.Heading.Clock}+${i})%12
/if (${dir}<1) /varcalc dir ${dir}+12
/if (${dir}>12) /varcalc dir ${dir}-12
/if (${dir} == ${Me.Heading.Clock}) /varset behindTarget TRUE
/next i
/if (${behindTarget}) /doability "Backstab"
}
/if (${Me.AbilityReady[Pick Pockets]} && ${Me.AbilityReady[Hide]}) {
/attack off
/delay 1
/if (${Target.Type.Equal[NPC]} && ${Target.PctHPs}<65) /doability "Pick Pockets"
/if (${Target.Type.Equal[NPC]}) /face nolook
/if (${Target.Type.Equal[NPC]} && ${Target.PctHPs}>64) /doability "Begging"
/if (${Target.PctHPs}>20 && ${Me.Speed}==0.00) /doability "Hide"
/if (${Target.Type.Equal[NPC]}) /attack on
}
| /if (${Me.AbilityReady[Disarm]}) /doability "Disarm"
/if (${Target.Type.Equal[NPC]}) /goto :SubLoop
}
/attack off
:SneakHideLoop
/if (${Me.AbilityReady[Sneak]} && !${Target.Type.Equal[NPC]} && ${Me.AbilityReady[Hide]}) {
/delay 1s
/doability "Sneak"
/doability "Hide"
/goto :End
}
/doevents
/goto :SneakHideLoop
:End
/return
[/quote]

