@Selassie:
Code:
<if Status="Engaged">
<if EquipMain="Kamome|Kannagi|Crimson Blade|Twilight Knife">
<equip when="Engaged|Aftercast" set="TP"/>
</if>
<!-- Abyssea Weaponskill rules -->
<if Area="Abyssea*">
<if Spell="Blade: Hi">
<equip when="Precast" set="InsideHi" />
</if>
</if>
<!-- Outside Abyssea Weaponskill rules -->
<else>
<if Spell="Blade: Hi">
<equip when="Precast" set="OutsideHi" />
</if>
<if Spell="Blade: Jin">
<equip when="Precast" set="Jin" />
</if>
</else>
</if>
...
<if EquipMain="Terra's Staff|Honebami|Pitchfork">
<equip set="TP" when="Engaged|Aftercast" />
</if>
<elseif mode="OR" TimeGT="18.00" TimeLT="6.00">
<equip set="IdleNight" when="Idle" />
</elseif>
<else>
<equip set="IdleDay" when="Idle" />
</else>
Your Terra's Staff/Honebami/Pitchfork rule should just be part of the original Status="Engaged" check, along with the rest of the weapons; it does the same thing.
The elseif/else trailing part of that set should be enclosed in an Else after the Status="Engaged" check, since those only matter when you're not engaged. Due to that change, you can safely add the |aftercast portion to the when attribute.
Revised:
Code:
<if Status="Engaged">
<if EquipMain="Kamome|Kannagi|Crimson Blade|Twilight Knife|Terra's Staff|Honebami|Pitchfork">
<equip when="Engaged|Aftercast" set="TP"/>
</if>
<!-- Abyssea Weaponskill rules -->
<if Area="Abyssea*">
<if Spell="Blade: Hi">
<equip when="Precast" set="InsideHi" />
</if>
</if>
<!-- Outside Abyssea Weaponskill rules -->
<else>
<if Spell="Blade: Hi">
<equip when="Precast" set="OutsideHi" />
</if>
<if Spell="Blade: Jin">
<equip when="Precast" set="Jin" />
</if>
</else>
</if>
<else>
<if mode="OR" TimeGT="18.00" TimeLT="6.00">
<equip set="IdleNight" when="Idle|Aftercast" />
</if>
<else>
<equip set="IdleDay" when="Idle|Aftercast" />
</else>
</else>