• 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! 👋

Question - Help with using IF statements in KissAssist .ini file.

Hello,

I am new to Redguides MQ2 and I am trying to take things one step further in my .ini file for a Level 86 warrior.

Goal: To use an IF statement to control which defensive disc I am using depending on the number of mobs I have pulled.

Current code: (doesn't work correctly and I am also not sure how to enter or set up debug while running the file)

AE1=${If[${Me.XTarget}>=10, Final Stand Discipline, ${If[${Me.XTarget}<10 && ${Me.XTarget}>=6, Fortitude Discipline, ${If[${Me.XTarget}<6, Bracing Defense, NULL]}]}]}|5|mob|cond11 Cond11=!${Me.ActiveDisc.ID}

I also tried running the same code set to a DPS method and set AE1 to NULL (it still did not work). Further I tried it without cond11 and likewise it made no difference.
DPS5=${If[${Me.XTarget}>=10, Final Stand Discipline, ${If[${Me.XTarget}<10 && ${Me.XTarget}>=6, Fortitude Discipline, ${If[${Me.XTarget}<6, Bracing Defense, NULL]}]}]}|97

If I had to guess I am missing something and any help would be greatly appreciated.

Thank you,

-EP
 
Hello,

I am new to Redguides MQ2 and I am trying to take things one step further in my .ini file for a Level 86 warrior.

Goal: To use an IF statement to control which defensive disc I am using depending on the number of mobs I have pulled.

Current code: (doesn't work correctly and I am also not sure how to enter or set up debug while running the file)

AE1=${If[${Me.XTarget}>=10, Final Stand Discipline, ${If[${Me.XTarget}<10 && ${Me.XTarget}>=6, Fortitude Discipline, ${If[${Me.XTarget}<6, Bracing Defense, NULL]}]}]}|5|mob|cond11 Cond11=!${Me.ActiveDisc.ID}

I also tried running the same code set to a DPS method and set AE1 to NULL (it still did not work). Further I tried it without cond11 and likewise it made no difference.
DPS5=${If[${Me.XTarget}>=10, Final Stand Discipline, ${If[${Me.XTarget}<10 && ${Me.XTarget}>=6, Fortitude Discipline, ${If[${Me.XTarget}<6, Bracing Defense, NULL]}]}]}|97

If I had to guess I am missing something and any help would be greatly appreciated.

Thank you,

-EP
you're going to run into some problems trying to do it this way.

you will need to have something more like

Code:
dps5=Final Stand Discipline|99|Cond1
dps6=Fortitude Discipline|99|Cond2
dps7=Bracing Defense|99|Cond3

Cond1=${Me.XTarget} > 10
Cond2=${Me.XTarget} > 5 && ${Me.XTarget} < 10
Cond3=${Me.XTarget} < 6
 
Question - Help with using IF statements in KissAssist .ini file.

Users who are viewing this thread

Back
Top
Cart