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

Macro Help (1 Viewer)

deeken

New member
Joined
Aug 9, 2005
RedCents
Making a very basic CH rot macro
Rich (BB code):
#include spell_routines.inc 
#include ChatParse.inc 


#event CH "#*#healchannel:1, 'Triggermessage#*#"
#event oor "#*#Your target is out of range, get closer!#*#"

Sub Main
/echo CH Rot Macro Started
:loop
   /if (!${Target.ID}) {
       /tar pc tank4
       /tar pc tank3
       /tar pc tank2
       /tar pc tank1
}
/doevents
/goto :loop

Sub event_CH
/keypress x

Sub event_oor
/beep
/beep

Its apparently something i've overlooked and i'm just to retarded to see it atm. Thanks.
 
A few things ...

Rich (BB code):
Sub event_CH
/keypress x

Why not use the function in spell_routines.inc ..

Rich (BB code):
Sub event_CH
/call cast "Complete Heal"

Why do you loop through four targets? The way it is written you heal would randomly select the tank, just depends which target your toon has targeted when it receives the chat event.
 
Rich (BB code):
#include spell_routines.inc 
#include ChatParse.inc 

#event CH "#*#healchannel:1, 'Triggermessage#*#"
#event oor "#*#Your target is out of range, get closer!#*#"

Sub Main
/echo CH Rot Macro Started
:loop
   /if (!${Target.ID}) {
       /tar pc tank4
       /tar pc tank3
       /tar pc tank2
       /tar pc tank1
}
/doevents
/goto :loop
/return

Sub event_CH
/call cast "Complete Heal"
/return

Sub event_oor
/beep
/beep
/return

Would fix it as long as you are not healing until you see that hotkey that tells you to heal.

Alternativily:

Rich (BB code):
#include spell_routines.inc
#include ChatParse.inc 

#event oor "#*#Your target is out of range, get closer!#*#"

Sub Main
/declare MobWeKilling int outer ${Target.ID}
/declare MobWeKillingName string local ${Target.CleanName}
/declare CountTo string outer 3s

/echo CH Rot Macro Started will count to ${CountTo} then heal.
/echo Will assist ${MobWeKillingName} to heal whoever has agro at that time.
/echo To switch tanks at any time prior to a heal press escape to clear target
:loop
   /if (!${Target.ID}) {
          /target ID ${MobWeKilling}
         /assist
}
/call CH
/doevents
/goto :loop
/return

Sub CH
/call cast "Complete Heal"
/delay ${CountTo}
/return

Sub event_oor
/beep
/beep
/return

Will cast heal, wait "CountTo" seconds and then cast again. It will assist the mob you have targeted when you start the macro to get a target if you don't have a target already.
 
Its for a CH rot so I want it to only heal when it sees the message in the CH channel and use the keypress thats assigned to my normal CH key. As for the targeting it should only make the targeting check if it looses target right ? Then target back down the tankline until it hits the last tank thats alive right ?

So now I have this that should work pending what Alatyami said about the targeting.
Rich (BB code):
#include spell_routines.inc 
#include ChatParse.inc 

#event CH "#*#healchannel:1, 'Triggermessage#*#"
#event oor "#*#Your target is out of range, get closer!#*#"

Sub Main
/echo CH Rot Macro Started
:loop
   /if (!${Target.ID}) {
       /tar pc tank4
       /tar pc tank3
       /tar pc tank2
       /tar pc tank1
}
/doevents
/goto :loop
/return

Sub event_CH
/keypress x
/return

Sub event_oor
/beep
/beep
/return
 
Macro Help

Users who are viewing this thread

Back
Top