Ok so been working on my Sam XML and i can't seem to get it to work. any help would be very helpful
<?xml version="1.0" ?>
<spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
<spellcast>
<config AutoLoadXML="true"
RequiredVersion="2.20"
HideErrors="false"
ShowGearSwaps="false"
Debug="true"
ShowSpellInfo="false"/>
<variables>
</variables>
<sets>
<group name="shared" default="yes">
<set name="idle">
<sub>Pole Grip</sub>
<ammo>Thew Bomblet</ammo>
<head>Zelus Tiara</head>
<neck>Chivalrous Chain</neck>
<lear>Brutal Earring</lear>
<rear>Unkai Mimikazari</rear>
<body>Avant Mail +1</body>
<hands>Brego Gloves</hands>
<lring>Rajas Ring</lring>
<rring>Hoard Ring</rring>
<waist>Bullwhip Belt</waist>
<feet>Danzo Sune-ate</feet>
</set>
<set name ="engaged">
<sub>Pole Grip</sub>
<ammo>Thew Bomblet</ammo>
<head>Zelus Tiara</head>
<neck>Chivalrous Chain</neck>
<lear>Brutal Earring</lear>
<rear>Unkai Mimikazari</rear>
<body>Avant Mail +1</body>
<hands>Brego Gloves</hands>
<lring>Rajas Ring</lring>
<rring>Hoard Ring</rring>
<waist>Bullwhip Belt</waist>
<legs>Ace's Leggings</legs>
</set>
<set name="WS">
<ammo>Thew Bomblet</ammo>
<head>Mekira-oto</head>
<lear>Brutal Earring</lear>
<rear>Kemas Earring</rear>
<body>Avant Mail +1</body>
<hands>Unkai Kote +1</hands>
<lring>Rajas Ring</lring>
<rring>Spiral Ring</rring>
<back>Atheling Mantle</back>
<legs>Unkai Haidate +1</legs>
<feet>Unkai Sune-Ate +1</feet>
</set>
<set name="meditate">
<head>Myochin Kabuto</head>
<hands>Saotome Kote</hands>
</set>
<set name="Warding Circle">
<head>Myochin Kabuto</head>
</set>
<set name="Sekkanoki">
<hands>Unkai Kote +1</hands>
</set>
<set name="Sengikori">
<hands>Unkai Sune-ate +1</hands>
</set>
</group>
<group name="eva" inherit="shared">
<set name ="Evasion">
<head>Dux Visor</head>
<body>Dux Scale Mail</body>
<neck>Twilight Torque</neck>
<sub>Eisen Grip</sub>
<hands>Melaco Mittens</hands>
<Rring>Jelly Ring</Rring>
</set>
<set name ="Haste">
<head>Zelus Tiara</head>
<body>Dux Scale Mail</body>
<neck>Twilight Torque</neck>
<sub>Eisen Grip</sub>
<hands>Brego Gloves</hands>
<Rring>Jelly Ring</Rring>
<legs>Unkai Haidate +1</legs>
<feet>Ace's leggings</feet>
</set>
</group>
</sets>
<rules>
<!--Move between sets automatically-->
<if spell="autoset">
<action type="equip" when="resting" set="idle" />
<action type="equip" when="idle" set="idle" />
<action type="equip" when="engaged" set="TP" />
</if>
<action type="equip" when="aftercast" set="TP" />
<if Mainjob="Sam">
<if status="engaged">
<action type="equip" when="aftercast" set="TP"/>
</if>
<else>
<action type="equip" when="aftercast" set="idle"/>
</else>
</if>
<if type="JobAbility">
<if spell="Meditate">
<action type="equip" when="before" set="meditate"/>
</if>
<if spell="Sekkanoki">
<action type="equip" when="before" set="Sekkanoki"/>
</if>
<if spell="Warding Circle">
<action type="equip" when="before" set="Warding Circle"/>
</if>
<if spell="Sengikori">
<action type="equip" when="before" set="Sengikori"/>
</if>
<if type="WeaponSkill">
<if spell="*Shoha|*Rana">
<action type="equip" when="precast" set="WS" />
</if>
<if BuffActive="Sekkanoki">
<if spell="*Fudo|*Kaiten">
<equip when="precast" set="WS">
<waist>Light Belt</waist>
</equip>
</if>
<if spell="*Gekko|*Hobaku|*Yukikaze">
<equip when="precast" set="WS">
<neck>Snow Gorget</neck>
<hands>Unkai Kote +1</hands>
<waist>Snow Belt</waist>
</equip>
</if>
<if spell="*Kasha|*Enpi|*Goten">
<equip when="precast" set="WS">
<hands>Unkai Kote +1</hands>
<waist>Light Belt</waist>
</equip>
</if>
<if spell="*Koki">
<equip when="precast" set="WS">
<hands>Unkai Kote +1</hands>
<waist>Light Belt</waist>
</equip>
</if>
<if spell="*Jinpu">
<equip when="precast" set="WS">
<hands>Unkai Kote +1</hands>
<waist>Shadow Belt</waist>
</equip>
</if>
<if spell="*Ageha">
<equip when="precast" set="WS">
<head>Mekira-oto</head>
<neck>Shadow Gorget</neck>
<body>Avant Mail +1</body>
<hands>Unkai Kote +1</hands>
<waist>Shadow Belt</waist>
</equip>
</if>
<if spell="*Kaiten">
<action type="equip" when="precast" set="WS" />
<action type="equip" when="aftercast" set="TP" />
</if>
<if spell="*Gekko|*Hobaku|*Yukikaze">
<equip when="precast" set="WS">
<neck>Snow Gorget</neck>
<hands>Heafoc Mitts</hands>
<waist>Shadow Belt</waist>
</equip>
</if>
<if spell="*Kasha|*Enpi|*Goten">
<equip when="precast" set="WS">
<neck>Light Gorget</neck>
<hands>Heafoc Mitts</hands>
<waist>Light Belt</waist>
</equip>
</if>
<if spell="*Koki">
<equip when="precast" set="WS">
<hands>Unkai Kote +1</hands>
<waist>Light Belt</waist>
</equip>
</if>
<if spell="*Jinpu">
<equip when="precast" set="WS">
<hands>Unkai Kote +1</hands>
<waist>Shadow Belt</waist>
</equip>
</if>
<if type="ninjutsu">
<if spell="Monomi*|Katon*|Suiton*|Utsusemi*|Jubaku*|Kurayami*|Tonko*">
<action type="equip" when="before" set="Haste"/>
</if>
</rules>
</spellcast>