Update: Changed the include to MQ2Cast_Spell_Routines.inc and the call to cast CH to "/call MQ2Cast "Complete Heal" gem2" and it now works again. Some error going on with the spell_routines.inc I guess.
This very simplistic CH macro used to work perfectly a few years ago, but I'm sure something has changed with MQ since then =) Any assistance would be appreciated. I'm sure it's something minor that changed, as the macro was very basic to begin with.
When I run the below macro I get the following error now (I left off the first output line in the MQ2 window with the name of the next cleric):

Here is the macro:
This very simplistic CH macro used to work perfectly a few years ago, but I'm sure something has changed with MQ since then =) Any assistance would be appreciated. I'm sure it's something minor that changed, as the macro was very basic to begin with.
When I run the below macro I get the following error now (I left off the first output line in the MQ2 window with the name of the next cleric):
Here is the macro:
INI:
#Turbo
#Event go "#*# next (#1#)#*#"
#include spell_routines.inc
Sub Main
/declare nextCler outer
/declare waitTime int outer
/declare chatNum int outer
/declare castNum int outer
/declare manaNum int outer
/if (!${Defined[Param0]}) {
/echo [CH] You must Specify the next cleric
/echo [CH] Unloading
/endmacro
}
/if (!${Defined[Param1]}) {
/echo [CH] You must Specify the delay
/echo [CH] Unloading
/endmacro
}
/if (!${Defined[Param2]}) {
/echo [CH] You must Specify the CH rot channel number
/echo [CH] Unloading
/endmacro
}
/if (!${Defined[Param3]}) {
/echo [CH] You must Specify the mana report channel number
/echo [CH] Unloading
/endmacro
}
/varset castNum 0
/varset nextCler ${Param0}
/echo Next Cleric in Rotation: ${nextCler}
/varset waitTime ${Param1}
/echo CH Rot Timer: ${waitTime}s
/varset chatNum ${Param2}
/echo Chat Number: ${chatNum}
/varset manaNum ${Param3}
/echo Mana report Chat: ${manaNum}
:loop
/doevents
/goto :loop
/return
Sub event_go(line, who)
/if (${who.Equal[${Me}]}) {
/varset castNum ${Math.Calc[${castNum}+1]}
/echo Waiting ${waitTime} seconds to CH
/delay ${waitTime}s
/stand
/chat ${chatNum} CH on %t, next (${nextCler})
/call cast "Complete Heal"
/sit
/if (${castNum}==5) {
/g ${Me.PctMana} Mana
/rs ${Me.PctMana} Mana
/chat ${manaNum} ${Me.PctMana} Mana
/varset castNum 0
}
}
/return
Last edited:


