• 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

Tip - Useful Conditions and some useful examples (Feel free to add things and I could update if this turns out useful)

I was tired of looking around for conditions and their appropriate uses. I went thru a bunch of my INI's and some others just briefly. I came up with a list of conditions and some examples used below. If you would like to post others, I will maintain the top post to help out others and make them more knowledgeable.

I know you can look all this up in the Wiki and various other spots, but how to write them out or use them is not obvious to most of use unuber code writers.




# Useful Conditions (True Conditions = $ -- to make False Conditions = !$)
# && means AND -- while || means OR

' ME

${Me.Invis}
${Me.Moving}
${Me.Hovering}
${Me.ActiveDisc.ID}


${Me.Buff[${Spell[SPELL NAME HERE AS IT APPEARS IN BUFF WINDOW].RankName}].ID}
${Me.Song[SPELL NAME HERE AS IT APPEARS IN SONG WINDOW]].ID}

${Me.XTarget}
${Me.Mount.ID}

${Me.PctHPs}
${Me.CurrentHPs}

${Me.PctMana}
${Math.Calc[${Me.MaxMana}-${Me.CurrentMana}].Int} > 65000

${Me.PctEndurance}

${Me.XTHaterCount}
${Me.XTAggroCount[99]}
${Me.CombatState.Equal[COMBAT]}

${SpawnCount[${Me.Name}]}

${Me.SpellReady[SPELL NAME HERE]}
${Me.AltAbilityReady[ALTERNATE ABILITY NAME HERE]}
${Me.CombatAbilityReady[DISCIPLINE NAME HERE]}

${Me.Buff[SPELL NAME HERE AS IT APPEARS IN BUFF WINDOW].Duration.TotalMinutes} < 1

' Group

${Group.Injured[70]}
${Group.MainAssist.PctHPs}
${Group.Leader.Distance3D}
${Me.GroupAssistTarget.Named}


' Target

${Target.Named}
${Target.PctHPs}
${Target.Distance3D}
${Target.Type.NotEqual[Corpse]}
${SpawnCount[npc radius 25 zradius 10]}
${Spawn[${Target.ID}].NearestSpawn[20,pcpet radius 35].ID}

${Select[${Target.ConColor},YELLOW,RED]}
${Target.Buff[SPELL NAME HERE AS IT APPEARS IN BUFF WINDOW].ID}
${Target.ID} && ${Target.BuffsPopulated} && !${Target.Slowed.ID}



' Item
${FindItemCount[=Pod of Water]}

${InvSlot[Charm].Item.Name}|Dual|Geomantra XIX
${Me.ItemReady[Item Name Here]}

' Other
${Spell[NAME OF SPELL HERE.Stacks}


Examples of Use:



[Buffs]
# Cleric
Buffs4=Unified Hand of Righteousness|MA
BuffsCond4=!${Target.Buff[Righteousness].ID} && ${Spell[Righteousness].StacksTarget}
Buffs7=Saint's Unity
BuffsCond7=(!${Me.Buff[Armor of the Merciful].ID} && ${Spell[Armor of the Merciful].Stacks}) || (!${Me.Buff[Armor of Sincerity].ID} && ${Spell[Armor of Sincerity].Stacks})
##-------------------------------------------------------------------##

# Shadowknight
Buffs6=command:/bandolier activate Shield
BuffsCond6=!${Me.Buff[Defensive Proficiency].ID}

Buffs3=Relax|end|19
BuffsCond3=${Me.PctEndurance} < 19
##-------------------------------------------------------------------##


# Rouge
Buffs3=${InvSlot[Legs].Item.Name}|Summon|Consigned Bite of the Shissar XX|20
Buffs4=Consigned Bite of the Shissar XX|DUAL|Bite of the Shissar Poison XI



[DPS]

# Any Class
DPS22=command:/bct clericname //alt act 41|99
DPSCond22=${Me.Song[Restless Ice].ID}


# Cleric
DPS1=Yaulp|99
DPSCond1=!${Me.Mount.ID} && ${Spell[Yaulp].Stacks}
##-------------------------------------------------------------------##


# Shadowknight
DPS3=command:/bandolier activate 2Hand|100
DPSCond3=${Me.XTarget}< 3 && !${Target.Named} && !${Me.Buff[Two-Handed Proficiency].ID} && !${Select[${Target.ConColor},YELLOW,RED]} >=1

# Rogue
DPS24=Nightshade, Blade of Entropy|99
DPSCond24=${Me.XTarget} > 0 && (${Target.Named} || ${Me.XTarget} > 3)


[Heals]
# Cleric
Heals1=Divine Resurrection|0|rez
Heals2=Blessing of Resurrection|0|rez

Heals7=Aegis of Superior Divinity|35
HealsCond7=!${Me.AltAbilityReady[Divine Arbitration]}

Heals8=Celestial Rapidity|99
HealsCond8=(${Me.GroupAssistTarget.Named} || ${Me.XTarget} > 4)

Heals17=Curate's Retort|99|MA|Once
HealsCond17=${Me.GroupAssistTarget.Named}

Heals21=Beacon of Life|99
HealsCond21=(${Group.Injured[50]} >= 2)


Heals23=Celestial Regeneration|99
HealsCond23=(${Group.Injured[75]} >= 2)

##-------------------------------------------------------------------##


[Burn]
# Any Class
Burn4=${InvSlot[Chest].Item.Name}
 
Last edited:
Tip - Useful Conditions and some useful examples (Feel free to add things and I could update if this turns out useful)

Users who are viewing this thread

Back
Top
Cart