Advertisement
Nimotas

Skillup_v3.8

Oct 25th, 2014
559
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 75.13 KB | None | 0 0
  1. <!---
  2. Original Coding Written by: Genesisx (Windower Forums)
  3. Updated Coding Written by: Nimotas
  4. Last Updated: 10/25/14
  5. Current Version: Skillup_v3.8
  6. --->
  7.  
  8. <spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
  9.     <!-- SpellCast Configurations -->
  10.     <config Debug="false" HideErrors="false" ShowSpellInfo="false" ShowGearSwaps="false" />
  11.  
  12.     <!-- SpellCast Variables -->
  13.     <variables clear="True">
  14.         <!-- DO NOT ALTER THESE VARIABLES -->
  15.         <var name="CurrentVersion">v3.8</var> <!-- Current Skillup Coding Version DO NOT ALTER -->
  16.         <var name="FirstSetup">1</var> <!-- First Run Display Var DO NOT ALTER-->
  17.         <var name="SkillCycle">1</var> <!-- Spell Cycle DO NOT ALTER -->
  18.         <var name="CurrentSpell">Cure</var> <!-- Spell Cycle NO NOT ALTER -->
  19.         <var name="FoodCycle">1</var> <!-- Food Cycle DO NOT ALTER -->
  20.         <var name="SkillUp">1</var> <!-- Skill-Up Pause Cycle DO NOT ALTER -->
  21.        
  22.         <!-- YOU MAY ALTER THESE VARIABLES -->
  23.         <var name="Show.Debug">False</var> <!-- Show Process/Debug Info True/False -->
  24.        
  25.         <!-- Automatic Script End Variables -->
  26.         <!-- Order of Days: Firesday -> Earthsday -> Watersday -> Windsday -> Iceday -> Lightningday -> Lightsday -> Darksday -->
  27.         <var name="SUEndDay">Watersday</var> <!-- Change value to the name of the day you want the script to auto end or leave blank for continuous run. -->
  28.         <var name="SUEndTime">0.00</var> <!-- Change value to the time of the day you want the script to auto end -->
  29.        
  30.         <!-- You can alter these variables to use Skill UP food or not. -->
  31.         <var name="UseFood">True</var> <!-- Use skill-up food True/False -->
  32.         <var name="FoodName">B.E.W. Pitaru</var> <!-- Valid Magic Food: Stuffed Pitaru, Poultry Pitaru, Seafood Pitaru, B.E.W. Pitaru -->
  33.        
  34.         <!-- Time is in seconds. -->
  35.         <var name="WaitTime4SMN">2</var> <!-- Set time to wait in-between SMN Skill actions -->
  36.         <var name="WaitTime4Healing">2</var> <!-- Set time to wait in-between Healing Skill actions -->
  37.         <var name="WaitTime4Enhancing">2</var> <!-- Set time to wait in-between Enhancing Skill actions -->
  38.         <var name="WaitTime4BLU">2</var> <!-- Set time to wait in-between Blue Magic Skill actions -->
  39.         <var name="WaitTime4GEO">2</var> <!-- Set time to wait in-between Geomancy Skill actions -->
  40.         <var name="WaitTime4BRD">1</var> <!-- Set time to wait in-between BRD Skill actions -->
  41.         <var name="WaitTime4Dark">2</var> <!-- Set time to wait in-between Dark Skill actions -->
  42.         <var name="WaitTime4Divine">2</var> <!-- Set time to wait in-between Divine Skill actions -->
  43.         <var name="WaitTime4Elemental">1</var> <!-- Set time to wait in-between Elemental Skill actions -->
  44.         <var name="WaitTime4Enfeebling">2</var> <!-- Set time to wait in-between Enfeebling Skill actions -->
  45.         <var name="WaitTime4RangedAttk">5</var> <!-- Set time to wait in-between Ranged Attacks -->
  46.         <var name="WaitTime4Ninjutsu">2</var> <!-- Set time to wait in-between Ninjutsu Spells -->
  47.        
  48.         <!-- Summons: 1= Use, 0= Do not use -->
  49.         <var name="CarbuncleAva">1</var> <!-- This must remain set to 1 since all SMN's have Carbuncle -->
  50.         <var name="IfritAva">1</var>
  51.         <var name="TitanAva">1</var>
  52.         <var name="LeviathanAva">1</var>
  53.         <var name="GarudaAva">1</var>
  54.         <var name="ShivaAva">1</var>
  55.         <var name="RamuhAva">1</var>
  56.         <var name="FenrirAva">1</var>
  57.         <var name="DiabolosAva">1</var>
  58.        
  59.     </variables>
  60.  
  61.     <sets>
  62.         <!-- Specify Resting / Standard gear if desired -->
  63.         <group name="SMN" default="yes">
  64.             <set name="Standard">
  65.                 <main></main>
  66.                 <sub></sub>
  67.                 <ammo></ammo>
  68.                 <head></head>
  69.                 <neck></neck>
  70.                 <lear></lear>
  71.                 <rear></rear>
  72.                 <body></body>
  73.                 <hands></hands>
  74.                 <lring></lring>
  75.                 <rring></rring>
  76.                 <back></back>
  77.                 <waist></waist>
  78.                 <legs></legs>
  79.                 <feet></feet>
  80.             </set>
  81.             <set name="Resting Gear" BaseSet="Standard">
  82.             </set>
  83.         </group>
  84.        
  85.         <group name="SCH">
  86.             <set name="Standard">
  87.             </set>
  88.             <set name="Resting Gear" BaseSet="Standard">
  89.             </set>
  90.         </group>
  91.        
  92.         <group name="WHM">
  93.             <set name="Standard">
  94.             </set>
  95.             <set name="Resting Gear" BaseSet="Standard">
  96.             </set>
  97.         </group>
  98.        
  99.         <group name="BLU">
  100.             <set name="Standard">
  101.             </set>
  102.             <set name="Resting Gear" BaseSet="Standard">
  103.             </set>
  104.         </group>
  105.        
  106.         <group name="GEO">
  107.             <set name="Standard">
  108.             </set>
  109.             <set name="Resting Gear" BaseSet="Standard">
  110.                 <body></body>
  111.             </set>
  112.         </group>
  113.        
  114.         <group name="BRD">
  115.             <set name="Standard">
  116.             </set>
  117.             <set name="Resting Gear" BaseSet="Standard">
  118.             </set>
  119.         </group>
  120.        
  121.         <group name="BLM">
  122.             <set name="Standard">
  123.             </set>
  124.             <set name="Resting Gear" BaseSet="Standard">
  125.             </set>
  126.         </group>
  127.        
  128.         <group name="RDM">
  129.             <set name="Standard">
  130.             </set>
  131.             <set name="Resting Gear" BaseSet="Standard">
  132.             </set>
  133.         </group>
  134.        
  135.         <group name="RUN">
  136.             <set name="Standard">
  137.             </set>
  138.             <set name="Resting Gear" BaseSet="Standard">
  139.             </set>
  140.         </group>
  141.        
  142.         <group name="DRK">
  143.             <set name="Standard">
  144.             </set>
  145.             <set name="Resting Gear" BaseSet="Standard">
  146.             </set>
  147.         </group>
  148.        
  149.         <group name="PLD">
  150.             <set name="Standard">
  151.             </set>
  152.             <set name="Resting Gear" BaseSet="Standard">
  153.             </set>
  154.         </group>
  155.     </sets>
  156.  
  157.     <rules>
  158.         <!-- Rules for Idle/Resting Equipment Changes -->
  159.         <action type="equip" when="idle" set="Standard" />
  160.         <action type="equip" when="resting" set="Resting Gear" />
  161.  
  162.         <!-- Setup First Run Notification -->
  163.         <if advanced='"$FirstSetup" == "1"'>
  164.             <!-- Set $CurrentSpell variable to the spell cast by user -->  
  165.             <var cmd="set CurrentSpell %spell" />
  166.        
  167.             <action type="command">alias SUEnd input /echo --- Exiting SkillUp Script $CurrentVersion ---;unload spellcast;unbind ^escape;unbind f10;unbind f12;wait 3;load spellcast;wait 3;input /ja "Release";</action>
  168.             <action type="command">bind ^escape SUEnd</action>
  169.            
  170.             <action type="command">alias SUReset input /echo --- Resetting SkillUp Script $CurrentVersion ---;sc reload</action>
  171.             <action type="command">bind f10 SUReset</action>
  172.            
  173.             <action type="command">alias DebugOn input /echo --- Show Debug = ON ---;sc var set Show.Debug True;bind f11 DebugOff</action>
  174.             <action type="command">alias DebugOff input /echo --- Show Debug = Off ---;sc var set Show.Debug False;bind f11 DebugOn</action>
  175.             <action type="command">bind f11 DebugOn</action>
  176.            
  177.             <action type="command">alias PauseOn input /echo --- Pausing SkillUp Script $CurrentVersion ---;sc var set SkillUp 0;bind f12 PauseOff</action>
  178.             <action type="command">alias PauseOff input /echo --- Resuming SkillUp Script $CurrentVersion ---;sc var set SkillUp 1;bind f12 PauseOn;input /ma "$currentspell"</action>
  179.             <action type="command">bind f12 PauseOn</action>
  180.            
  181.             <if mode="or" notspell="Carbuncle|Cure|Protect|Barfira|Barfire|Blaze Spikes|Pollen|Indi-Regen|Fire Carol|Endark|Enlight|Burn|Fire|Bio|Dia|Katon: Ni" >
  182.                 <action type="AddToChat" color="204">--- SkillUp Script $CurrentVersion Loaded ---</action>
  183.                 <action type="AddToChat" color="121">Cast one of the following spells to start the script:</action>
  184.                
  185.                 <action type="AddToChat" color="166">Summoning Magic Skill: Carbuncle</action>
  186.                 <action type="AddToChat" color="166">Healing Magic Skill: Cure</action>
  187.                 <action type="AddToChat" color="166">Enhancing Magic Skill: Protect | Barfira | Barfire | Blaze Spikes</action>
  188.                 <action type="AddToChat" color="166">Blue Magic Skill: Pollen</action>
  189.                 <action type="AddToChat" color="166">Geomancy/Handbell Skill: Indi-Regen</action>
  190.                 <action type="AddToChat" color="166">BRD Singing/Wind/String Skill: Fire Carol</action>
  191.                 <action type="AddToChat" color="166">Dark Magic Skill: Endark | Bio</action>
  192.                 <action type="AddToChat" color="166">Divine Magic Skill: Enlight</action>
  193.                 <action type="AddToChat" color="166">Elemental Magic Skill: Burn | Fire</action>
  194.                 <action type="AddToChat" color="166">Enfeebling Magic Skill: Dia</action>
  195.                 <action type="AddToChat" color="166">Auto Ranged Attack: /ra</action>
  196.                 <action type="AddToChat" color="166">Ninjutsu Magic: Katon: Ni</action>
  197.                
  198.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Incorrect Start Spell Detected - Show Start Spell List</addtochat></if>
  199.                 <action type="AddToChat" color="204">--- Press CTRL+Escape at any time to exit SkillUp Script $CurrentVersion ---</action>
  200.                 <cancelspell />
  201.                 <return />
  202.             </if>
  203.            
  204.             <action type="AddToChat" color="204">--- Starting SkillUp Script $CurrentVersion - %skill ---</action>
  205.             <action type="AddToChat" color="121">Current Day is %Day, Current Time is %Time</action>
  206.             <action type="AddToChat" color="121">Script will Automatically End on $SUEndDay at or after $SUEndTime time</action>
  207.            
  208.             <!-- Set Equipment Group Using Main Job -->
  209.             <command>sc group %mainjob</command>
  210.             <action type="AddToChat" color="121">%job Detected - Setting Equipment Group to %mainjob</action>
  211.  
  212.             <action type="AddToChat" color="204">--- Press F10 to reset SkillUp Script $CurrentVersion to First Run ---</action>
  213.             <action type="AddToChat" color="204">--- Press F11 to toggle debug messages On/Off ---</action>
  214.             <action type="AddToChat" color="204">--- Press F12 at any time to Pause/Resume SkillUp Script $CurrentVersion ---</action>
  215.             <action type="AddToChat" color="204">--- Press CTRL+Escape at any time to exit SkillUp Script $CurrentVersion ---</action>
  216.             <action type="var" cmd="set FirstSetup 0" />
  217.             <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Show First Run Note</addtochat></if>
  218.         </if>
  219.  
  220.         <!-- Rule to Auto End Script on specified day and time -->
  221.         <if mode="and" day="$SUEndDay" TimeGT="$SUEndTime">
  222.             <action type="AddToChat" color="121">End Day (%day)/Time (%time) Detected</action>
  223.             <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: End Day/Time Detected - Ending Script</addtochat></if>
  224.             <command>SUEnd</command>   
  225.         </if>
  226.        
  227.         <!-- Cancel Trigger Spell if Script is Paused; This will only cancel trigger spells. Other spells will process when paused. -->
  228.         <if advanced='"$SkillUp"=="0"'>
  229.             <if mode="OR" spell="Carbuncle|Cure|Protect|Barfira|Barfire|Blaze Spikes|Pollen|Indi-Regen|Fire Carol|Endark|Enlight|Burn|Fire|Bio|Dia|Katon: Ni" CommandPrefix="/range|/ra">
  230.                 <cancelspell />
  231.                 <return />
  232.             </if>
  233.         </if>
  234.        
  235.         <!-- Idle/Resting Rules -->
  236.         <if status ="Idle|Engaged">
  237.             <action type="equip" set="Standard" />
  238.            
  239.             <if advanced='"$SkillUp"=="1"'>
  240.                 <!-- Rule to activate Avatar's Favor if Avatar's Favor not active -->
  241.                 <if notbuffactive="Avatar's Favor" job="SMN/*" advanced='"%PetIsValid" == "True"' MainJobLvlGT="54" >
  242.                     <changespell spell="Avatar's Favor" />
  243.                     <changetarget target="&lt;me&gt;" />
  244.                     <command when="aftercast">wait $WaitTime4SMN;input /ma "$CurrentSpell"</command>
  245.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Avatar's Favor not Detected - Activating Avatar's Favor</addtochat></if>
  246.                     <return />
  247.                 </if>
  248.                
  249.                 <!-- Change spell to Release if SMN avatar is active -->
  250.                 <if mode="and" advanced='"%PetIsValid" == "True"' Job="SMN/*|*/SMN">
  251.                     <changespell spell="Release" />
  252.                     <changetarget target="&lt;me&gt;" />
  253.                     <command when="aftercast">wait $WaitTime4SMN;input /ma "$CurrentSpell"</command>
  254.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: %petname Avatar Detected - Changing Action to Release.</addtochat></if>
  255.                     <return />
  256.                 </if>
  257.                
  258.                 <!-- Rules to use Food if $UseFood=True -->
  259.                 <if advanced='"$UseFood"=="True"' notbuffactive="food">
  260.                     <if advanced='"$FoodCycle"=="1"'>
  261.                         <command>input /item "$FoodName" &lt;me&gt;;wait 3;input /ma "$currentspell"</command>
  262.                         <action type="var" cmd="set FoodCycle 0" />
  263.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Food Buff not Detected - Using $FoodName</addtochat></if>
  264.                         <cancelspell />
  265.                         <return />
  266.                     </if>
  267.                 </if>
  268.                 <if mode="AND" advanced='"$UseFood"=="True"' BuffActive="food">
  269.                     <if advanced='"$FoodCycle"=="0"'>
  270.                         <action type="var" cmd="set FoodCycle 1" />
  271.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Food Buff Detected - Changing FoodCycle to 1</addtochat></if>
  272.                     </if>
  273.                 </if>
  274.  
  275.                
  276.                 <!-- Rule to activate Light Arts if Light Arts buff not active -->
  277.                 <if notbuffactive="Light Arts" type="WhiteMagic">
  278.                     <if mode="OR" mainjob="SCH" subjob="SCH">
  279.                         <changespell spell="Light Arts" />
  280.                         <changetarget target="&lt;me&gt;" />
  281.                         <command when="aftercast">wait 2;input /ma "$currentspell"</command>
  282.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Light Arts not Detected - Activating Light Arts</addtochat></if>
  283.                         <return />
  284.                     </if>
  285.                 </if>
  286.                
  287.                 <!-- Rule to activate Dark Arts if Dark Arts buff not active -->
  288.                 <if notbuffactive="Dark Arts" type="BlackMagic">
  289.                     <if mode="OR" mainjob="SCH" subjob="SCH">
  290.                         <changespell spell="Dark Arts" />
  291.                         <changetarget target="&lt;me&gt;" />
  292.                         <command when="aftercast">wait 2;input /ma "$currentspell"</command>
  293.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Dark Arts not Detected - Activating Dark Arts</addtochat></if>
  294.                         <return />
  295.                     </if>
  296.                 </if>
  297.                
  298.                 <if mode="AND" MPPLT="5" mainjob="WHM|BLM|RDM|SCH|SMN|RUN|PLD|GEO">
  299.                     <command when="midcast">wait 5;input /heal on;wait 5;input /ma "$currentspell"</command>
  300.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Low MP detected sending /heal on action in 5 sec.</addtochat></if>
  301.                     <return />
  302.                 </if>
  303.                
  304.                 <!-- Rules to cast refresh spell if refresh buff not active -->
  305.                 <if notbuffactive="Refresh">
  306.                     <if mainjob="GEO" MainJobLvlGT="33" mpgt="126">
  307.                         <changespell spell="Geo-Refresh" />
  308.                         <changetarget target="&lt;me&gt;" />
  309.                         <command when="aftercast">wait 3;input /ma "$CurrentSpell"</command>
  310.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Refresh Buff not Detected - Casting Geo-Refresh Spell</addtochat></if>
  311.                         <return />
  312.                     </if>
  313.                     <elseif mainjob="BLU" MainJobLvlGT="78" mpgt="50">
  314.                         <changespell spell="Battery Charge" />
  315.                         <changetarget target="&lt;me&gt;" />
  316.                         <command when="aftercast">wait 2;input /ma "$currentspell"</command>
  317.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Refresh Buff not Detected - Casting Battery Charge Spell</addtochat></if>
  318.                         <return />
  319.                     </elseif>
  320.                     <elseif mainjob="RDM" MainJobLvlGT="81" mpgt="60">
  321.                         <changespell spell="Refresh II" />
  322.                         <changetarget target="&lt;me&gt;" />
  323.                         <command when="aftercast">wait 2;input /ma "$currentspell"</command>
  324.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Refresh Buff not Detected - Casting Refresh II Spell</addtochat></if>
  325.                         <return />
  326.                     </elseif>
  327.                     <elseif subjob="RDM" SubJobLvlGT="40" NotMainJob="BLU|GEO|BRD" mpgt="40">
  328.                         <changespell spell="Refresh" />
  329.                         <changetarget target="&lt;me&gt;" />
  330.                         <command when="aftercast">wait 2;input /ma "$currentspell"</command>
  331.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Refresh Buff not Detected - Casting Refresh Spell</addtochat></if>
  332.                         <return />
  333.                     </elseif>
  334.                 </if>
  335.        
  336.                 <!-- Rules to cast Haste spell if Haste buff not active -->
  337.                 <if notbuffactive="Haste">
  338.                     <if mainjob="RDM">
  339.                         <if MainJobLvlGT="96" mpgt="80">
  340.                             <changespell spell="Haste II" />
  341.                             <changetarget target="&lt;me&gt;" />
  342.                             <command when="aftercast">wait 2;input /ma "$currentspell"</command>
  343.                             <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Haste Buff not Detected - Casting Haste II Spell</addtochat></if>
  344.                             <return />
  345.                         </if>
  346.                         <elseif MainJobLvlGT="47" mpgt="40">
  347.                             <changespell spell="Haste" />
  348.                             <changetarget target="&lt;me&gt;" />
  349.                             <command when="aftercast">wait 2;input /ma "$currentspell"</command>
  350.                             <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Haste Buff not Detected - Casting Haste Spell</addtochat></if>
  351.                             <return />
  352.                         </elseif>
  353.                     </if>
  354.                     <elseif subjob="RDM" SubJobLvlGT="47" mpgt="40">
  355.                         <changespell spell="Haste" />
  356.                         <changetarget target="&lt;me&gt;" />
  357.                         <command when="aftercast">wait 2;input /ma "$currentspell"</command>
  358.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Haste Buff not Detected - Casting Haste Spell</addtochat></if>
  359.                         <return />
  360.                     </elseif>
  361.                     <elseif mainjob="WHM" MainJobLvlGT="39" mpgt="40">
  362.                         <changespell spell="Haste" />
  363.                         <changetarget target="&lt;me&gt;" />
  364.                         <command when="aftercast">wait 2;input /ma "$currentspell"</command>
  365.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Haste Buff not Detected - Casting Haste Spell</addtochat></if>
  366.                         <return />
  367.                     </elseif>
  368.                     <elseif subjob="WHM" SubJobLvlGT="39" mpgt="40">
  369.                         <changespell spell="Haste" />
  370.                         <changetarget target="&lt;me&gt;" />
  371.                         <command when="aftercast">wait 2;input /ma "$currentspell"</command>
  372.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Haste Buff not Detected - Casting Haste Spell</addtochat></if>
  373.                         <return />
  374.                     </elseif>
  375.                     <elseif mainjob="BLU" MainJobLvlGT="78" mpgt="53">
  376.                         <changespell spell="Animating Wail" />
  377.                         <changetarget target="&lt;me&gt;" />
  378.                         <command when="aftercast">wait 2;input /ma "$currentspell"</command>
  379.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Haste Buff not Detected - Casting Animating Wail Spell</addtochat></if>
  380.                         <return />
  381.                     </elseif>
  382.                 </if>
  383.             </if>
  384.         </if>
  385.  
  386.         <if Status ="Resting">
  387.             <if MPPGT="99">
  388.                 <command when="precast">input /heal off;wait 5;input /ma "$currentspell"</command>
  389.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Full MP Detected sending /heal off action.</addtochat></if>
  390.                 <cancelspell />
  391.                 <return />
  392.             </if>
  393.             <else>
  394.                 <command when="precast">wait 5;input /ma "$currentspell"</command>
  395.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Resting, Current MP is at %mpp%. Continue resting.</addtochat></if>
  396.                 <cancelspell />
  397.                 <return />
  398.             </else>
  399.         </if>
  400.        
  401.         <if advanced='"$SkillUp"=="1"'>
  402.        
  403.             <!-- Summoning Magic Skill-Up Segment -->
  404.             <if spell="Carbuncle">
  405.                 <!--- Smn Skill Cycling --->
  406.                 <if advanced='"$SkillCycle" == "2" and "$IfritAva" == "0"'>
  407.                     <action type="var" cmd="set SkillCycle 3" />
  408.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Ifrit Avatar Not Active - Advancing Skill Cycle</addtochat></if>
  409.                 </if>
  410.                 <if advanced='"$SkillCycle" == "3" and "$TitanAva" == "0"'>
  411.                     <action type="var" cmd="set SkillCycle 4" />
  412.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Titan Avatar Not Active - Advancing Skill Cycle</addtochat></if>
  413.                 </if>
  414.                 <if advanced='"$SkillCycle" == "4" and "$LeviathanAva" == "0"'>
  415.                     <action type="var" cmd="set SkillCycle 5" />
  416.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Leviathan Avatar Not Active - Advancing Skill Cycle</addtochat></if>
  417.                 </if>
  418.                 <if advanced='"$SkillCycle" == "5" and "$GarudaAva" == "0"'>
  419.                     <action type="var" cmd="set SkillCycle 6" />
  420.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Garuda Avatar Not Active - Advancing Skill Cycle</addtochat></if>
  421.                 </if>
  422.                 <if advanced='"$SkillCycle" == "6" and "$ShivaAva" == "0"'>
  423.                     <action type="var" cmd="set SkillCycle 7" />
  424.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Shiva Avatar Not Active - Advancing Skill Cycle</addtochat></if>
  425.                 </if>
  426.                 <if advanced='"$SkillCycle" == "7" and "$RamuhAva" == "0"'>
  427.                     <action type="var" cmd="set SkillCycle 8" />
  428.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Ramuh Avatar Not Active - Advancing Skill Cycle</addtochat></if>
  429.                 </if>
  430.                 <if advanced='"$SkillCycle" == "8" and "$FenrirAva" == "0"'>
  431.                     <action type="var" cmd="set SkillCycle 9" />
  432.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Fenrir Avatar Not Active - Advancing Skill Cycle</addtochat></if>
  433.                 </if>
  434.                 <if advanced='"$SkillCycle" == "9" and "$DiabolosAva" == "0"'>
  435.                     <action type="var" cmd="set SkillCycle 1" />
  436.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Diabolos Avatar Not Active - Advancing Skill Cycle</addtochat></if>
  437.                 </if>
  438.                
  439.                 <if advanced='"$SkillCycle" == "1"'>
  440.                     <action type="command" when="aftercast">wait $WaitTime4SMN;input /ma "$CurrentSpell"</action>
  441.                     <action type="var" cmd="set SkillCycle 2" />
  442.                     <action type="changespell" spell="Carbuncle" />
  443.                     <action type="Changetarget" target="&lt;me&gt;"/>
  444.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 1 Processed</addtochat></if>
  445.                 </if>
  446.                 <elseif advanced='"$SkillCycle" == "2"'>
  447.                     <action type="command" when="aftercast">wait $WaitTime4SMN;input /ma "$CurrentSpell"</action>
  448.                     <action type="var" cmd="set SkillCycle 3" />
  449.                     <action type="changespell" spell="Ifrit" />
  450.                     <action type="Changetarget" target="&lt;me&gt;"/>
  451.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 2 Processed</addtochat></if>
  452.                 </elseif>
  453.                 <elseif advanced='"$SkillCycle" == "3"'>
  454.                     <action type="command" when="aftercast">wait $WaitTime4SMN;input /ma "$CurrentSpell"</action>
  455.                     <action type="var" cmd="set SkillCycle 4" />
  456.                     <action type="changespell" spell="Titan" />
  457.                     <action type="Changetarget" target="&lt;me&gt;"/>
  458.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 3 Processed</addtochat></if>
  459.                 </elseif>
  460.                 <elseif advanced='"$SkillCycle" == "4"'>
  461.                     <action type="command" when="aftercast">wait $WaitTime4SMN;input /ma "$CurrentSpell"</action>
  462.                     <action type="var" cmd="set SkillCycle 5" />
  463.                     <action type="changespell" spell="Leviathan" />
  464.                     <action type="Changetarget" target="&lt;me&gt;"/>
  465.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 4 Processed</addtochat></if>
  466.                 </elseif>
  467.                 <elseif advanced='"$SkillCycle" == "5"'>
  468.                     <action type="command" when="aftercast">wait $WaitTime4SMN;input /ma "$CurrentSpell"</action>
  469.                     <action type="var" cmd="set SkillCycle 6" />
  470.                     <action type="changespell" spell="Garuda" />
  471.                     <action type="Changetarget" target="&lt;me&gt;"/>
  472.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 5 Processed</addtochat></if>
  473.                 </elseif>
  474.                 <elseif advanced='"$SkillCycle" == "6"'>
  475.                     <action type="command" when="aftercast">wait $WaitTime4SMN;input /ma "$CurrentSpell"</action>
  476.                     <action type="var" cmd="set SkillCycle 7" />
  477.                     <action type="changespell" spell="Shiva" />
  478.                     <action type="Changetarget" target="&lt;me&gt;"/>
  479.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 6 Processed</addtochat></if>
  480.                 </elseif>
  481.                 <elseif advanced='"$SkillCycle" == "7"'>
  482.                     <action type="command" when="aftercast">wait $WaitTime4SMN;input /ma "$CurrentSpell"</action>
  483.                     <action type="var" cmd="set SkillCycle 8" />
  484.                     <action type="changespell" spell="Ramuh" />
  485.                     <action type="Changetarget" target="&lt;me&gt;"/>
  486.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 7 Processed</addtochat></if>
  487.                 </elseif>
  488.                 <elseif advanced='"$SkillCycle" == "8"'>
  489.                     <action type="command" when="aftercast">wait $WaitTime4SMN;input /ma "$CurrentSpell"</action>
  490.                     <action type="var" cmd="set SkillCycle 9" />
  491.                     <action type="changespell" spell="Fenrir" />
  492.                     <action type="Changetarget" target="&lt;me&gt;"/>
  493.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 8 Processed</addtochat></if>
  494.                 </elseif>
  495.                 <elseif advanced='"$SkillCycle" == "9"'>
  496.                     <action type="command" when="aftercast">wait $WaitTime4SMN;input /ma "$CurrentSpell"</action>
  497.                     <action type="var" cmd="set SkillCycle 1" />
  498.                     <action type="changespell" spell="Diabolos" />
  499.                     <action type="Changetarget" target="&lt;me&gt;"/>
  500.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 9 Processed</addtochat></if>
  501.                 </elseif>
  502.             </if>
  503.      
  504.             <!-- Healing Magic Skill-Up Segment -->
  505.             <elseif spell="Cure" >
  506.                 <!--- Fix the SkillCycle varaible in case the SMN SKILL Segment boinked it --->
  507.                 <if advanced='$SkillCycle &gt; 4'>
  508.                     <action type="var" cmd="set SkillCycle 1" />
  509.                     <action type="command" when="aftercast">wait 3;input /ma "$CurrentSpell"</action>
  510.                     <action type="cancelspell"/>
  511.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Incorrect variable detected for this group, resetting to 1</addtochat></if>
  512.                 </if>
  513.                 <!--- Healing Skill Cycling --->
  514.                 <elseif advanced='"$SkillCycle" == "1"'>
  515.                     <action type="command" when="aftercast">wait $WaitTime4Healing;input /ma "$CurrentSpell"</action>
  516.                     <action type="var" cmd="set SkillCycle 2" />
  517.                     <action type="changespell" spell="Cure" />
  518.                     <action type="Changetarget" target="&lt;me&gt;"/>
  519.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 1 Processed</addtochat></if>
  520.                 </elseif>
  521.                 <elseif advanced='"$SkillCycle" == "2"'>
  522.                     <action type="command" when="aftercast">wait $WaitTime4Healing;input /ma "$CurrentSpell"</action>
  523.                     <action type="var" cmd="set SkillCycle 3" />
  524.                     <action type="changespell" spell="Cure II" />
  525.                     <action type="Changetarget" target="&lt;me&gt;"/>
  526.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 2 Processed</addtochat></if>
  527.                 </elseif>
  528.                 <elseif advanced='"$SkillCycle" == "3"'>
  529.                     <action type="command" when="aftercast">wait $WaitTime4Healing;input /ma "$CurrentSpell"</action>
  530.                     <action type="var" cmd="set SkillCycle 4" />
  531.                     <action type="changespell" spell="Cure" />
  532.                     <action type="Changetarget" target="&lt;me&gt;"/>
  533.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 3 Processed</addtochat></if>
  534.                 </elseif>
  535.                 <elseif advanced='"$SkillCycle" == "4"'>
  536.                     <action type="command" when="aftercast">wait $WaitTime4Healing;input /ma "$CurrentSpell"</action>
  537.                     <action type="var" cmd="set SkillCycle 1" />
  538.                     <action type="changespell" spell="Cure II" />
  539.                     <action type="Changetarget" target="&lt;me&gt;"/>
  540.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 4 Processed</addtochat></if>
  541.                 </elseif>
  542.             </elseif>
  543.      
  544.             <!-- Enhancing Magic Skill-Up Segment -->
  545.                 <!-- Enhancing Magic Skill-Up using Protect/Shell spells -->
  546.                 <elseif spell="Protect" >
  547.                     <!-- Cancel Protect/Shell -->
  548.                     <if buffactive="Protect">
  549.                         <command >cancel 40</command>
  550.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Protect Detected - Cancelling Protect</addtochat></if>
  551.                     </if>
  552.                     <if buffactive="Shell">
  553.                         <command >cancel 41</command>
  554.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Shell Detected - Cancelling Shell</addtochat></if>
  555.                     </if>
  556.                     <!--- Fix the SkillCycle varaible in case the SMN SKILL Segment boinked it --->
  557.                     <if advanced='$SkillCycle &gt; 4'>
  558.                         <action type="var" cmd="set SkillCycle 1" />
  559.                         <action type="command" when="aftercast">wait 3;input /ma "$CurrentSpell"</action>
  560.                         <action type="cancelspell"/>
  561.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Incorrect variable detected for this group, resetting to 1</addtochat></if>
  562.                     </if>
  563.                     <!--- Enhancing Skill Cycling --->
  564.                     <elseif advanced='"$SkillCycle" == "1"'>
  565.                         <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  566.                         <action type="var" cmd="set SkillCycle 2" />
  567.                         <action type="changespell" spell="Protect" />
  568.                         <action type="Changetarget" target="&lt;me&gt;"/>
  569.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 1 Processed</addtochat></if>
  570.                     </elseif>
  571.                     <elseif advanced='"$SkillCycle" == "2"'>
  572.                         <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  573.                         <action type="var" cmd="set SkillCycle 3" />
  574.                         <action type="changespell" spell="Shell" />
  575.                         <action type="Changetarget" target="&lt;me&gt;"/>
  576.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 2 Processed</addtochat></if>
  577.                     </elseif>
  578.                     <elseif advanced='"$SkillCycle" == "3"'>
  579.                         <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  580.                         <action type="var" cmd="set SkillCycle 4" />
  581.                         <action type="changespell" spell="Protect II" />
  582.                         <action type="Changetarget" target="&lt;me&gt;"/>
  583.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 3 Processed</addtochat></if>
  584.                     </elseif>
  585.                     <elseif advanced='"$SkillCycle" == "4"'>
  586.                         <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  587.                         <action type="var" cmd="set SkillCycle 1" />
  588.                         <action type="changespell" spell="Shell II" />
  589.                         <action type="Changetarget" target="&lt;me&gt;"/>
  590.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 4 Processed</addtochat></if>
  591.                     </elseif>
  592.                 </elseif>
  593.                
  594.                 <!-- Enhancing Magic Skill-Up using WHM Bar spells -->
  595.                 <elseif spell="Barfira" >
  596.                     <!--- Fix the SkillCycle varaible in case the SMN SKILL Segment boinked it --->
  597.                     <if advanced='$SkillCycle &gt; 6'>
  598.                         <action type="var" cmd="set SkillCycle 1" />
  599.                         <action type="command" when="aftercast">wait 3;input /ma "$CurrentSpell"</action>
  600.                         <action type="cancelspell"/>
  601.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Incorrect variable detected for this group, resetting to 1</addtochat></if>
  602.                     </if>
  603.                     <!--- Enhancing Skill Cycling --->
  604.                     <elseif advanced='"$SkillCycle" == "1"'>
  605.                         <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  606.                         <action type="var" cmd="set SkillCycle 2" />
  607.                         <action type="changespell" spell="Barfira" />
  608.                         <action type="Changetarget" target="&lt;me&gt;"/>
  609.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 1 Processed</addtochat></if>
  610.                     </elseif>
  611.                     <elseif advanced='"$SkillCycle" == "2"'>
  612.                         <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  613.                         <action type="var" cmd="set SkillCycle 3" />
  614.                         <action type="changespell" spell="Barblizzara" />
  615.                         <action type="Changetarget" target="&lt;me&gt;"/>
  616.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 2 Processed</addtochat></if>
  617.                     </elseif>
  618.                     <elseif advanced='"$SkillCycle" == "3"'>
  619.                         <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  620.                         <action type="var" cmd="set SkillCycle 4" />
  621.                         <action type="changespell" spell="Baraera" />
  622.                         <action type="Changetarget" target="&lt;me&gt;"/>
  623.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 3 Processed</addtochat></if>
  624.                     </elseif>
  625.                     <elseif advanced='"$SkillCycle" == "4"'>
  626.                         <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  627.                         <action type="var" cmd="set SkillCycle 5" />
  628.                         <action type="changespell" spell="Barstonra" />
  629.                         <action type="Changetarget" target="&lt;me&gt;"/>
  630.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 4 Processed</addtochat></if>
  631.                     </elseif>
  632.                     <elseif advanced='"$SkillCycle" == "5"'>
  633.                         <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  634.                         <action type="var" cmd="set SkillCycle 6" />
  635.                         <action type="changespell" spell="Barthundra" />
  636.                         <action type="Changetarget" target="&lt;me&gt;"/>
  637.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 5 Processed</addtochat></if>
  638.                     </elseif>
  639.                     <elseif advanced='"$SkillCycle" == "6"'>
  640.                         <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  641.                         <action type="var" cmd="set SkillCycle 1" />
  642.                         <action type="changespell" spell="Barwatera" />
  643.                         <action type="Changetarget" target="&lt;me&gt;"/>
  644.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 6 Processed</addtochat></if>
  645.                     </elseif>
  646.                 </elseif>
  647.                
  648.                 <!-- Enhancing Magic Skill-Up using RDM Bar spells -->
  649.                 <elseif spell="Barfire" >
  650.                     <!--- Fix the SkillCycle varaible in case the SMN SKILL Segment boinked it --->
  651.                     <if advanced='$SkillCycle &gt; 6'>
  652.                         <action type="var" cmd="set SkillCycle 1" />
  653.                         <action type="command" when="aftercast">wait 3;input /ma "$CurrentSpell"</action>
  654.                         <action type="cancelspell"/>
  655.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Incorrect variable detected for this group, resetting to 1</addtochat></if>
  656.                     </if>
  657.                     <!--- Enhancing Skill Cycling --->
  658.                     <elseif advanced='"$SkillCycle" == "1"'>
  659.                         <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  660.                         <action type="var" cmd="set SkillCycle 2" />
  661.                         <action type="changespell" spell="Barfire" />
  662.                         <action type="Changetarget" target="&lt;me&gt;"/>
  663.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 1 Processed</addtochat></if>
  664.                     </elseif>
  665.                     <elseif advanced='"$SkillCycle" == "2"'>
  666.                         <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  667.                         <action type="var" cmd="set SkillCycle 3" />
  668.                         <action type="changespell" spell="Barblizzard" />
  669.                         <action type="Changetarget" target="&lt;me&gt;"/>
  670.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 2 Processed</addtochat></if>
  671.                     </elseif>
  672.                     <elseif advanced='"$SkillCycle" == "3"'>
  673.                         <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  674.                         <action type="var" cmd="set SkillCycle 4" />
  675.                         <action type="changespell" spell="Baraero" />
  676.                         <action type="Changetarget" target="&lt;me&gt;"/>
  677.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 3 Processed.</addtochat></if>
  678.                     </elseif>
  679.                     <elseif advanced='"$SkillCycle" == "4"'>
  680.                         <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  681.                         <action type="var" cmd="set SkillCycle 5" />
  682.                         <action type="changespell" spell="Barstone" />
  683.                         <action type="Changetarget" target="&lt;me&gt;"/>
  684.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 4 Processed</addtochat></if>
  685.                     </elseif>
  686.                     <elseif advanced='"$SkillCycle" == "5"'>
  687.                         <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  688.                         <action type="var" cmd="set SkillCycle 6" />
  689.                         <action type="changespell" spell="Barthunder" />
  690.                         <action type="Changetarget" target="&lt;me&gt;"/>
  691.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 5 Processed</addtochat></if>
  692.                     </elseif>
  693.                     <elseif advanced='"$SkillCycle" == "6"'>
  694.                         <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  695.                         <action type="var" cmd="set SkillCycle 1" />
  696.                         <action type="changespell" spell="Barwater" />
  697.                         <action type="Changetarget" target="&lt;me&gt;"/>
  698.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 6 Processed</addtochat></if>
  699.                     </elseif>
  700.                 </elseif>
  701.                
  702.                 <!-- Enhancing Magic Skill-Up using Spikes spells -->
  703.                 <elseif spell="Blaze Spikes" >
  704.                     <!--- Fix the SkillCycle varaible in case the SMN SKILL Segment boinked it --->
  705.                     <if advanced='$SkillCycle &gt; 3'>
  706.                         <action type="var" cmd="set SkillCycle 1" />
  707.                         <action type="command" when="aftercast">wait 3;input /ma "$CurrentSpell"</action>
  708.                         <action type="cancelspell"/>
  709.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Incorrect variable detected for this group, resetting to 1</addtochat></if>
  710.                     </if>
  711.                     <!--- Enhancing Skill Cycling --->
  712.                     <elseif advanced='"$SkillCycle" == "1"'>
  713.                         <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  714.                         <action type="var" cmd="set SkillCycle 2" />
  715.                         <action type="changespell" spell="Blaze Spikes" />
  716.                         <action type="Changetarget" target="&lt;me&gt;"/>
  717.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 1 Processed</addtochat></if>
  718.                     </elseif>
  719.                     <elseif advanced='"$SkillCycle" == "2"'>
  720.                         <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  721.                         <action type="var" cmd="set SkillCycle 3" />
  722.                         <action type="changespell" spell="Ice Spikes" />
  723.                         <action type="Changetarget" target="&lt;me&gt;"/>
  724.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 2 Processed</addtochat></if>
  725.                     </elseif>
  726.                     <elseif advanced='"$SkillCycle" == "3"'>
  727.                         <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  728.                         <action type="var" cmd="set SkillCycle 1" />
  729.                         <action type="changespell" spell="Shock Spikes" />
  730.                         <action type="Changetarget" target="&lt;me&gt;"/>
  731.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 3 Processed</addtochat></if>
  732.                     </elseif>
  733.                 </elseif>
  734.            
  735.             <!-- Blue Magic Skill-Up Segment -->
  736.             <elseif spell="Pollen" >
  737.                 <!--- Fix the SkillCycle varaible in case the SMN SKILL Segment boinked it --->
  738.                 <if advanced='$SkillCycle &gt; 4'>
  739.                     <action type="var" cmd="set SkillCycle 1" />
  740.                     <action type="command" when="aftercast">wait 3;input /ma "$CurrentSpell"</action>
  741.                     <action type="cancelspell"/>
  742.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Incorrect variable detected for this group, resetting to 1</addtochat></if>
  743.                 </if>
  744.                 <!--- Blue Magic Skill Cycling --->
  745.                 <elseif advanced='"$SkillCycle" == "1"'>
  746.                     <action type="command" when="aftercast">wait $WaitTime4BLU;input /ma "$CurrentSpell"</action>
  747.                     <action type="var" cmd="set SkillCycle 2" />
  748.                     <action type="changespell" spell="Pollen" />
  749.                     <action type="Changetarget" target="&lt;me&gt;"/>
  750.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 1 Processed</addtochat></if>
  751.                 </elseif>
  752.                 <elseif advanced='"$SkillCycle" == "2"'>
  753.                     <action type="command" when="aftercast">wait $WaitTime4BLU;input /ma "$CurrentSpell"</action>
  754.                     <action type="var" cmd="set SkillCycle 3" />
  755.                     <action type="changespell" spell="Magic Fruit" />
  756.                     <action type="Changetarget" target="&lt;me&gt;"/>
  757.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 2 Processed</addtochat></if>
  758.                 </elseif>
  759.                 <elseif advanced='"$SkillCycle" == "3"'>
  760.                     <action type="command" when="aftercast">wait $WaitTime4BLU;input /ma "$CurrentSpell"</action>
  761.                     <action type="var" cmd="set SkillCycle 4" />
  762.                     <action type="changespell" spell="Pollen" />
  763.                     <action type="Changetarget" target="&lt;me&gt;"/>
  764.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 3 Processed</addtochat></if>
  765.                 </elseif>
  766.                 <elseif advanced='"$SkillCycle" == "4"'>
  767.                     <action type="command" when="aftercast">wait $WaitTime4BLU;input /ma "$CurrentSpell"</action>
  768.                     <action type="var" cmd="set SkillCycle 1" />
  769.                     <action type="changespell" spell="Magic Fruit" />
  770.                     <action type="Changetarget" target="&lt;me&gt;"/>
  771.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 4 Processed</addtochat></if>
  772.                 </elseif>
  773.             </elseif>
  774.            
  775.             <!-- Geomancy Magic Skill-Up Segment -->
  776.             <elseif spell="Indi-Regen" >
  777.                 <!--- Fix the SkillCycle varaible in case the SMN SKILL Segment boinked it --->
  778.                 <if advanced='$SkillCycle &gt; 7'>
  779.                     <action type="var" cmd="set SkillCycle 1" />
  780.                     <action type="command" when="aftercast">wait 3;input /ma "$CurrentSpell"</action>
  781.                     <action type="cancelspell"/>
  782.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Incorrect variable detected for this group, resetting to 1</addtochat></if>
  783.                 </if>
  784.                 <!--- Geomancy Skill Cycling --->
  785.                 <elseif advanced='"$SkillCycle" == "1"'>
  786.                     <action type="command" when="aftercast">wait $WaitTime4GEO;input /ma "$CurrentSpell"</action>
  787.                     <action type="var" cmd="set SkillCycle 2" />
  788.                     <action type="changespell" spell="Indi-Regen" />
  789.                     <action type="Changetarget" target="&lt;me&gt;"/>
  790.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 1 Processed</addtochat></if>
  791.                 </elseif>
  792.                 <elseif advanced='"$SkillCycle" == "2"'>
  793.                     <action type="command" when="aftercast">wait $WaitTime4GEO;input /ma "$CurrentSpell"</action>
  794.                     <action type="var" cmd="set SkillCycle 3" />
  795.                     <action type="changespell" spell="Indi-Poison" />
  796.                     <action type="Changetarget" target="&lt;me&gt;"/>
  797.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 2 Processed</addtochat></if>
  798.                 </elseif>
  799.                 <elseif advanced='"$SkillCycle" == "3"'>
  800.                     <action type="command" when="aftercast">wait $WaitTime4GEO;input /ma "$CurrentSpell"</action>
  801.                     <action type="var" cmd="set SkillCycle 4" />
  802.                     <action type="changespell" spell="Indi-Refresh" />
  803.                     <action type="Changetarget" target="&lt;me&gt;"/>
  804.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 3 Processed</addtochat></if>
  805.                 </elseif>
  806.                 <elseif advanced='"$SkillCycle" == "4"'>
  807.                     <action type="command" when="aftercast">wait $WaitTime4GEO;input /ma "$CurrentSpell"</action>
  808.                     <action type="var" cmd="set SkillCycle 5" />
  809.                     <action type="changespell" spell="Indi-Fury" />
  810.                     <action type="Changetarget" target="&lt;me&gt;"/>
  811.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 4 Processed</addtochat></if>
  812.                 </elseif>
  813.                 <elseif advanced='"$SkillCycle" == "5"'>
  814.                     <action type="command" when="aftercast">wait $WaitTime4GEO;input /ma "$CurrentSpell"</action>
  815.                     <action type="var" cmd="set SkillCycle 6" />
  816.                     <action type="changespell" spell="Indi-Barrier" />
  817.                     <action type="Changetarget" target="&lt;me&gt;"/>
  818.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 5 Processed</addtochat></if>
  819.                 </elseif>
  820.                 <elseif advanced='"$SkillCycle" == "6"'>
  821.                     <action type="command" when="aftercast">wait $WaitTime4GEO;input /ma "$CurrentSpell"</action>
  822.                     <action type="var" cmd="set SkillCycle 7" />
  823.                     <action type="changespell" spell="Indi-Precision" />
  824.                     <action type="Changetarget" target="&lt;me&gt;"/>
  825.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 6 Processed</addtochat></if>
  826.                 </elseif>
  827.                 <elseif advanced='"$SkillCycle" == "7"'>
  828.                     <action type="command" when="aftercast">wait $WaitTime4GEO;input /ma "$CurrentSpell"</action>
  829.                     <action type="var" cmd="set SkillCycle 1" />
  830.                     <action type="changespell" spell="Indi-Voidance" />
  831.                     <action type="Changetarget" target="&lt;me&gt;"/>
  832.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 7 Processed</addtochat></if>
  833.                 </elseif>
  834.             </elseif>
  835.            
  836.             <!-- BRD Song Skill-Up Segment -->
  837.             <if spell="Fire Carol">
  838.                 <!--- Fix the SkillCycle varaible in case the SMN SKILL Segment boinked it --->
  839.                 <if advanced='$SkillCycle &gt; 8'>
  840.                     <action type="var" cmd="set SkillCycle 1" />
  841.                     <action type="command" when="aftercast">wait 3;input /ma "$CurrentSpell"</action>
  842.                     <action type="cancelspell"/>
  843.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Incorrect variable detected for this group, resetting to 1</addtochat></if>
  844.                 </if>
  845.                 <!--- BRD Skill Cycling --->
  846.                 <elseif advanced='"$SkillCycle" == "1"'>
  847.                     <action type="command" when="aftercast">wait $WaitTime4BRD;input /ma "$CurrentSpell"</action>
  848.                     <action type="var" cmd="set SkillCycle 2" />
  849.                     <action type="changespell" spell="Fire Carol" />
  850.                     <action type="Changetarget" target="&lt;me&gt;"/>
  851.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 1 Processed</addtochat></if>
  852.                 </elseif>
  853.                 <elseif advanced='"$SkillCycle" == "2"'>
  854.                     <action type="command" when="aftercast">wait $WaitTime4BRD;input /ma "$CurrentSpell"</action>
  855.                     <action type="var" cmd="set SkillCycle 3" />
  856.                     <action type="changespell" spell="Ice Carol" />
  857.                     <action type="Changetarget" target="&lt;me&gt;"/>
  858.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 2 Processed</addtochat></if>
  859.                 </elseif>
  860.                 <elseif advanced='"$SkillCycle" == "3"'>
  861.                     <action type="command" when="aftercast">wait $WaitTime4BRD;input /ma "$CurrentSpell"</action>
  862.                     <action type="var" cmd="set SkillCycle 4" />
  863.                     <action type="changespell" spell="Wind Carol" />
  864.                     <action type="Changetarget" target="&lt;me&gt;"/>
  865.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 3 Processed</addtochat></if>
  866.                 </elseif>
  867.                 <elseif advanced='"$SkillCycle" == "4"'>
  868.                     <action type="command" when="aftercast">wait $WaitTime4BRD;input /ma "$CurrentSpell"</action>
  869.                     <action type="var" cmd="set SkillCycle 5" />
  870.                     <action type="changespell" spell="Earth Carol" />
  871.                     <action type="Changetarget" target="&lt;me&gt;"/>
  872.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 4 Processed</addtochat></if>
  873.                 </elseif>
  874.                 <elseif advanced='"$SkillCycle" == "5"'>
  875.                     <action type="command" when="aftercast">wait $WaitTime4BRD;input /ma "$CurrentSpell"</action>
  876.                     <action type="var" cmd="set SkillCycle 6" />
  877.                     <action type="changespell" spell="Lightning Carol" />
  878.                     <action type="Changetarget" target="&lt;me&gt;"/>
  879.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 5 Processed</addtochat></if>
  880.                 </elseif>
  881.                 <elseif advanced='"$SkillCycle" == "6"'>
  882.                     <action type="command" when="aftercast">wait $WaitTime4BRD;input /ma "$CurrentSpell"</action>
  883.                     <action type="var" cmd="set SkillCycle 7" />
  884.                     <action type="changespell" spell="Water Carol" />
  885.                     <action type="Changetarget" target="&lt;me&gt;"/>
  886.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 6 Processed</addtochat></if>
  887.                 </elseif>
  888.                 <elseif advanced='"$SkillCycle" == "7"'>
  889.                     <action type="command" when="aftercast">wait $WaitTime4BRD;input /ma "$CurrentSpell"</action>
  890.                     <action type="var" cmd="set SkillCycle 8" />
  891.                     <action type="changespell" spell="Light Carol" />
  892.                     <action type="Changetarget" target="&lt;me&gt;"/>
  893.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 7 Processed</addtochat></if>
  894.                 </elseif>
  895.                 <elseif advanced='"$SkillCycle" == "8"'>
  896.                     <action type="command" when="aftercast">wait $WaitTime4BRD;input /ma "$CurrentSpell"</action>
  897.                     <action type="var" cmd="set SkillCycle 1" />
  898.                     <action type="changespell" spell="Dark Carol" />
  899.                     <action type="Changetarget" target="&lt;me&gt;"/>
  900.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 8 Processed</addtochat></if>
  901.                 </elseif>
  902.             </if>
  903.            
  904.             <!-- Dark Magic Skill-Up Segment -->
  905.                 <!-- Dark Magic Skill-Up using Endark spell -->
  906.                 <elseif spell="Endark" >
  907.                     <!--- Fix the SkillCycle varaible in case the SMN SKILL Segment boinked it --->
  908.                     <if advanced='$SkillCycle &gt; 3'>
  909.                         <action type="var" cmd="set SkillCycle 1" />
  910.                         <action type="command" when="aftercast">wait 3;input /ma "$CurrentSpell"</action>
  911.                         <action type="cancelspell"/>
  912.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Incorrect variable detected for this group, resetting to 1</addtochat></if>
  913.                     </if>
  914.                     <!--- Dark Skill Cycling --->
  915.                     <elseif advanced='"$SkillCycle" == "1"'>
  916.                         <action type="command" when="aftercast">wait $WaitTime4Dark;input /ma "$CurrentSpell"</action>
  917.                         <action type="var" cmd="set SkillCycle 2" />
  918.                         <action type="changespell" spell="Endark" />
  919.                         <action type="Changetarget" target="&lt;me&gt;"/>
  920.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 1 Processed</addtochat></if>
  921.                     </elseif>
  922.                     <elseif advanced='"$SkillCycle" == "2"'>
  923.                         <action type="command" when="aftercast">wait $WaitTime4Dark;input /ma "$CurrentSpell"</action>
  924.                         <action type="var" cmd="set SkillCycle 3" />
  925.                         <action type="changespell" spell="Endark" />
  926.                         <action type="Changetarget" target="&lt;me&gt;"/>
  927.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 2 Processed</addtochat></if>
  928.                     </elseif>
  929.                     <elseif advanced='"$SkillCycle" == "3"'>
  930.                         <action type="command" when="aftercast">wait $WaitTime4Dark;input /ma "$CurrentSpell"</action>
  931.                         <action type="var" cmd="set SkillCycle 1" />
  932.                         <action type="changespell" spell="Endark" />
  933.                         <action type="Changetarget" target="&lt;me&gt;"/>
  934.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 3 Processed</addtochat></if>
  935.                     </elseif>
  936.                 </elseif>
  937.                
  938.                 <!-- Dark Magic Skill-Up using Bio spell -->
  939.                 <elseif spell="Bio" >
  940.                     <!--- Fix the SkillCycle varaible in case the SMN SKILL Segment boinked it --->
  941.                     <if advanced='$SkillCycle &gt; 3'>
  942.                         <action type="var" cmd="set SkillCycle 1" />
  943.                         <action type="command" when="aftercast">wait 3;input /ma "$CurrentSpell"</action>
  944.                         <action type="cancelspell"/>
  945.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Incorrect variable detected for this group, resetting to 1</addtochat></if>
  946.                     </if>
  947.                     <!--- Dark Skill Cycling --->
  948.                     <elseif advanced='"$SkillCycle" == "1"'>
  949.                         <action type="command" when="aftercast">wait $WaitTime4Dark;input /ma "$CurrentSpell"</action>
  950.                         <action type="var" cmd="set SkillCycle 2" />
  951.                         <action type="changespell" spell="Bio" />
  952.                         <action type="Changetarget" target="&lt;t&gt;"/>
  953.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 1 Processed</addtochat></if>
  954.                     </elseif>
  955.                     <elseif advanced='"$SkillCycle" == "2"'>
  956.                         <action type="command" when="aftercast">wait $WaitTime4Dark;input /ma "$CurrentSpell"</action>
  957.                         <action type="var" cmd="set SkillCycle 3" />
  958.                         <action type="changespell" spell="Bio" />
  959.                         <action type="Changetarget" target="&lt;t&gt;"/>
  960.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 2 Processed</addtochat></if>
  961.                     </elseif>
  962.                     <elseif advanced='"$SkillCycle" == "3"'>
  963.                         <action type="command" when="aftercast">wait $WaitTime4Dark;input /ma "$CurrentSpell"</action>
  964.                         <action type="var" cmd="set SkillCycle 1" />
  965.                         <action type="changespell" spell="Bio" />
  966.                         <action type="Changetarget" target="&lt;t&gt;"/>
  967.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 3 Processed</addtochat></if>
  968.                     </elseif>
  969.                 </elseif>
  970.            
  971.             <!-- Divine Magic Skill-Up Segment -->
  972.             <elseif spell="Enlight" >
  973.                 <!--- Fix the SkillCycle varaible in case the SMN SKILL Segment boinked it --->
  974.                 <if advanced='$SkillCycle &gt; 3'>
  975.                     <action type="var" cmd="set SkillCycle 1" />
  976.                     <action type="command" when="aftercast">wait 3;input /ma "$CurrentSpell"</action>
  977.                     <action type="cancelspell"/>
  978.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Incorrect variable detected for this group, resetting to 1</addtochat></if>
  979.                 </if>
  980.                 <!--- Divine Skill Cycling --->
  981.                 <elseif advanced='"$SkillCycle" == "1"'>
  982.                     <action type="command" when="aftercast">wait $WaitTime4Divine;input /ma "$CurrentSpell"</action>
  983.                     <action type="var" cmd="set SkillCycle 2" />
  984.                     <action type="changespell" spell="Enlight" />
  985.                     <action type="Changetarget" target="&lt;me&gt;"/>
  986.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 1 Processed</addtochat></if>
  987.                 </elseif>
  988.                 <elseif advanced='"$SkillCycle" == "2"'>
  989.                     <action type="command" when="aftercast">wait $WaitTime4Divine;input /ma "$CurrentSpell"</action>
  990.                     <action type="var" cmd="set SkillCycle 3" />
  991.                     <action type="changespell" spell="Enlight" />
  992.                     <action type="Changetarget" target="&lt;me&gt;"/>
  993.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 2 Processed</addtochat></if>
  994.                 </elseif>
  995.                 <elseif advanced='"$SkillCycle" == "3"'>
  996.                     <action type="command" when="aftercast">wait $WaitTime4Divine;input /ma "$CurrentSpell"</action>
  997.                     <action type="var" cmd="set SkillCycle 1" />
  998.                     <action type="changespell" spell="Enlight" />
  999.                     <action type="Changetarget" target="&lt;me&gt;"/>
  1000.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 3 Processed</addtochat></if>
  1001.                 </elseif>
  1002.             </elseif>
  1003.            
  1004.             <!-- Elemental Magic Skill-Up Segment -->
  1005.                 <!-- Elemental Magic Skill-Up using D.O.T. spells -->
  1006.                 <elseif spell="Burn" >
  1007.                     <!--- Fix the SkillCycle varaible in case the SMN SKILL Segment boinked it --->
  1008.                     <if advanced='$SkillCycle &gt; 6'>
  1009.                         <action type="var" cmd="set SkillCycle 1" />
  1010.                         <action type="command" when="aftercast">wait 3;input /ma "$CurrentSpell"</action>
  1011.                         <action type="cancelspell"/>
  1012.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Incorrect variable detected for this group, resetting to 1</addtochat></if>
  1013.                     </if>
  1014.                     <!--- Elemental Skill Cycling --->
  1015.                     <elseif advanced='"$SkillCycle" == "1"'>
  1016.                         <action type="command" when="aftercast">wait $WaitTime4Elemental;input /ma "$CurrentSpell"</action>
  1017.                         <action type="var" cmd="set SkillCycle 2" />
  1018.                         <action type="changespell" spell="Burn" />
  1019.                         <action type="Changetarget" target="&lt;t&gt;"/>
  1020.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 1 Processed</addtochat></if>
  1021.                     </elseif>
  1022.                     <elseif advanced='"$SkillCycle" == "2"'>
  1023.                         <action type="command" when="aftercast">wait $WaitTime4Elemental;input /ma "$CurrentSpell"</action>
  1024.                         <action type="var" cmd="set SkillCycle 3" />
  1025.                         <action type="changespell" spell="Frost" />
  1026.                         <action type="Changetarget" target="&lt;t&gt;"/>
  1027.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 2 Processed</addtochat></if>
  1028.                     </elseif>
  1029.                     <elseif advanced='"$SkillCycle" == "3"'>
  1030.                         <action type="command" when="aftercast">wait $WaitTime4Elemental;input /ma "$CurrentSpell"</action>
  1031.                         <action type="var" cmd="set SkillCycle 4" />
  1032.                         <action type="changespell" spell="Choke" />
  1033.                         <action type="Changetarget" target="&lt;t&gt;"/>
  1034.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 3 Processed.</addtochat></if>
  1035.                     </elseif>
  1036.                     <elseif advanced='"$SkillCycle" == "4"'>
  1037.                         <action type="command" when="aftercast">wait $WaitTime4Elemental;input /ma "$CurrentSpell"</action>
  1038.                         <action type="var" cmd="set SkillCycle 5" />
  1039.                         <action type="changespell" spell="Rasp" />
  1040.                         <action type="Changetarget" target="&lt;t&gt;"/>
  1041.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 4 Processed</addtochat></if>
  1042.                     </elseif>
  1043.                     <elseif advanced='"$SkillCycle" == "5"'>
  1044.                         <action type="command" when="aftercast">wait $WaitTime4Elemental;input /ma "$CurrentSpell"</action>
  1045.                         <action type="var" cmd="set SkillCycle 6" />
  1046.                         <action type="changespell" spell="Shock" />
  1047.                         <action type="Changetarget" target="&lt;t&gt;"/>
  1048.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 5 Processed</addtochat></if>
  1049.                     </elseif>
  1050.                     <elseif advanced='"$SkillCycle" == "6"'>
  1051.                         <action type="command" when="aftercast">wait $WaitTime4Elemental;input /ma "$CurrentSpell"</action>
  1052.                         <action type="var" cmd="set SkillCycle 1" />
  1053.                         <action type="changespell" spell="Drown" />
  1054.                         <action type="Changetarget" target="&lt;t&gt;"/>
  1055.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 6 Processed</addtochat></if>
  1056.                     </elseif>
  1057.                 </elseif>
  1058.                
  1059.                 <!-- Elemental Magic Skill-Up using Nuke spells -->
  1060.                 <elseif spell="Fire" >
  1061.                     <!--- Fix the SkillCycle varaible in case the SMN SKILL Segment boinked it --->
  1062.                     <if advanced='$SkillCycle &gt; 6'>
  1063.                         <action type="var" cmd="set SkillCycle 1" />
  1064.                         <action type="command" when="aftercast">wait 3;input /ma "$CurrentSpell"</action>
  1065.                         <action type="cancelspell"/>
  1066.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Incorrect variable detected for this group, resetting to 1</addtochat></if>
  1067.                     </if>
  1068.                     <!--- Elemental Skill Cycling --->
  1069.                     <elseif advanced='"$SkillCycle" == "1"'>
  1070.                         <action type="command" when="aftercast">wait $WaitTime4Elemental;input /ma "$CurrentSpell"</action>
  1071.                         <action type="var" cmd="set SkillCycle 2" />
  1072.                         <action type="changespell" spell="Fire" />
  1073.                         <action type="Changetarget" target="&lt;t&gt;"/>
  1074.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 1 Processed</addtochat></if>
  1075.                     </elseif>
  1076.                     <elseif advanced='"$SkillCycle" == "2"'>
  1077.                         <action type="command" when="aftercast">wait $WaitTime4Elemental;input /ma "$CurrentSpell"</action>
  1078.                         <action type="var" cmd="set SkillCycle 3" />
  1079.                         <action type="changespell" spell="Blizzard" />
  1080.                         <action type="Changetarget" target="&lt;t&gt;"/>
  1081.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 2 Processed</addtochat></if>
  1082.                     </elseif>
  1083.                     <elseif advanced='"$SkillCycle" == "3"'>
  1084.                         <action type="command" when="aftercast">wait $WaitTime4Elemental;input /ma "$CurrentSpell"</action>
  1085.                         <action type="var" cmd="set SkillCycle 4" />
  1086.                         <action type="changespell" spell="Aero" />
  1087.                         <action type="Changetarget" target="&lt;t&gt;"/>
  1088.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 3 Processed.</addtochat></if>
  1089.                     </elseif>
  1090.                     <elseif advanced='"$SkillCycle" == "4"'>
  1091.                         <action type="command" when="aftercast">wait $WaitTime4Elemental;input /ma "$CurrentSpell"</action>
  1092.                         <action type="var" cmd="set SkillCycle 5" />
  1093.                         <action type="changespell" spell="Stone" />
  1094.                         <action type="Changetarget" target="&lt;t&gt;"/>
  1095.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 4 Processed</addtochat></if>
  1096.                     </elseif>
  1097.                     <elseif advanced='"$SkillCycle" == "5"'>
  1098.                         <action type="command" when="aftercast">wait $WaitTime4Elemental;input /ma "$CurrentSpell"</action>
  1099.                         <action type="var" cmd="set SkillCycle 6" />
  1100.                         <action type="changespell" spell="Thunder" />
  1101.                         <action type="Changetarget" target="&lt;t&gt;"/>
  1102.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 5 Processed</addtochat></if>
  1103.                     </elseif>
  1104.                     <elseif advanced='"$SkillCycle" == "6"'>
  1105.                         <action type="command" when="aftercast">wait $WaitTime4Elemental;input /ma "$CurrentSpell"</action>
  1106.                         <action type="var" cmd="set SkillCycle 1" />
  1107.                         <action type="changespell" spell="Water" />
  1108.                         <action type="Changetarget" target="&lt;t&gt;"/>
  1109.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 6 Processed</addtochat></if>
  1110.                     </elseif>
  1111.                 </elseif>
  1112.            
  1113.             <!-- Enfeebling Magic Skill-Up using Dia spell -->
  1114.             <elseif spell="Dia" >
  1115.                 <!--- Fix the SkillCycle varaible in case the SMN SKILL Segment boinked it --->
  1116.                 <if advanced='$SkillCycle &gt; 3'>
  1117.                     <action type="var" cmd="set SkillCycle 1" />
  1118.                     <action type="command" when="aftercast">wait 3;input /ma "$CurrentSpell"</action>
  1119.                     <action type="cancelspell"/>
  1120.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Incorrect variable detected for this group, resetting to 1</addtochat></if>
  1121.                 </if>
  1122.                 <!--- Enfeebling Skill Cycling --->
  1123.                 <elseif advanced='"$SkillCycle" == "1"'>
  1124.                     <action type="command" when="aftercast">wait $WaitTime4Enfeebling;input /ma "$CurrentSpell"</action>
  1125.                     <action type="var" cmd="set SkillCycle 2" />
  1126.                     <action type="changespell" spell="Dia" />
  1127.                     <action type="Changetarget" target="&lt;t&gt;"/>
  1128.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 1 Processed</addtochat></if>
  1129.                 </elseif>
  1130.                 <elseif advanced='"$SkillCycle" == "2"'>
  1131.                     <action type="command" when="aftercast">wait $WaitTime4Enfeebling;input /ma "$CurrentSpell"</action>
  1132.                     <action type="var" cmd="set SkillCycle 3" />
  1133.                     <action type="changespell" spell="Dia" />
  1134.                     <action type="Changetarget" target="&lt;t&gt;"/>
  1135.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 2 Processed</addtochat></if>
  1136.                 </elseif>
  1137.                 <elseif advanced='"$SkillCycle" == "3"'>
  1138.                     <action type="command" when="aftercast">wait $WaitTime4Enfeebling;input /ma "$CurrentSpell"</action>
  1139.                     <action type="var" cmd="set SkillCycle 1" />
  1140.                     <action type="changespell" spell="Dia" />
  1141.                     <action type="Changetarget" target="&lt;t&gt;"/>
  1142.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 3 Processed</addtochat></if>
  1143.                 </elseif>
  1144.             </elseif>
  1145.            
  1146.             <!-- Ninjutsu Magic Skill-Up -->
  1147.                 <elseif spell="Katon: Ni" >
  1148.                     <!--- Fix the SkillCycle varaible in case the SMN SKILL Segment boinked it --->
  1149.                     <if advanced='$SkillCycle &gt; 6'>
  1150.                         <action type="var" cmd="set SkillCycle 1" />
  1151.                         <action type="command" when="aftercast">wait 3;input /ma "$CurrentSpell"</action>
  1152.                         <action type="cancelspell"/>
  1153.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Incorrect variable detected for this group, resetting to 1</addtochat></if>
  1154.                     </if>
  1155.                     <!--- Ninjutsu Skill Cycling --->
  1156.                     <elseif advanced='"$SkillCycle" == "1"'>
  1157.                         <action type="command" when="aftercast">wait $WaitTime4Ninjutsu;input /ma "$CurrentSpell"</action>
  1158.                         <action type="var" cmd="set SkillCycle 2" />
  1159.                         <action type="changespell" spell="Katon: Ni" />
  1160.                         <action type="Changetarget" target="&lt;t&gt;"/>
  1161.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 1 Processed</addtochat></if>
  1162.                     </elseif>
  1163.                     <elseif advanced='"$SkillCycle" == "2"'>
  1164.                         <action type="command" when="aftercast">wait $WaitTime4Ninjutsu;input /ma "$CurrentSpell"</action>
  1165.                         <action type="var" cmd="set SkillCycle 3" />
  1166.                         <action type="changespell" spell="Suiton: Ni" />
  1167.                         <action type="Changetarget" target="&lt;t&gt;"/>
  1168.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 2 Processed</addtochat></if>
  1169.                     </elseif>
  1170.                     <elseif advanced='"$SkillCycle" == "3"'>
  1171.                         <action type="command" when="aftercast">wait $WaitTime4Ninjutsu;input /ma "$CurrentSpell"</action>
  1172.                         <action type="var" cmd="set SkillCycle 4" />
  1173.                         <action type="changespell" spell="Raiton: Ni" />
  1174.                         <action type="Changetarget" target="&lt;t&gt;"/>
  1175.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 3 Processed</addtochat></if>
  1176.                     </elseif>
  1177.                     <elseif advanced='"$SkillCycle" == "4"'>
  1178.                         <action type="command" when="aftercast">wait $WaitTime4Ninjutsu;input /ma "$CurrentSpell"</action>
  1179.                         <action type="var" cmd="set SkillCycle 5" />
  1180.                         <action type="changespell" spell="Doton: Ni" />
  1181.                         <action type="Changetarget" target="&lt;t&gt;"/>
  1182.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 4 Processed</addtochat></if>
  1183.                     </elseif>
  1184.                     <elseif advanced='"$SkillCycle" == "5"'>
  1185.                         <action type="command" when="aftercast">wait $WaitTime4Ninjutsu;input /ma "$CurrentSpell"</action>
  1186.                         <action type="var" cmd="set SkillCycle 6" />
  1187.                         <action type="changespell" spell="Huton: Ni" />
  1188.                         <action type="Changetarget" target="&lt;t&gt;"/>
  1189.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 5 Processed</addtochat></if>
  1190.                     </elseif>
  1191.                     <elseif advanced='"$SkillCycle" == "6"'>
  1192.                         <action type="command" when="aftercast">wait $WaitTime4Ninjutsu;input /ma "$CurrentSpell"</action>
  1193.                         <action type="var" cmd="set SkillCycle 1" />
  1194.                         <action type="changespell" spell="Hyoton: Ni" />
  1195.                         <action type="Changetarget" target="&lt;t&gt;"/>
  1196.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 6 Processed</addtochat></if>
  1197.                     </elseif>
  1198.                 </elseif>
  1199.            
  1200.            
  1201.             <!-- This section not working yet -->
  1202.             <!-- Auto Ranged Attack Skill-Up -->
  1203.                 <elseif CommandPrefix="/range|/ra" >
  1204.                     <!--- Fix the SkillCycle varaible in case the SMN SKILL Segment boinked it --->
  1205.                     <if advanced='$SkillCycle &gt; 2'>
  1206.                         <action type="var" cmd="set SkillCycle 1" />
  1207.                         <action type="command" when="aftercast">wait 3;input /ra</action>
  1208.                         <action type="cancelspell"/>
  1209.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Incorrect variable detected for this group, resetting to 1</addtochat></if>
  1210.                     </if>
  1211.                     <!--- Enhancing Skill Cycling --->
  1212.                     <elseif advanced='"$SkillCycle" == "1"'>
  1213.                         <action type="command" when="aftercast">wait $WaitTime4RangedAttk;input /ma "$CurrentSpell"</action>
  1214.                         <action type="var" cmd="set SkillCycle 2" />
  1215.                         <action type="changespell" cmd="/ra" />
  1216.                         <action type="Changetarget" target="&lt;bt&gt;"/>
  1217.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 1 Processed</addtochat></if>
  1218.                     </elseif>
  1219.                     <elseif advanced='"$SkillCycle" == "2"'>
  1220.                         <action type="command" when="aftercast">wait $WaitTime4RangedAttk;input /ma "$CurrentSpell"</action>
  1221.                         <action type="var" cmd="set SkillCycle 3" />
  1222.                         <action type="changespell" cmd="/ra" />
  1223.                         <action type="Changetarget" target="&lt;bt&gt;"/>
  1224.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 2 Processed</addtochat></if>
  1225.                     </elseif>
  1226.                 </elseif>
  1227.         </if>
  1228.     </rules>
  1229. </spellcast>
  1230.  
  1231. <!-- >>>>> Begin Change Log <<<<<
  1232.  
  1233. --- SkillUp_V3.8 Released 10/25/14 ---
  1234.     --Added Ninjutsu Skillup section
  1235.         Tigger spell: Katon: Ni
  1236.     --Bugfix: Updated coding to address looping issue with script attempting to cast Haste spell if job is WHM|RDM and lower than spell level.
  1237.     --Bugfix: Added logic to check MP level for Haste and Refresh spells to ensure the caster has enough MP to cast the spell. (Thank you Ununium for this suggestion)
  1238.     --Added logic for RDM main job to cast either Haste II or Haste depending on the caster's job level and appropriate MP level.
  1239.     --Added ability to use Light Arts or Dark Arts based on spell magic type (WhiteMagic/BlackMagic).
  1240.         Previously, only Light Arts was used.
  1241.     --Added section for Ranged Attack skill up (BETA)
  1242.         This function is not fully working.
  1243.  
  1244. --- SkillUp_V3.7 Released 06/09/13 ---
  1245.     --Added Reset feature: Pressing F10 will reset the script to first run without unloading Spellcast
  1246.         Script must be paused first in order for reset to work
  1247.     --Added Debug Message Toggle: Pressing F11 will toggle debug messages On/Off
  1248.     --Added Pause feature: Pressing F12 will Pause/Resume the script
  1249.     --Added ability to use Bio spell to skill-up Dark Magic
  1250.     --Added Elemental Magic Skill-up Segment
  1251.         Trigger spells: Fire | Burn
  1252.     --Added Enfeebling Magic Skill-Up Segment
  1253.         Trigger Spell: Dia
  1254.  
  1255. --- SkillUp_V3.6 Released 04/28/13 ---
  1256.     --Added a cancel command to cancel Protect/Shell buffs before recasting when using the Protect/Shell Enhancing Magic skill cycle.
  1257.     --Added the use of Avatar's Favor ability for SMN skill cycle
  1258.     --Added the ability to specify whether or not to use food and what food to use.
  1259.         If you run out of food, the script will attempt to use food once then continue skilling up without food and will not attempt to use it again.
  1260.     --Minor code changes to Debug process
  1261.     --Changed order of <if> checks when Idle for better processing order
  1262.  
  1263. --- SkillUp_V3.5 Released 04/27/13 ---
  1264.     --Added ability to specify SMN avatars to use for spell cycle
  1265.     --Added support for BRD, GEO, PLD, DRK, BLU, RDM, RUN jobs and magic spells
  1266.     --Added use of Refresh II if main job is RDM
  1267.     --Added use of Refresh if main or sub job is RDM
  1268.     --Added use of Geo-Refresh if main job is GEO
  1269.     --Added ability to activate Light Arts if main or sub job is SCH
  1270.     --Added Auto-End coding to allow the ability to specify when the script will auto-end
  1271.     --Updated resting sequence coding to use MP% and rest to full rather than defined MP amount and resting for set period of time
  1272.     --Added Debug log function
  1273.     --Minor cleanup of old code
  1274.  
  1275. >>>>> End Change Log <<<<< -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement