Im fine with that, actually meant the ExampleReact code is not in the file anymore and it actuall adds an enabled condition but not the example.
Have not looked at the code which havoc this broken file will cause, seems none using it like this.
e.g (changed toon names, actual file)
Code:
newtoon:
ExampleReact: enabled
othertoon:
ExampleReact: enabled
zerker:
BERcomponent: enabled
ExampleReact: disabled
Summon2Inv: enabled
SummonDemolisher: enabled
SummonMangler: enabled
SummonVindicator: enabled
globals:
NotCasting: "!${Me.Casting.ID}"
Resting: >-
${Me.CombatState.NotEqual[COMBAT]} && !${Me.Invis} && !${Me.Casting.ID}
&& !${Me.Moving}
reacts:
BERcomponent:
action: /bc Need Masterwork Axe Components
condition: >-
${React.Global[Resting]} && ${FindItemCount[Masterwork Axe Components]}
< 50
Summon2Inv:
action: /autoinv
condition: "${Cursor.ID} && ${Cursor.Name.Find[Axe of]}"
SummonDemolisher:
action: /disc Axe of the Demolisher
condition: "${React.Global[Resting]} && ${FindItemCount[Axe of the Demolisher]}<300"
SummonMangler:
action: /disc Axe of the Mangler
condition: "${React.Global[Resting]} && ${FindItemCount[Axe of the Mangler]}<300"
SummonVindicator:
action: /disc Axe of the Vindicator
condition: "${React.Global[Resting]} && ${FindItemCount[Axe of the Vindicator]}<300"
There is a timing issue that end up leaving just the example behind:
If I have 6 loaded in and do /react reload it rewrites the file but since more than 1 is writing to the file it messes up
Need to implement some file locks before writing.