Moderator: MacroQuest Developers

Code: Select all
${Spell[${DebuffSpell}].Duration}Code: Select all
/varset DebuffSpell Bond of DeathIf you mis-spell the spell's name, you don't get any timer information - so you got it right in the macro.guy wrote:where does this get it's value?
Code: Select all
${Spell[${DebuffSpell}].Duration}
I am getting the wrong time for bond of death and only bond of death, so I can only guess that it's using the wrong value to calculate the time. I'm going to go mess with it a bit more in game. It gives me 24 seconds as the duration.
I'm pretty sure I spelled it correctlyCode: Select all
/varset DebuffSpell Bond of Death
Code: Select all
Sub ReportCast
/echo ${DebuffSpell}
/if (${groupmode}==1 && ${LastSpell.Equal[${DebuffSpell}]}) {
/delay 2s
/gsay ${SpellType} on ${Target.CleanName} with ${DebuffSpell}. ${SpellInfo}.
}
/return
Code: Select all
Sub ReportCast
/echo ${DebuffSpell}
/if (${groupmode}==1 && ${LastSpell.Equal[${DebuffSpell}]}) {
/delay 2s
[color=red] /gsay ${SpellType} on ${If[${Target.CleanName.NotEqual["NULL"]},${Target.CleanName},"Target"]} with ${DebuffSpell}. ${SpellInfo}.[/color]
}
/return