• Hail, we're RedGuides. We want you to play six (yes, 6!) EverQuest characters at once. We have scripts and a friendly community to help, please join our playstyle and say hello! 👋
  • We've added LLM sections to our Terms & Rules and Resource Rules, for everyone's sanity & in-game safety.
    Read more
    a. Do not replace your voice with an LLM. This goes for your posts and your scripts. Drafting and editing with a tool is fine, but don't take you out of what you share.
    b. Do not replace your EQ character's voice with an LLM. We don't want scripts that speak over /ooc, /shout or other public channels. This has been an unwritten rule that's kept casino scripts off the site for decades, but we're now compelled to make it clear: keep automated communication private.

    Why Does RG Review Scripts?
    Nearly every LLM-written Lua script we see is making your character do impossible things, and rarely in a way that's beneficial to you. We've seen heavy server hammering, /target over impossible distances when /nav spawn would passively accomplish the same thing, a spawn search that fires 20+ times per second, and other pointless actions that are likely annoying GMs.

    You are welcome to use LLMs as a tool to structure, draft, and edit your work, but please read critically before hitting /lua run

Question - Finding KA syntax info

Version of KissAssist.mac?
12.002
When did your problem start?
ongoing
Character Role?
  1. Assist
What class is having this issue?
  1. Magician
How often does this issue occur?
Often
I'm having trouble locating documentation or information on syntax and how to code certain things in my .ini files. Things like Me.PctMana and arget.Buff[Blessing of Fervor].ID
I've found some posts and guides for KA, conditions, and for general info. I'm looking for specifics like when I know I want to check the target to see if its in combat. I want to do something like:
Cond4=${Target.CombatState.Equal[InCombat]} or Target.Attacking
It would be helpful to know what the correct variables or states are. Is there a resource for that documentation?
 
I'm having trouble locating documentation or information on syntax and how to code certain things in my .ini files. Things like Me.PctMana and arget.Buff[Blessing of Fervor].ID
I've found some posts and guides for KA, conditions, and for general info. I'm looking for specifics like when I know I want to check the target to see if its in combat. I want to do something like:
Cond4=${Target.CombatState.Equal[InCombat]} or Target.Attacking
It would be helpful to know what the correct variables or states are. Is there a resource for that documentation?
Start here: https://www.redguides.com/community/resources/conditions-and-you-coding-tutorial-information.219/

And then here: https://docs.macroquest.org/reference/top-level-objects/

And always: https://www.redguides.com/docs/projects/kissassist/
 
I'm having trouble locating documentation or information on syntax and how to code certain things in my .ini files. Things like Me.PctMana and arget.Buff[Blessing of Fervor].ID
I've found some posts and guides for KA, conditions, and for general info. I'm looking for specifics like when I know I want to check the target to see if its in combat. I want to do something like:
Cond4=${Target.CombatState.Equal[InCombat]} or Target.Attacking
It would be helpful to know what the correct variables or states are. Is there a resource for that documentation?
I usually went to the ini library and looked how others had coded their ini's. Lotsa nice ideas there too.
 
Thank you so much for this!
I totally missed the top-level-objects link. That's exactly what I needed. The conditions and you has more pseudo code and theory, which is great, but I needed the actual variable names that are used, and its all in the TLO wiki.
including:
/if ${Me.CombatState.Equal[ACTIVE]} /echo I can now sit and regen fast

@Robban I was also searching ini file examples and stealing code from them, but it doesn't always work, and I spend hours tweaking it and finding other examples.
 
Thank you so much for this!
I totally missed the top-level-objects link. That's exactly what I needed. The conditions and you has more pseudo code and theory, which is great, but I needed the actual variable names that are used, and its all in the TLO wiki.
including:
/if ${Me.CombatState.Equal[ACTIVE]} /echo I can now sit and regen fast

@Robban I was also searching ini file examples and stealing code from them, but it doesn't always work, and I spend hours tweaking it and finding other examples.
The ini's can be useful, but some are out of date, or there are errors. I know there have been typos and mistakes in ones that I've posted that I didn't pick up when testing.
If you do see an error in a reasonably up to date ini, please post in the discussion area of that ini, and the author, if still active online, will come and fix it.
My main use for published ini's has been to trawl for ideas, and then write my own implementation, particularly for classes that I'm less familiar with.
 
The ini's can be useful, but some are out of date, or there are errors.
Absolutely. Some of them are years old and represent the barest minimum of effort. (Looking at you, Almar.) In general, if you see an .ini with something like:
Buffs2=NULL Buffs3=NULL Buffs4=NULL
and so forth, pass on it. That .ini wasn't created with care.

I agree with previous posters that having https://docs.macroquest.org/reference/data-types/ and https://www.redguides.com/community/resources/categories/kissassist-ini-library.18/ bookmarked can be super helpful. Naturesong, Sic, and ctaylor22 have all been super helpful to me in the past when trying to figure out my own issues.
 
Absolutely. Some of them are years old and represent the barest minimum of effort. (Looking at you, Almar.) In general, if you see an .ini with something like:
Buffs2=NULL Buffs3=NULL Buffs4=NULL
and so forth, pass on it. That .ini wasn't created with care.

I agree with previous posters that having https://docs.macroquest.org/reference/data-types/ and https://www.redguides.com/community/resources/categories/kissassist-ini-library.18/ bookmarked can be super helpful. Naturesong, Sic, and ctaylor22 have all been super helpful to me in the past when trying to figure out my own issues.
I'm a fan of Almars ini's.
In fact any of the ini's which are simple and uncomplicated.
They cover all the classes and give a representation of basic play via spells and abilities. And no conditions.
For classes that I was unfamiliar with, I'd often look at ini's made by Almars, @toadwart and @Sifter228 to check if I'd missed any obvious buff / spell / song.
One of the other tricks I did was when making my cleric ini, run RGMercs and see what buffs and heals it was using. And then decide if I agreed with the choices the authors of that macro made.
My ones tend to be a lot more complicated, which means more moving parts, more points of failure etc.
 
Last edited:
I'm a fan of Almars ini's.
In fact any of the ini's which are simple and uncomplicated.
They cover all the classes and give a representation of basic play via spells and abilities. And no conditions.
For classes that I was unfamiliar with, I'd often look at ini's made by Almars, @toadwart and @Sifter228 to check if I'd missed any obvious buff / spell / song.
One of the other tricks I did was when making my cleric ini, run RGMercs and see what buffs and heals it was using. And then decide if I agreed with the choices the authors of that macro made.
My ones tend to be a lot more complicated, which means more moving parts, more points of failure etc.
That's absolutely fair. I like the RGMercs trick! Just a quick way to see "hmm, what do people more familiar with the class think is good?"

I think we just have a difference of opinion about Almar's - I don't love the condition-free .inis, just because to me that's ignoring one of the best things about KA that makes it worth using. (But I don't use KA to pull, so there are probably plenty of people who'd say the same about me. C'est la vie.)
 
Question - Finding KA syntax info

Users who are viewing this thread

Back
Top
Cart