• 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 --->

Trigger range attacks with a gesture by the MA (1 Viewer)

dragonfire

Member
Joined
Dec 14, 2006
RedCents
722¢
I am trying to get this little macro to work.

Rich (BB code):
|---------------------------------------------------------- 
|rangeassist.mac 
|Simple assist macro to skill up range skills when PLing
| 
|Usage: /mac rangeassist 
| 
|Effect: watches for specific gesture from MA and will start
|autofire and pet attack
| 
|By Dragonfire 
|Date: 05/06/2007
|---------------------------------------------------------- 

#Event Triggermsg "#1#makes a rude gesture at#2#."


Sub Main

	/echo Range Assist started
	/declare Mob
	
:loop
	/doevents
/goto :loop

/return	

Sub Event_Triggermsg(triggertext,playername)
	/echo ${playername} needs some assistance.
	/delay 2s
	/assist ${playername}
	/autofire
	/pet attack
/return


It /echos well, but will not assist. I have looked at the MQ2 syntax guide and cannot find a command that lets me pass through a command.

Multiline and DoCommand both give me parse errors.

The above just does nothing.

How do you pass EQ commands through?

I did see that the /assist line was used in several macros posted here. But I am not having any luck getting it to work.

This noob would be grateful for any guidance.
 
Last edited:
Re: Help with Code Please

First of all, does /echo ${playername} work correctly after trigger gesture?

If so, then
Try adding /delay 1s after /assist ${playername}

Since assist is EQ not MQ command it does tend to lag. I know from my MQless days that my EQ macros always had to have pauses after assist.
 
Re: Help with Code Please

playj said:
First of all, does /echo ${playername} work correctly after trigger gesture?

If so, then
Try adding /delay 1s after /assist ${playername}

Since assist is EQ not MQ command it does tend to lag. I know from my MQless days that my EQ macros always had to have pauses after assist.
here is what I do in my macros.
Rich (BB code):
 /call assist
 
 sub assist
 /squelch /target clear
 /delay !${Target.ID}
 /assist ${playername}
 /delay 1s ${Target.ID}
 /return
 
I finally got it to work but I don't like the results (yeah, that's why I did not go into programming for a living, it always had to be perfect). I had to type the MA's name into the code. I could not get any variable even declared global to be passed through to EQ. I tried to assign ${player} to another variable, and every permutation I could think of. This code echo's the MA's name perfectly, and assists as designed, but I want to know why I can't pass the MA's name through with a variable to the /assist line.

Rich (BB code):
|---------------------------------------------------------- 
|rangeassist.mac 
|Simple assist macro to skill up range skills when PLing
| 
|Usage: /mac rangeassist 
| 
|Effect: watches for specific gesture from MA and will start
|autofire and pet attack
| 
|By Dragonfire 
|Date: 05/06/2007
|---------------------------------------------------------- 

#Event Triggermsg "#1#makes a rude gesture at#2#."


Sub Main
	/deletevar * global
	/echo Range Assist started

:loop
	/doevents
/goto :loop

/return	

Sub Event_Triggermsg(triggertext,player)
	/echo ${player} needs some assistance.
	/delay 1s
	/assist SuperChar
	/delay 1s
	/autofire
	/delay 1s
	/pet attack
/return

These are my first attempts at macros, so please be patient with the Noob and thanks for the responses.
 
Try this and have your main tank targeted when starting the macro, should work.

Rich (BB code):
|---------------------------------------------------------- 
|rangeassist.mac 
|Simple assist macro to skill up range skills when PLing
| 
|Usage: /mac rangeassist 
| 
|Effect: watches for specific gesture from MA and will start
|autofire and pet attack
| 
|By Dragonfire 
|Date: 05/06/2007
|---------------------------------------------------------- 

#Event Triggermsg "#1#makes a rude gesture at#2#."


Sub Main
   /declare maintank       string outer ${Target.CleanName}
   /declare maintanksID    int outer ${Target.ID}

   /if (${Target.Type.NotEqual["PC"]}) /call End
	/echo Range Assist started
             /popup Range Assist Started!

:loop
	/doevents
/goto :loop

/return	

Sub Event_Triggermsg
	/echo ${maintank} needs some assistance.
	/delay 1s
	/assist ${maintank}
	/delay 1s
	/autofire
	/delay 1s
	/pet attack
/return


Sub End
  /echo Please have a PLAYER targeted and restart this macro!
  /beep
  /popup Please have a PLAYER targeted and restart this macro!
/end
 
Trigger range attacks with a gesture by the MA

Users who are viewing this thread

Back
Top