• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Problem - Undeclared variable - downshit help

Joined
Apr 9, 2016
RedCents
855¢
I'm running into the old "undeclared variable" issue on my enchanter and have traced the problem down to the following 2 downshits in my mqmelee file, but I'm having trouble figuring out how to fix them:

downshit8=/if (${Me.CombatState.Equal[COMBAT]} && ${Target.Named} && ${Legion of Lucem Rk. II].ID} && ${Cast.Ready[Legion of Lucem Rk. II]}) /casting "Legion of Lucem Rk. II"
downshit9=/if (!${Me.CombatState.Equal[COMBAT]} && ${Me.SpellReady[Enticer's Unity Rk. II]} && !${Me.Buff[Polyrefractive Rune Rk. II].ID} && !${Me.Invis} && ${Me.PctMana}>10 && !${Polyrefractive Rune Rk. II].ID} && !${Me.Moving}) /cast "Enticer's Unity Rk. II"

I'm assuming it has something to do with the "!${Polyrefractive Rune Rk. II].ID}" and "${Legion of Lucem Rk. II].ID}" statements, as the error cuts off the actual Rank #. Any ideas?
 
arent you supposed to use
Rich (BB code):
${Me.Spell[Polyrefractive Rune].ID} or ${Me.Buff[Polyrefractive Rune].ID}
to lock on to any version of the spell? I might be wrong but should be close. If you look into the conditionals it should give an example of what I wrote to define a buff you have and make it Rk proof.
 
Rich (BB code):
downshit8=/if (${Me.CombatState.Equal[COMBAT]} && ${Target.Named} && !${Me.Buff[Legion of Lucem].ID} && ${Cast.Ready[${Spell[Legion of Lucem].RankName}]}) /casting "${Spell[Legion of Lucem].RankName}"

downshit9=/if (!${Me.CombatState.Equal[COMBAT]} && ${Me.SpellReady[${Spell[Enticer's Unity].RankName}]} && !${Me.Buff[Polyrefractive Rune].ID} && !${Me.Invis} && ${Me.PctMana}>10 && !${Me.Moving}) /cast "${Spell[Enticer's Unity].RankName}"
 
Problem - Undeclared variable - downshit help

Users who are viewing this thread

Back
Top
Cart