• 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 - Trying to read status of AA Ability.

Overtimer

Seasoned veteran member
Joined
May 8, 2021
RedCents
748¢
Ok, I have asked in discord and I am still stuck. Some how, my brain is stuck stupid on this code.

I want to see if Bold Attacks is enabled, before I toggle it when I do not want to disabled it.

if mq.TLO.Me.AbilityReady('bold attacks')() == "false" then
mq.cmd('/alt act 793')

end
 
the above is checking and trying to use the aa if it isn't ready.
you would want something like
also i think you want AltAbilityReady

Lua:
if mq.TLO.Me.AltAbilityReady('Bold Attack')() then
-- do some stuff
end
 
This did not work for me.

I am not reading if the aa is ready I need to know if is enabled or disabled.
 
Rather than referencing 'Bold Attacks', try referencing 'Bold Attacks: Enabled' and 'Bold Attacks: Disabled'.

${Me.AltAbilityReady[Bold Attacks: Enabled]} / ${Me.AltAbilityReady[Bold Attacks: Disabled]} gives me the correct boolean value based on the state
 
Question - Trying to read status of AA Ability.

Users who are viewing this thread

Back
Top
Cart