Pretty simple stuff, extensively tested in the field or some such >_>;; WHM sub top, NIN sub bottom. Not perfect or even good atm, doing a redo for 2.3 so I'd label this a 'draw ideas from' kinda thing, not greatly useful to anyone without my specific gear/needs.
Anyways what it does:
+Equips the 'right' staff (for lullaby, threnody, elegy, etcx)
+Equips a debuff set and buff set depending on which applies
+Equips a fastcast profile before cast
+Equips a haste profile during Utsusemi casting
+Auto-cancels Utsusemi (see the Cancel plugin)
+A lot neater to edit than 18 text documents loosely titled “brd_debuff_earth.txt” and the like
<?xml version="1.0" ?>
<spellcast>
<config HideErrors="False" Debug="True" />
<variables>
<var name="IceStaff">Aquilo's Staff</var>
<var name="DarkStaff">Pluto's Staff</var>
<var name="ThunderStaff">Jupiter's Staff</var>
<var name="WindStaff">Auster's Staff</var>
<var name="FireStaff">Vulcan's Staff</var>
<var name="EarthStaff">Terra's Staff</var>
<var name="LightStaff">Apollo's Staff</var>
<var name="WaterStaff">Neptune's Staff</var>
<var name="IceGrip">Raptor Strap +1</var>
<var name="DarkGrip">Raptor Strap +1</var>
<var name="ThunderGrip">Raptor Strap +1</var>
<var name="WindGrip">Raptor Strap +1</var>
<var name="FireGrip">Raptor Strap +1</var>
<var name="EarthGrip">Earth Grip</var>
<var name="LightGrip">Light Grip</var>
<var name="WaterGrip">Raptor Strap +1</var>
<var Name="EarthObi">Dorin Obi</var>
<var Name="ThunderObi">Rairin Obi</var>
<var Name="IceObi">Hyorin Obi</var>
<var Name="LightObi">Korin Obi</var>
<var Name="DarkObi">Anrin Obi</var>
</variables>
<sets>
<group name="Main" default="yes">
<set name="idle">
<sub>Raptor Strap +1</sub>
<head>Brd. Roundlet +1</head>
<neck>Uggalepih Pendant</neck>
<rear>Musical Earring</rear>
<lear>Loquac. Earring</lear>
<body>Sha'ir Manteel</body>
<hands>Chl. cuffs +1</hands>
<lring>Tamas Ring</lring>
<rring>Serket Ring</rring>
<back>Intensifying Cape</back>
<waist>Qiqirn Sash +1</waist>
<legs>Zenith Slacks</legs>
<feet>Cobra Crackows</feet>
</set>
<set name="MR">
<range>Oliphant</range>
<head>Brd. Roundlet +1</head>
<neck></neck>
<lear></lear>
<rear></rear>
<body>Kirin's Osode</body>
<hands>Choral Cuffs +1</hands>
<lring>Tamas Ring</lring>
<rring>Toreador's Ring</rring>
<back>Amemet Mantle +1</back>
<waist>Gleeman's Belt</waist>
<legs>Byakko's Haidate</legs>
<feet>Sha'ir Crackows</feet>
</set>
<set name="rest" BaseSet="idle">
<rear>Insomnia Earring</rear>
<lear>Relaxing Earring</lear>
<main>Pluto's Staff</main>
<waist>Qiqirn Sash +1</waist>
<back>Invigorating Cape</back>
<body>Errant Hpl.</body>
</set>
<set name="buff2">
<head>Brd. Roundlet +1</head>
<neck>Wind Torque</neck>
<lear>Musical Earring</lear>
<rear>Loquac. Earring</rear>
<body>Kirin's Osode</body>
<hands>Chl. Cuffs +1</hands>
<rring>Nereid Ring</rring>
<lring>Nereid Ring</lring>
<waist>Qiqirn Sash +1</waist>
<legs>Zenith Slacks</legs>
<feet>Mahatma Pigaches</feet>
</set>
<set name="buff">
<head>Brd. Roundlet +1</head>
<neck>Wind Torque</neck>
<lear>Musical Earring</lear>
<rear>Singing Earring</rear>
<body>Minstrel's Coat</body>
<hands>Chl. Cuffs +1</hands>
<legs>Choral Cannions</legs>
</set>
<set name="melee">
<main>Dagger of Trials</main>
<sub>Genbu's Shield</sub>
<head>Walahra Turban</head>
<back>Amemet Mantle +1</back>
<waist>Swift Belt</waist>
<neck></neck>
<lear>Loquac. Earring</lear>
<rear>Novia Earring</rear>
<hands>Dusk Gloves</hands>
<body>Sha'ir Manteel</body>
<rring>Tamas Ring</rring>
<lring>Ecphoria Ring</lring>
<legs>Byakko's Haidate</legs>
<feet>Dusk Ledelsens</feet>
<range>Angel Lyre</range>
</set>
<set name="debuff">
<body>Kirin's Osode</body>
<back>Jester's Cape +1</back>
<waist>Gleeman's Belt</waist>
</set>
<set name="debuff2">
<neck>Wind Torque</neck>
<rear>Musical Earring</rear>
<lear>Singing Earring</lear>
<body>Kirin's Osode</body>
<rring>Nereid Ring</rring>
<lring>Nereid Ring</lring>
<waist>Gleeman's Belt</waist>
<back>Jester's Cape</back>
<legs>Mahatma Slops</legs>
<feet>Sha'ir Crackows</feet>
<head>Brd. Roundlet +1</head>
</set>
<set name="fastcast">
<body>Sha'ir Manteel</body>
</set>
<set name="HealingMagic">
<head>Goliard Chapeau</head>
<neck>Promise Badge</neck>
<body>Kirin's Osode</body>
<hands>Marine M Gloves</hands>
<back>Rainbow Cape</back>
<waist>Penitent's Rope</waist>
<legs>Zenith Slacks</legs>
<feet>Suzaku's Sune-Ate</feet>
</set>
</group>
</sets>
<rules>
<if spell="autoset">
<action type="equip" when="resting" set="rest" />
<action type="command" when="resting">wait 15;input /equip body "Errant Hpl."</action>
<action type="command" when="resting">wait 15;input /equip head "Goliard Chapeau"</action>
</if>
<action type="equip" when="engaged" set="melee" />
<action type="equip" when="precast" set="fastcast" />
<if ValidTarget="Self">
<action type="DefaultTarget" target="<me>" />
</if>
<if ValidTarget="Enemy">
<action type="DefaultTarget" target="<stnpc>" />
</if>
<elseif ValidTarget="*Enemy*|Unknown">
<action type="DefaultTarget" target="<st>" />
</elseif>
<else>
<action type="DefaultTarget" target="<stpc>" />
</else>
<if Spell="*Lullaby">
<action type="command" when="aftercast">spellcast var inc sleepid;wait 28;input /echo [$sleepid:%spell] <%target> Wearing off in 5s</action>
</if>
<if spell="*Threnody|*Elegy|*Requiem*|*Finale|*Virelai|*Lullaby">
<action type="equip" when="midcast" set="debuff" />
<if advanced='"%MPAfterrCast"<"278"'>
<action type="Equip" when="midcast" set="debuff2" />
</if>
<if notstatus="engaged" and notadvanced='"%tp">"10"'>
<action type="equip" when="midcast">
<main>$%SpellElementStaff</main>
<sub>$%SpellElementGrip</sub>
</action>
</if>
</if>
<if spell="*Carol|*Etude|*Dirge|*Paeon*|*Sirvente|*March|*Prelude|*Minne*|*Mambo|*Minuet*|*Madrigal|*Aubade|*Gavotte|*Pastoral|*Operetta|*Fantasia|*Round">
<action type="midcastdelay" delay="3" />
<if advanced='"%MPAfterrCast"<"293"'>
<action type="Equip" when="midcast" set="buff" />
</if>
<else>
<action type="Equip" when="midcast" set="buff2" />
</else>
<if notstatus="engaged" and notadvanced='"%tp">"10"'>
<action type="equip" when="midcast">
<main>Chanter's Staff</main>
</action>
</if>
</if>
</if>
<if Spell="Cur*">
<action type="equip" when="midcast" set="HealingMagic" />
<if notstatus="engaged" and notadvanced='"%tp">"10"'>
<action type="equip" when="midcast">
<main>$%SpellElementStaff</main>
<sub>$%SpellElementGrip</sub>
</action>
</if>
</if>
<if skill="Singing">
<if spell="*Carol">
<action type="midcastdelay" delay="3" />
<action type="equip" when="midcast">
<range>Crumhorn +1</range>
</action>
</if>
<if spell="*Virelai">
<action type="midcastdelay" delay="1" />
<action type="equip" when="midcast">
<range>Cythara Angelica +1</range>
</action>
</if>
<if spell="*Elegy">
<action type="equip" when="midcast">
<range>Horn +1</range>
</action>
</if>
<if spell="*Lullaby">
<action type="equip" when="midcast">
<range>Mary's Horn</range>
</action>
</if>
<if spell="*Requiem*">
<action type="equip" when="midcast">
<range>Requiem Flute</range>
</action>
</if>
<if spell="*Finale">
<action type="equip" when="midcast">
<range>Harlequin's Horn</range>
</action>
</if>
<if spell="*Virelai">
<action type="equip" when="midcast">
<range>Harlequin's Horn</range>
</action>
</if>
<if spell="Threnody">
<action type="equip" when="midcast">
<range>Piccolo +1</range>
</action>
</if>
<if spell="*Dirge">
<action type="midcastdelay" delay="3" />
<action type="equip" when="midcast">
<range>Harlequin's Horn</range>
</action>
</if>
<if spell="*Etude">
<action type="midcastdelay" delay="3" />
<action type="equip" when="midcast">
<range>Rose Harp +1</range>
</action>
</if>
<if spell="*Paeon*">
<action type="midcastdelay" delay="3" />
<action type="equip" when="midcast">
<range>Ebony Harp +1</range>
</action>
</if>
<if spell="*Sirvente">
<action type="midcastdelay" delay="3" />
<action type="equip" when="midcast">
<range>Harlequin's Horn</range>
</action>
</if>
<if spell="*Hymnus">
<action type="midcastdelay" delay="3" />
<action type="equip" when="midcast">
<range>Angel Lyre</range>
</action>
</if>
<if spell="*Ballad*">
<action type="midcastdelay" delay="3" />
<action type="equip" when="midcast">
<range>Storm Fife</range>
</action>
</if>
<if spell="*Mazurka">
<action type="midcastdelay" delay="3" />
<action type="equip" when="midcast">
<range>Harlequin's Horn</range>
</action>
</if>
<if spell="*March">
<action type="midcastdelay" delay="3" />
<action type="equip" when="midcast">
<range>Faerie Piccolo</range>
</action>
</if>
<if spell="*Prelude">
<action type="midcastdelay" delay="3" />
<action type="equip" when="midcast">
<range>Angel Flute +1</range>
</action>
</if>
<if spell="*Minne*">
<action type="midcastdelay" delay="3" />
<action type="equip" when="midcast">
<range>Maple Harp +1</range>
</action>
</if>
<if spell="*Mambo">
<action type="midcastdelay" delay="3" />
<action type="equip" when="midcast">
<range>Gemshorn +1</range>
</action>
</if>
<if spell="*Minuet*">
<action type="midcastdelay" delay="3" />
<action type="equip" when="midcast">
<range>Cornette +1</range>
</action>
</if>
<if spell="*Madrigal">
<action type="midcastdelay" delay="3" />
<action type="equip" when="midcast">
<range>Traversiere +1</range>
</action>
</if>
<if spell="*Aubade|*Gavotte|*Pastoral|*Operetta|*Fantasia|*Round">
<action type="midcastdelay" delay="3" />
<action type="equip" when="midcast">
<range>Harlequin's Horn</range>
</action>
</if>
</if>
<if Spell="Sneak" BuffActive="Sneak" advanced='"%SpellTargetName"="%PlayerName"'>
<action type="command" when="midcast">cancel 71</action>
<action type="midcastdelay" delay="2" />
</if>
<if Spell="Stoneskin">
<action type="midcastdelay" delay="3" />
<action type="equip" when="midcast" set="HealingMagic" />
<if notstatus="engaged" and notadvanced='"%tp">"10"'>
<action type="equip" when="midcast">
<main>Chanter's Staff</main>
<sub>Raptor Strap +1</sub>
</action>
</if>
<action type="command" when="midcast">cancel 37</action>
</if>
<if Spell="Blink">
<action type="command" when="midcast">cancel 36</action>
<action type="midcastdelay" delay="2" />
</if>
<if Advanced='"%SpellElement" = "%WeatherElement" OR "%SpellElement" = "%DayElement"'>
<action Type="Equip" When="MidCast">
<waist Lock="Yes">$%SpellElementObi</waist>
</action>
</if>
<if advanced='"%MPAfterrCast"<"278"' and status="idle">
<action type="Equip" when="aftercast">
<body>Vermillion Cloak</body>
</action>
</if>
<if status="engaged">
<action type="equip" when="aftercast" set="melee" />
</if>
<if status="idle">
<action type="equip" when="aftercast" set="idle" />
</if>
<if spell="Mordant Rime">
<action type="precastdelay" delay=".5" />
<action type="equip" when="precast" set="MR" />
<action type="aftercastdelay" delay="6" />
<action type="equip" when="aftercast" set="melee" />
</if>
<if notstatus="engaged">
<action type="equip" when="aftercast" set="idle" />
<if notadvanced='"%tp">"10"'>
<action type="equip" when ="aftercast">
<main>Terra's Staff</main>
<sub>Earth Grip</sub>
</action>
</if>
</if>
<if status="idle">
<action type="equip" when="idle" set="idle" />
</if>
</rules>
</spellcast>
<?xml version="1.0" ?>
<spellcast>
<config HideErrors="False" Debug="True" />
<variables>
<var name="IceStaff">Aquilo's Staff</var>
<var name="DarkStaff">Pluto's Staff</var>
<var name="ThunderStaff">Jupiter's Staff</var>
<var name="WindStaff">Auster's Staff</var>
<var name="FireStaff">Vulcan's Staff</var>
<var name="EarthStaff">Terra's Staff</var>
<var name="LightStaff">Apollo's Staff</var>
<var name="WaterStaff">Neptune's Staff</var>
<var name="IceGrip">Bugard Strap +1</var>
<var name="DarkGrip">Bugard Strap +1</var>
<var name="ThunderGrip">Bugard Strap +1</var>
<var name="WindGrip">Bugard Strap +1</var>
<var name="FireGrip">Bugard Strap +1</var>
<var name="EarthGrip">Earth Grip</var>
<var name="LightGrip">Light Grip</var>
<var name="WaterGrip">Bugard Strap +1</var>
</variables>
<sets>
<group name="Main" default="yes">
<set name="idle">
<sub>Raptor Strap +1</sub>
<range>Angel Lyre</range>
<head>Genbu's Kabuto</head>
<neck>Fortitude Torque</neck>
<lear>Musical Earring</lear>
<rear>Novia Earring</rear>
<body>Kirin's Osode</body>
<hands>Seiryu's Kote</hands>
<lring>Nereid Ring</lring>
<rring>Nereid Ring</rring>
<back>Jester's Cape +1</back>
<waist>Gleeman's Belt</waist>
<legs>Byakko's Haidate</legs>
<feet>Suzaku's Sune-Ate</feet>
</set>
<set name="buff">
<head>Brd. Roundlet +1</head>
<neck>Wind Torque</neck>
<lear>Musical Earring</lear>
<rear>Singing Earring</rear>
<body>Minstrel's Coat</body>
<hands>Chl. Cuffs +1</hands>
<lring>Nereid Ring</lring>
<rring>Nereid Ring</rring>
<legs>Choral Cannions</legs>
<feet>Waders</feet>
</set>
<set name="MR">
<range>Oliphant</range>
<item>Gigant Squid</item>
<head>Brd. Roundlet +1</head>
<neck>Peacock Charm</neck>
<lear>Novia Earring</lear>
<rear></rear>
<body>Kirin's Osode</body>
<hands>Chl. Cuffs +1</hands>
<lring>Tamas Ring</lring>
<rring>Woodsman Ring</rring>
<back>Amemet Mantle +1</back>
<waist>Gleeman's Belt</waist>
<legs>Byakko's Haidate</legs>
<feet>Sha'ir Crackows</feet>
</set>
<set name="melee">
<main>Blau Dolch</main>
<sub>Joyeuse</sub>
<lear>Suppanomimi</lear>
<rear>Novia Earring</rear>
<head>Walahra Turban</head>
<range>Angel Lyre</range>
<body>Sha'ir Manteel</body>
<hands>Dusk Gloves</hands>
<rring>Woodsman Ring</rring>
<lring>Tamas Ring</lring>
<back>Amemet Mantle +1</back>
<waist>Swift Belt</waist>
<legs>Byakko's Haidate</legs>
<feet>Dusk Ledelsens</feet>
<neck>Peacock Charm</neck>
</set>
<set name="debuff">
<head>Brd. Roundlet +1</head>
<neck>Wind Torque</neck>
<lring>Nereid Ring</lring>
<lear>Musical Earring</lear>
<rear>Singing Earring</rear>
<body>Kirin's Osode</body>
<hands>Sha'ir Gages</hands>
<rring>Nereid Ring</rring>
<back>Jester's Cape +1</back>
<waist>Gleeman's Belt</waist>
<legs>Mahatma Slops</legs>
<feet>Sha'ir Crackows</feet>
</set>
<set name="fastcast">
<rear>Loquac. Earring</rear>
<body>Sha'ir Manteel</body>
<head>Goliard Chapeau</head>
<legs>Ophiu. Subligar</legs>
<feet>Waders</feet>
</set>
<set name="gearcollector">
<item>4Leaf Mandra Bud</item>
<sub>Light Grip</sub>
<main>Apollo's Staff</main>
<sub>Bugard Strap +1</sub>
</set>
<set name="Ninjitsu">
<range>Angel Lyre</range>
<head>Walahra Turban</head>
<body>Sha'ir Manteel</body>
<rear>Loquac. Earring</rear>
<hands>Dusk Gloves</hands>
<legs>Byakko's Haidate</legs>
<waist>Swift Belt</waist>
<feet>Dusk Ledelsens</feet>
</set>
</group>
</sets>
<rules>
<action type="equip" when="engaged" set="melee" />
<if ValidTarget="Self">
<action type="DefaultTarget" target="<me>" />
</if>
<if ValidTarget="Enemy">
<action type="DefaultTarget" target="<stnpc>" />
</if>
<elseif ValidTarget="*Enemy*|Unknown">
<action type="DefaultTarget" target="<st>" />
</elseif>
<else>
<action type="DefaultTarget" target="<stpc>" />
</else>
<if type="Ninjitsu|BardSong">
<action type="equip" when="precast" set="fastcast" />
</if>
<if Spell="*Lullaby">
<action type="command" when="aftercast">spellcast var inc sleepid;wait 28;input /echo [$sleepid:%spell] <%target> Wearing off in 5s</action>
</if>
<if spell="*Threnody|*Elegy|*Requiem*|*Finale|*Virelai|*Lullaby">
<action type="equip" when="midcast" set="debuff" />
<action type="command" when="midcast">wait .1; input /equip r.ring "Nereid Ring"</action>
<action type="equip" when="midcast">
<main>$%SpellElementStaff</main>
<sub>$%SpellElementGrip</sub>
</action>
</if>
<if spell="*Carol|*Etude|*Dirge|*Paeon*|*Sirvente|*March|*Prelude|*Minne*|*Mambo|*Minuet*|*Madrigal|*Aubade|*Gavotte|*Pastoral|*Operetta|*Fantasia|*Round">
<action type="midcastdelay" delay="3" />
<action type="equip" when="midcast" set="buff" />
<if notstatus="engaged">
<if advanced='"%tp"<"10"'>
<action type="equip" when="midcast">
<main>Chanter's Staff</main>
</action>
</if>
</if>
</if>
<if skill="Singing">
<if spell="*Carol">
<action type="midcastdelay" delay="3" />
<action type="equip" when="midcast">
<range>Crumhorn +1</range>
</action>
</if>
<if spell="*Elegy">
<action type="equip" when="midcast">
<range>Horn +1</range>
</action>
</if>
<if spell="*Lullaby">
<action type="equip" when="midcast">
<range>Mary's Horn</range>
</action>
</if>
<if spell="*Requiem*">
<action type="equip" when="midcast">
<range>Requiem Flute</range>
</action>
</if>
<if spell="*Finale">
<action type="equip" when="midcast">
<range>Harlequin's Horn</range>
</action>
</if>
<if spell="*Virelai">
<action type="equip" when="midcast">
<range>Harlequin's Horn</range>
</action>
</if>
<if spell="Threnody">
<action type="equip" when="midcast">
<range>Piccolo +1</range>
</action>
</if>
<if spell="*Dirge">
<action type="midcastdelay" delay="3" />
<action type="equip" when="midcast">
<range>Harlequin's Horn</range>
</action>
</if>
<if spell="*Etude">
<action type="midcastdelay" delay="3" />
<action type="equip" when="midcast">
<range>Rose Harp +1</range>
</action>
</if>
<if spell="*Paeon*">
<action type="midcastdelay" delay="3" />
<action type="equip" when="midcast">
<range>Ebony Harp +1</range>
</action>
</if>
<if spell="*Sirvente">
<action type="midcastdelay" delay="3" />
<action type="equip" when="midcast">
<range>Harlequin's Horn</range>
</action>
</if>
<if spell="*Hymnus">
<action type="midcastdelay" delay="3" />
<action type="equip" when="midcast">
<range>Angel Lyre</range>
</action>
</if>
<if spell="*Ballad*">
<action type="midcastdelay" delay="3" />
<action type="equip" when="midcast">
<range>Storm Fife</range>
</action>
</if>
<if spell="*Mazurka">
<action type="midcastdelay" delay="3" />
<action type="equip" when="midcast">
<range>Harlequin's Horn</range>
</action>
</if>
<if spell="*March">
<action type="midcastdelay" delay="3" />
<action type="equip" when="midcast">
<range>Faerie Piccolo</range>
</action>
</if>
<if spell="*Prelude">
<action type="midcastdelay" delay="3" />
<action type="equip" when="midcast">
<range>Angel Flute +1</range>
</action>
</if>
<if spell="*Minne*">
<action type="midcastdelay" delay="3" />
<action type="equip" when="midcast">
<range>Maple Harp +1</range>
</action>
</if>
<if spell="*Mambo">
<action type="midcastdelay" delay="3" />
<action type="equip" when="midcast">
<range>Gemshorn +1</range>
</action>
</if>
<if spell="*Minuet*">
<action type="midcastdelay" delay="3" />
<action type="equip" when="midcast">
<range>Cornette +1</range>
</action>
</if>
<if spell="*Madrigal">
<action type="midcastdelay" delay="3" />
<action type="equip" when="midcast">
<range>Traversiere +1</range>
</action>
</if>
<if spell="*Aubade|*Gavotte|*Pastoral|*Operetta|*Fantasia|*Round">
<action type="midcastdelay" delay="3" />
<action type="equip" when="midcast">
<range>Harlequin's Horn</range>
</action>
</if>
</if>
<if spell="Utsu*">
<action type="equip" when="midcast" set="Ninjitsu" />
</if>
<if spell="Utsusemi: Ichi">
<action type="midcastdelay" delay="3" />
<action type="Command" when="midcast">cancel 66</action>
</if>
<if spell="Mordant Rime|Evis*">
<action type="equip" when="precast" set="MR" />
<action type="aftercastdelay" delay="5" />
<action type="equip" when="aftercast" set="melee" />
</if>
<action type="equip" when="idle" set="idle" />
<if notstatus="engaged">
<action type="equip" when="aftercast" set="idle"/>
</if>
<if notstatus="engaged">
<if advanced='"%tp"<"10"'>
<action type="equip" when="aftercast">
<main>Terra's Staff</main>
<sub>Earth Grip</sub>
</action>
</if>
</if>
</rules>
</spellcast>