• 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 - Potion Cures

I am working on a very specific HA (ashanti decay whatever its called) in TBM and I need to make it so all my toons STOP EVERYHING THEY ARE DOING IMMEDIATELY and drink a cure potion whenever they get certain debuffs on. If they do not they will die. How do you build it into an INI?
 
I am working on a very specific HA (ashanti decay whatever its called) in TBM and I need to make it so all my toons STOP EVERYHING THEY ARE DOING IMMEDIATELY and drink a cure potion whenever they get certain debuffs on. If they do not they will die. How do you build it into an INI?
I would use mq2react

INI:
  CurePotion:
    action: /useitem thepotion
    condition: >-
      ${Me.Song[blablabla].ID} && !${Me.Moving} || ${Me.Buff[blablalba].ID} && !${Me.Moving}
 
I would use mq2react

INI:
  CurePotion:
    action: /useitem thepotion
    condition: >-
      ${Me.Song[blablabla].ID} && !${Me.Moving} || ${Me.Buff[blablalba].ID} && !${Me.Moving}

Whats the point of the ${Me.Song[blablabla].ID} && !${Me.Moving} parts? Im not a bard, so im not sure what it is telling it to do and im totally unfamilar with mq2racts.

This is what I got so far:

INI:
  TankName:
   CurePotion1:
    action: /useitem thepotionname1
    condition: >-
      ${Me.Song[blablabla].ID} && !${Me.Moving} || ${Me.Buff[Withering Physicality XIII].ID} && !${Me.Moving}
   CurePotion2:
    action: /useitem thepotionname2
    condition: >-
      ${Me.Song[blablabla].ID} && !${Me.Moving} || ${Me.Buff[Withering Limbs XIII].ID} && !${Me.Moving}
 
Whats the point of the ${Me.Song[blablabla].ID} && !${Me.Moving} parts? Im not a bard, so im not sure what it is telling it to do and im totally unfamilar with mq2racts.
Depends where the debuff is. Sometimes it can be in the song window. The moving part is if the potion isnt insta cast.
 
Last edited:
Depends where the debuff is. Sometimes it can be in the song window. The moving part is if the potion isnt insta cast.

So I can take the song part off if its a regular debuff?

Also, If i'm making a different version of this for each of my toons cause they need a different debuff, I can just copy and paste it a few times and change the details in the same setting file?
 
Depends where the debuff is. Sometimes it can be in the song window. The moving part is if the potion isnt insta cast.

INI:
TankName: 
   CurePotion1:
    action: /useitem Distillate of Immunization XIII
    condition: >-
      ${Me.Song[Withering Physicality XIII].ID} && !${Me.Moving} || ${Me.Buff[Withering Physicality XIII].ID} && !${Me.Moving}
   CurePotion2:
    action: /useitem Distillate of Immunization XIII
    condition: >-
      ${Me.Song[Withering Limbs XIII].ID} && !${Me.Moving} || ${Me.Buff[Withering Limbs XIII].ID} && !${Me.Moving}
   CurePotion3:
    action: /useitem thepotionname3
    condition: >-
      ${Me.Song[Enfeeblement].ID} && !${Me.Moving} || ${Me.Buff[Enfeeblement].ID} && !${Me.Moving}


Healer1Name: 
   CureAA1:
    action: /alt act 626
    condition: >-
      ${Me.Song[Withering Physicality XIII].ID} && !${Me.Moving} || ${Me.Buff[Withering Physicality XIII].ID} && !${Me.Moving}
   CureAA2:
    action: /alt act 626
    condition: >-
      ${Me.Song[Enfeeblement].ID} && !${Me.Moving} || ${Me.Buff[Enfeeblement].ID} && !${Me.Moving} 
   CurePotion1:
    action: /useitem Distillate of Immunization XIII
    condition: >-
      ${Me.Song[Withering Physicality XIII].ID} && !${Me.Moving} || ${Me.Buff[Withering Physicality XIII].ID} && !${Me.Moving}
   CurePotion2:
    action: /useitem Distillate of Immunization XIII
    condition: >-
      ${Me.Song[Withering Faith XIII].ID} && !${Me.Moving} || ${Me.Buff[Withering Faith XIII].ID} && !${Me.Moving}
   CurePotion3:
    action: /useitem thepotionname3
    condition: >-
      ${Me.Song[Enfeeblement].ID} && !${Me.Moving} || ${Me.Buff[Enfeeblement].ID} && !${Me.Moving}


Healer2Name: 
   CureAA1:
    action: /alt act 626
    condition: >-
      ${Me.Song[Withering Physicality XIII].ID} && !${Me.Moving} || ${Me.Buff[Withering Physicality XIII].ID} && !${Me.Moving}
   CureAA2:
    action: /alt act 626
    condition: >-
      ${Me.Song[Enfeeblement].ID} && !${Me.Moving} || ${Me.Buff[Enfeeblement].ID} && !${Me.Moving}
   CurePotion1:
    action: /useitem Distillate of Immunization XIII
    condition: >-
      ${Me.Song[Withering Physicality XIII].ID} && !${Me.Moving} || ${Me.Buff[Withering Physicality XIII].ID} && !${Me.Moving}
   CurePotion2:
    action: /useitem Distillate of Immunization XIII
    condition: >-
      ${Me.Song[Withering Faith XIII].ID} && !${Me.Moving} || ${Me.Buff[Withering Faith XIII].ID} && !${Me.Moving}
   CurePotion3:
    action: /useitem thepotionname3
    condition: >-
      ${Me.Song[Enfeeblement].ID} && !${Me.Moving} || ${Me.Buff[Enfeeblement].ID} && !${Me.Moving}


  DPSName: 
   CurePotion1:
    action: /useitem Distillate of Immunization XIII
    condition: >-
      ${Me.Song[Withering Physicality XIII].ID} && !${Me.Moving} || ${Me.Buff[Withering Physicality XIII].ID} && !${Me.Moving}
   CurePotion2:
    action: /useitem Distillate of Immunization XIII
    condition: >-
      ${Me.Song[Withering Limbs XIII].ID} && !${Me.Moving} || ${Me.Buff[Withering Limbs XIII].ID} && !${Me.Moving}
   CurePotion3:
    action: /useitem thepotionname3
    condition: >-
      ${Me.Song[Enfeeblement].ID} && !${Me.Moving} || ${Me.Buff[Enfeeblement].ID} && !${Me.Moving}


This look right to you? Other than player names and potions?
 
Last edited:
This look right to you? Other than player names and potions?
actually no, you got the setup wrong.
If you do a /react add test
the file will be created and you will se how the file should be setup (MQ2React.yaml)

its something like:
YOURservername:
Toonname1:
BstEpic: Enabled
ClickBP: Enabled
Toonname2:
BstEpic: Disabled
ClickBP: Enabled
reacts:
BstEpic:
action: /useitem Spiritcaller Totem of the Feral
condition: >-
${Me.CombatState.Equal[COMBAT]} && ${Cast.Ready[Spiritcaller Totem
of the Feral]}
ClickBP:
action: "/useitem ${InvSlot[Chest].Item.Name}"
condition: >-
${Me.CombatState.Equal[COMBAT]} && ${Target.Named} && !${Me.Moving}
&& ${Cast.Ready[${InvSlot[Chest].Item.Name}]}
 
actually no, you got the setup wrong.
If you do a /react add test
the file will be created and you will se how the file should be setup (MQ2React.yaml)

its something like:
......

I created my mq2react.yaml file with the program and what I wrote is what it gave me for cure potions.

It didn't give me this part:
INI:
Toonname1:
   BstEpic: Enabled
   ClickBP: Enabled
   Toonname2:
   BstEpic: Disabled
   ClickBP: Enabled

Edit... after looking through the examples on the forums, nobody else has them either.

 
Last edited:
Yaml
YAML:
Toonname1:
   BstEpic: Enabled
   ClickBP: Enabled
Toonname2:
   BstEpic: Disabled
   ClickBP: Enabled

Is like mine was created as well using /react write, so presume this is the actual style.

In my reacts I posted here I just didn't post this part, as I didn't want to write my toons names .... likely others doing so as well.
If you create fresh yaml with "/react write" its styled that way.

In the upper part you have your toon names and in this section you just select, which reacts are valid/enabled for that toon.
By default reacts are disabled, so all reacts not explicit enabled here do not count for the toon.

In my yaml I simply start the class specific reacts with the classes shortcut like "ShmBP", whereas the reacts usable by mutliple classes just have generic names like "ClickBP".
As for most classes, clicking the BP is fine at the start of a named fight, the shamans bp delivers a nice Groupheal, which I want to be activated when needed.

Starting the classspecific reacts with the classes shortcut will also group them nicely together when using "/react write".

so in the upper sample the modification could be:

Code:
MyClericsName:
    ClrCure1: enabled
    ClrCure2: enabled
MyTanksName:
    WarCure1: enabled
    WarCure2: enabled

ClrCure1:
    ....
ClrCure2:
    ....

WarCure1:
    ....
WarCure2:
    ....

If you write your toons name in the reacts as well, you will have to modify them prior to publish them here, if you feel they might be useful for others as well.
 
Question - Potion Cures

Users who are viewing this thread

Back
Top
Cart