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}
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:

