• You've discovered RedGuides 📕 an EverQuest multi-boxing community 🛡️🧙🗡️. We want you to play several EQ characters at once, come join us and say hello! 👋
  • IS THIS SITE UGLY? Change the look. To dismiss this notice, click the X --->

Bard assist macro (1 Viewer)

armysoldier

Well-known member
Joined
Jun 26, 2005
RedCents
101¢
I wanted a macro that would take a second bard.. and assist the first when the mob gets below 70% health

Once i get this working properly I will add the loot section of the mac.
but I usually have 3 toons in the FH instanced.. so 3rd toon could use the lootwhore.mac just fine

Problems

1. The if statement does not seem to work right.. it calls the sub kill no matter what the HP of the target

Rich (BB code):
/if (${Target.PctHPs}<=69) /call kill

2. If the mob dies or the assisting bard has no target I want it to twist selo and regen... and then go back to the main part of the mac and start over...

It does not seem to work:

Rich (BB code):
Sub Event_Exp
       /echo target gone gonna regen till i get another
       /twist 1 7
       /goto :begin
/return

3. I would like to add so that usage is /mac assist Name

and the string name can then be used in the macro .. and one less line for the user to edit



Rich (BB code):
|--- usage /mac Assist
|--- Songs 1 = Selo 2-6 = Dots 7 = Regen
|--- CTRL-G to bring up find window
|--- Edit Line 24 Main bards name
|--- Edit line 110 with your twist (incase u don't have 5 dots)


#turbo

#Event Zoned "#*#You have entered#*#"
#Event Exp "#*#has been slain by#*#"
#Event Exp "#*#You must first select#*#"

|--- Set for FH atm
|--- Warp to start of circle
|--- assists main bard
|--- Calls for mob Check
Sub Main
        /echo starting my circle
        /warp loc -580.50 162.80 2.15
        /face heading 270
        /delay 5s
	/circle on 21
        /keypress forward hold
	:begin
        /call GMcheck
        /doevents
        /if (${Me.PctHPs}<=30) /call succor
        /if (${Me.PctHPs}<=80) /call regen
        /echo assist and check mob
        /assist InsertNameHere
        /call Mob
        /doevents
/return

|--- Duh standard GM check - add Fade if you have it
Sub GMcheck  
        /if (${Spawn[gm].ID}) {  
        /echo Gm detected 
        /mqlog GM detected ending macro
        /beep 
        /beep 
        /beep  
        /endmac 
        /unload 
        /q
  }
  /return

|--- Reduces your dots and adds a regen 
Sub regen
	/echo getting beat on need some regen
        /twist 1 2 3 7
	:regenloop
	/doevents
	/if (${Me.PctHPs}<=30) /call succor
	/if (${Me.PctHPs}>=95) {
	/call sing
        /twist adjust 5
/return
}
/goto :regenloop
/return

|--- Warps off world and regens
Sub succor
	/echo Gonna die .. time to save myself
        /warp loc 245 -33 0
	/circle off
	/cast 7 
        /sit
	/delay 60
	:loopheal
	/if (${Me.PctHPs}>80) {
	/stand
        /face heading 270
	/warp loc -580.50 162.80 2.15
	/circle on 21
	/keypress forward hold
	/call sing
        /twist adjust 5
/return
}
/delay 60
/goto :loopheal
/return

|--- Performs any checks for mobs (lvl, names etc etc)
|--- Calls Kill sub to start twisting
Sub Mob
        /echo checking mobs
        /doevents
        /if (${Target.PctHPs}<=69) /call kill
	/if (${Target.Level}>67) /keypress esc 
	/if (${Target.Distance}>220) /keypress esc
        |---Add any mob checks here
	/doevents
        /delay 2s
/return

Sub Kill
        /echo time to help kill and earn this EXP
        /call sing
        :loop
        /if (${Me.PctHPs}<=30) /call succor
        /if (${Me.PctHPs}<=80) /call regen
        /if (${Target.PctHPs}<=5) {
	/return
	/echo Target gonna die soon
}
        /doevents
        /goto :loop
/return
        

Sub sing
        /twist 1 2 3 4 5 6
/return

Sub Event_Zoned 
       /echo died or instanced ended.. time to go 
       /twist off  
       /circle off  
       /delay 5s  
       /sit  
       /camp desk  
       /endmac 
/return

Sub Event_Exp
       /echo target gone gonna regen till i get another
       /twist 1 7
       /goto :begin
/return

/return

Oh btw the macro is ending unexpectedly also

PLEASE help .. and see what u can do

thanks
 
1) change it to
Rich (BB code):
/if (${Target.PctHPs}<70) /call kill
The macro's I've written of late are having problems with >= and <=, dunno why.

2) Try adding a
Rich (BB code):
/if (!${Target.ID}) /call Event_Exp
After where it assists

3) Change the line
Rich (BB code):
Sub Main
to
Rich (BB code):
Sub Main(string TheAssist)
and
Rich (BB code):
/assist InsertNameHere
to
Rich (BB code):
/assist (${TheAssist})
 
This is current codewith those changes...

it does not get a target

Rich (BB code):
|--- usage /mac BardAssist {Name}
|--- Songs 1 = Selo 2-6 = Dots 7 = Regen
|--- CTRL-G to bring up find window
|--- Edit Line 24 Main bards name
|--- Edit line 110 with your twist (incase u don't have 5 dots)


#turbo

#Event Zoned "#*#You have entered#*#"
#Event Exp "#*#has been slain by#*#"
#Event Exp "#*#You must first select#*#"

|--- Set for FH atm
|--- Warp to start of circle
|--- assists main bard
|--- Calls for mob Check
Sub Main(string TheAssist)
        /echo starting my circle
        /warp loc -580.50 162.80 2.15
        /face heading 270
        /delay 5s
	/circle on 21
        /keypress forward hold
	:begin
        /call GMcheck
        /doevents
        /if (${Me.PctHPs}<=30) /call succor
        /if (${Me.PctHPs}<=80) /call regen
        /echo assist and check mob
        /assist (${TheAssist})
        /call Mob
        /doevents
/return

|--- Duh standard GM check - add Fade if you have it
Sub GMcheck  
        /if (${Spawn[gm].ID}) {  
        /echo Gm detected 
        /mqlog GM detected ending macro
        /beep 
        /beep 
        /beep  
        /endmac 
        /unload 
        /q
  }
  /return

|--- Reduces your dots and adds a regen 
Sub regen
	/echo getting beat on need some regen
        /twist 1 2 3 7
	:regenloop
	/doevents
	/if (${Me.PctHPs}<=30) /call succor
	/if (${Me.PctHPs}>=95) {
	/call sing
        /twist adjust 5
/return
}
/goto :regenloop
/return

|--- Warps off world and regens
Sub succor
	/echo Gonna die .. time to save myself
        /warp loc 245 -33 0
	/circle off
	/cast 7 
        /sit
	/delay 60
	:loopheal
	/if (${Me.PctHPs}>80) {
	/stand
        /face heading 270
	/warp loc -580.50 162.80 2.15
	/circle on 21
	/keypress forward hold
	/call sing
        /twist adjust 5
/return
}
/delay 60
/goto :loopheal
/return

|--- Performs any checks for mobs (lvl, names etc etc)
|--- Calls Kill sub to start twisting
Sub Mob
        /echo checking mobs
        /doevents
        /if (${Target.PctHPs}<70) /call kill
	/if (${Target.Level}>67) /keypress esc 
	/if (${Target.Distance}>220) /keypress esc
        |---Add any mob checks here
	/doevents
        /delay 2s
/return

Sub Kill
        /echo time to help kill and earn this EXP
        /call sing
        :loop
        /if (${Me.PctHPs}<=30) /call succor
        /if (${Me.PctHPs}<=80) /call regen
        /if (${Target.PctHPs}<=5) {
	/return
	/echo Target gonna die soon
}
        /doevents
        /goto :loop
/return
        

Sub sing
        /twist 1 2 3 4 5 6
/return

Sub Event_Zoned 
       /echo died or instanced ended.. time to go 
       /twist off  
       /circle off  
       /delay 5s  
       /sit  
       /camp desk  
       /endmac 
/return

Sub Event_Exp
       /echo target gone gonna regen till i get another
       /twist 1 7
       /goto :begin
/return

/return

I tried

Rich (BB code):
        /target (${TheAssist)
        /assist

and it didn't work either.. i added an /echo (${TheAssist}) and it came up right name

just not getting target .. also

REMMED out

Rich (BB code):
|	/if (${Target.PctHPs}<=5) {
|	/return
|	/echo Target gonna die soon
|}

because the macro hangs up in the kill sub ..starts the twist.. and then ends..i thought it might be this..but ..it still does it

/sigh
 
armysoldier said:
I tried

Rich (BB code):
        /target (${TheAssist)
        /assist

and it didn't work either.. i added an /echo (${TheAssist}) and it came up right name

Your target line should be /target (${TheAssist})

You were missing a closing }. However, the original Sub Main looks fine, not sure why that wouldn't be working. You're calling the mac as "/mac bardassist Fred" right? You have to pass the name to the mac, you can't just have Fred targetted.
 
You were missing a closing }.

Typo on my part sorry .. in the full code and on my puter its right


You're calling the mac as "/mac bardassist Fred" right? You have to pass the name to the mac, you can't just have Fred targetted.

Exactly right Quild... its just a nice to have.. to keep the users from having to edit one more thing

your also right this should work .. and i am not sure why its not.. even with the name in there its stoping as soon as it calls sing.. the twist sub

i am still playing and stuff.. trying to get this bugger to work
 
NOICE!

Can't wait.

Army, if you feel up to it, and you get the assist working right, wanna add the lootwhore to all this on the mac for the second bard?

Thanks!
 
Don't bother Army. My buddy and I are in the same DZ ATM, and our dots will not stack.

He is 65 and his overwrite me everytime.

Always thought dots were supposed to stack. I know necros dots can stack.
 
I am trying do semi same thing but ran into same problems. Diffference was going to use a necro out of group to send pet when mob hit a % i wanted. and necro would loot corpse.

necro rogue pet for the win!
 
Bard assist macro

Users who are viewing this thread

Back
Top