• 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

Question - How do you return RankName in a LUA

Joined
Jun 21, 2019
RedCents
1,591¢
Can someone help me with doing RankName in Lua?

trying to do the equivalent of
${Me.CombatAbilityReady[${Spell[Breather].RankName}]}

I can manually get it with
mq.TLO.Me.CombatAbilityReady('Breather Rk. III')()

but was trying to use the .RankName to be more covering in the script. The only place I can find an example was on a spell, and it looked like they pulled the RankName from the spell book itself instead of in the command.

Thanks for any help.
 
if you check mq.TLO.Spell('Breather').RankName() it will return the rank you have
 
Thank you Sic,
not sure it's the prettiest way but:
mq.TLO.Me.CombatAbilityReady(mq.TLO.Spell('Breather').RankName())()

worked.
 
Question - How do you return RankName in a LUA

Users who are viewing this thread

Back
Top
Cart