Advertisement
Nimotas

Skillup_v3.6

Apr 28th, 2013
563
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 52.06 KB | None | 0 0
  1. <!---
  2. Original Coding Written by: Genesisx (Windower Forums)
  3. Updated Coding Written by: Nimotas
  4. Last Updated: 04/28/13
  5. Current Version: Skillup_v3.6
  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.6</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.        
  21.         <!-- YOU MAY ALTER THESE VARIABLES -->
  22.         <var name="Show.Debug">True</var> <!-- Show Process/Debug Info True/False -->
  23.        
  24.         <!-- Automatic Script End Variables -->
  25.         <!-- Order of Days: Firesday -> Earthsday -> Watersday -> Windsday -> Iceday -> Lightningday -> Lightsday -> Darksday -->
  26.         <var name="SUEndDay">Iceday</var> <!-- Change value to the name of the day you want the script to auto end or leave blank for continuous run. -->
  27.         <var name="SUEndTime">0.00</var> <!-- Change value to the time of the day you want the script to auto end -->
  28.        
  29.         <!-- You can alter these variables to use Skill UP food or not. -->
  30.         <var name="UseFood">False</var> <!-- Use skill-up food True/False -->
  31.         <var name="FoodName">B.E.W. Pitaru</var> <!-- Valid Magic Food: Stuffed Pitaru, Poultry Pitaru, Seafood Pitaru, B.E.W. Pitaru -->
  32.        
  33.         <!-- Time is in seconds. -->
  34.         <var name="WaitTime4SMN">1</var> <!-- Set time to wait in-between SMN Skill actions -->
  35.         <var name="WaitTime4Healing">2</var> <!-- Set time to wait in-between Healing Skill actions -->
  36.         <var name="WaitTime4Enhancing">2</var> <!-- Set time to wait in-between Enhancing Skill actions -->
  37.         <var name="WaitTime4BLU">2</var> <!-- Set time to wait in-between Blue Magic Skill actions -->
  38.         <var name="WaitTime4GEO">2</var> <!-- Set time to wait in-between Geomancy Skill actions -->
  39.         <var name="WaitTime4BRD">1</var> <!-- Set time to wait in-between BRD Skill actions -->
  40.         <var name="WaitTime4Dark">2</var> <!-- Set time to wait in-between Dark Skill actions -->
  41.         <var name="WaitTime4Divine">2</var> <!-- Set time to wait in-between Divine Skill actions -->
  42.        
  43.         <!-- Summons: 1= Use, 0= Do not use -->
  44.         <var name="CarbuncleAva">1</var> <!-- This must remain set to 1 since all SMN's have Carbuncle -->
  45.         <var name="IfritAva">1</var>
  46.         <var name="TitanAva">1</var>
  47.         <var name="LeviathanAva">1</var>
  48.         <var name="GarudaAva">1</var>
  49.         <var name="ShivaAva">1</var>
  50.         <var name="RamuhAva">1</var>
  51.         <var name="FenrirAva">1</var>
  52.         <var name="DiabolosAva">1</var>
  53.        
  54.     </variables>
  55.  
  56.     <sets>
  57.         <!-- Specify Resting / Standard gear if desired -->
  58.         <group name="SMN" default="yes">
  59.             <set name="Standard">
  60.                 <main>Soulscourge</main>
  61.                 <sub>Vox Grip</sub>
  62.                 <ammo>Clarus Stone</ammo>
  63.                 <head>Caller's Horn +2</head>
  64.                 <neck>Caller's Pendant</neck>
  65.                 <lear>Loquacious Earring</lear>
  66.                 <rear>Gifted Earring</rear>
  67.                 <body>Caller's Doublet +2</body>
  68.                 <hands>Caller's Bracers +2</hands>
  69.                 <lring>Evoker's Ring</lring>
  70.                 <rring>Bifrost Ring</rring>
  71.                 <back>Twilight Cape</back>
  72.                 <waist>Hierarch Belt</waist>
  73.                 <legs>Caller's Spats +1</legs>
  74.                 <feet>Caller's Pigaches +2</feet>
  75.             </set>
  76.             <set name="Resting Gear" BaseSet="Standard">
  77.                 <main>Chatoyant Staff</main>
  78.             </set>
  79.         </group>
  80.        
  81.         <group name="SCH">
  82.             <set name="Standard">
  83.             </set>
  84.             <set name="Resting Gear" BaseSet="Standard">
  85.             </set>
  86.         </group>
  87.        
  88.         <group name="WHM">
  89.             <set name="Standard">
  90.             </set>
  91.             <set name="Resting Gear" BaseSet="Standard">
  92.             </set>
  93.         </group>
  94.        
  95.         <group name="BLU">
  96.             <set name="Standard">
  97.             </set>
  98.             <set name="Resting Gear" BaseSet="Standard">
  99.             </set>
  100.         </group>
  101.        
  102.         <group name="GEO">
  103.             <set name="Standard">
  104.             </set>
  105.             <set name="Resting Gear" BaseSet="Standard">
  106.                 <body></body>
  107.             </set>
  108.         </group>
  109.        
  110.         <group name="BRD">
  111.             <set name="Standard">
  112.             </set>
  113.             <set name="Resting Gear" BaseSet="Standard">
  114.             </set>
  115.         </group>
  116.        
  117.         <group name="BLM">
  118.             <set name="Standard">
  119.             </set>
  120.             <set name="Resting Gear" BaseSet="Standard">
  121.             </set>
  122.         </group>
  123.        
  124.         <group name="RDM">
  125.             <set name="Standard">
  126.             </set>
  127.             <set name="Resting Gear" BaseSet="Standard">
  128.             </set>
  129.         </group>
  130.        
  131.         <group name="RUN">
  132.             <set name="Standard">
  133.             </set>
  134.             <set name="Resting Gear" BaseSet="Standard">
  135.             </set>
  136.         </group>
  137.        
  138.         <group name="DRK">
  139.             <set name="Standard">
  140.             </set>
  141.             <set name="Resting Gear" BaseSet="Standard">
  142.             </set>
  143.         </group>
  144.        
  145.         <group name="PLD">
  146.             <set name="Standard">
  147.             </set>
  148.             <set name="Resting Gear" BaseSet="Standard">
  149.             </set>
  150.         </group>
  151.     </sets>
  152.  
  153.     <rules>
  154.         <!-- Rules for Idle/Resting Equipment Changes -->
  155.         <action type="equip" when="idle" set="Standard" />
  156.         <action type="equip" when="resting" set="Resting Gear" />
  157.        
  158.         <!-- Set $CurrentSpell variable to the spell cast by user -->  
  159.         <var cmd="set CurrentSpell %spell" />
  160.  
  161.         <!-- Setup First Run Notification -->
  162.         <if advanced='"$FirstSetup" == "1"'>   
  163.             <action type="command">alias MagicSUEnd input /echo --- Exiting SkillUp Script $CurrentVersion ---;unload spellcast;unbind ^escape;wait 3;load spellcast;wait 3;input /ja "Release";</action>
  164.             <action type="command">bind ^escape MagicSUEnd</action>
  165.            
  166.             <if notspell="Carbuncle|Cure|Protect|Barfira|Barfire|Blaze Spikes|Pollen|Indi-Regen|Fire Carol|Endark|Enlight">
  167.                 <action type="AddToChat" color="204">--- SkillUp Script $CurrentVersion Loaded ---</action>
  168.                 <action type="AddToChat" color="121">Cast one of the following spells to start the script:</action>
  169.                
  170.                 <action type="AddToChat" color="166">Summoning Magic Skill: Carbuncle</action>
  171.                 <action type="AddToChat" color="166">Healing Magic Skill: Cure</action>
  172.                 <action type="AddToChat" color="166">Enhancing Magic Skill: Protect | Barfira | Barfire | Blaze Spikes</action>
  173.                 <action type="AddToChat" color="166">Blue Magic Skill: Pollen</action>
  174.                 <action type="AddToChat" color="166">Goemancy/Handbell Skill: Indi-Regen</action>
  175.                 <action type="AddToChat" color="166">BRD Singing/Wind/String Skill: Fire Carol</action>
  176.                 <action type="AddToChat" color="166">Dark Magic Skill: Endark</action>
  177.                 <action type="AddToChat" color="166">Divine Magic Skill: Enlight</action>
  178.                
  179.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Incorrect Start Spell Detected - Show Start Spell List</addtochat></if>
  180.                 <action type="AddToChat" color="204">--- Press CTRL+Escape at any time to exit SkillUp Script $CurrentVersion ---</action>
  181.                 <cancelspell />
  182.                 <return />
  183.             </if>
  184.            
  185.             <action type="AddToChat" color="204">--- Starting SkillUp Script $CurrentVersion - %skill ---</action>
  186.             <action type="AddToChat" color="121">Current Day is %Day, Current Time is %Time</action>
  187.             <action type="AddToChat" color="121">Script will Automatically End on $SUEndDay at or after $SUEndTime time</action>
  188.            
  189.             <!-- Set Equipment Group Using Main Job -->
  190.             <command>sc group %mainjob</command>
  191.             <action type="AddToChat" color="121">%job Detected - Setting Equipment Group to %mainjob</action>
  192.  
  193.             <action type="AddToChat" color="204">--- Press CTRL+Escape at any time to exit SkillUp Script $CurrentVersion ---</action>
  194.             <action type="var" cmd="set FirstSetup 0" />
  195.             <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Show First Run Note</addtochat></if>
  196.         </if>
  197.  
  198.         <!-- Rule to Auto End Script on specified day and time -->
  199.         <if mode="and" day="$SUEndDay" TimeGT="$SUEndTime">
  200.             <action type="AddToChat" color="121">End Day (%day)/Time (%time) Detected</action>
  201.             <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: End Day/Time Detected - Ending Script</addtochat></if>
  202.             <command>MagicSUEnd;wait 7;input /ja "Release"</command>   
  203.         </if>
  204.        
  205.         <!-- Idle/Resting Rules -->
  206.         <if status ="Idle">
  207.             <action type="equip" set="Standard" />
  208.            
  209.             <!-- Rule to activate Avatar's Favor if Avatar's Favor not active -->
  210.             <if notbuffactive="Avatar's Favor" job="SMN/*" advanced='"%PetIsValid" == "True"' MainJobLvlGT="54" >
  211.                 <changespell spell="Avatar's Favor" />
  212.                 <changetarget target="&lt;me&gt;" />
  213.                 <command when="aftercast">wait $WaitTime4SMN;input /ma "$CurrentSpell"</command>
  214.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Avatar's Favor not Detected - Activating Avatar's Favor</addtochat></if>
  215.                 <return />
  216.             </if>
  217.            
  218.             <!-- Change spell to Release if SMN avatar is active -->
  219.             <if mode="and" advanced='"%PetIsValid" == "True"' Job="SMN/*|*/SMN">
  220.                 <changespell spell="Release" />
  221.                 <changetarget target="&lt;me&gt;" />
  222.                 <command when="aftercast">wait $WaitTime4SMN;input /ma "$CurrentSpell"</command>
  223.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: %petname Avatar Detected - Changing Action to Release.</addtochat></if>
  224.                 <return />
  225.             </if>
  226.            
  227.             <!-- Rules to use Food if $UseFood=True -->
  228.             <if advanced='"$UseFood"=="True"' notbuffactive="food">
  229.                 <if advanced='"$FoodCycle"=="1"'>
  230.                     <command>input /item "$FoodName" &lt;me&gt;;wait 3;input /ma "$currentspell"</command>
  231.                     <action type="var" cmd="set FoodCycle 0" />
  232.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Food Buff not Detected - Using $FoodName</addtochat></if>
  233.                     <cancelspell />
  234.                     <return />
  235.                 </if>
  236.             </if>
  237.             <if mode="AND" advanced='"$UseFood"=="True"' BuffActive="food">
  238.                 <if advanced='"$FoodCycle"=="0"'>
  239.                     <action type="var" cmd="set FoodCycle 1" />
  240.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Food Buff Detected - Changing FoodCycle to 1</addtochat></if>
  241.                 </if>
  242.             </if>
  243.            
  244.             <!-- Rule to activate Light Arts if Light Arts buff not active -->
  245.             <if notbuffactive="Light Arts">
  246.                 <if mode="OR" mainjob="SCH" subjob="SCH">
  247.                     <changespell spell="Light Arts" />
  248.                     <changetarget target="&lt;me&gt;" />
  249.                     <command when="aftercast">wait 2;input /ma "$currentspell"</command>
  250.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Light Arts not Detected - Activating Light Arts</addtochat></if>
  251.                     <return />
  252.                 </if>
  253.             </if>
  254.            
  255.             <if MPPLT="5">
  256.                 <command when="midcast">wait 5;input /heal on;wait 5;input /ma "$currentspell"</command>
  257.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Low MP detected sending /heal on action in 5 sec.</addtochat></if>
  258.                 <return />
  259.             </if>
  260.            
  261.             <!-- Rules to cast refresh spell if refresh buff not active -->
  262.             <if notbuffactive="Refresh">
  263.                 <if mainjob="GEO" MainJobLvlGT="33">
  264.                     <changespell spell="Geo-Refresh" />
  265.                     <changetarget target="&lt;me&gt;" />
  266.                     <command when="aftercast">wait 3;input /ma "$CurrentSpell"</command>
  267.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Refresh Buff not Detected - Casting Geo-Refresh Spell</addtochat></if>
  268.                     <return />
  269.                 </if>
  270.                 <elseif mainjob="BLU" MainJobLvlGT="78">
  271.                     <changespell spell="Battery Charge" />
  272.                     <changetarget target="&lt;me&gt;" />
  273.                     <command when="aftercast">wait 2;input /ma "$currentspell"</command>
  274.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Refresh Buff not Detected - Casting Battery Charge Spell</addtochat></if>
  275.                     <return />
  276.                 </elseif>
  277.                 <elseif mainjob="RDM" MainJobLvlGT="81" >
  278.                     <changespell spell="Refresh II" />
  279.                     <changetarget target="&lt;me&gt;" />
  280.                     <command when="aftercast">wait 2;input /ma "$currentspell"</command>
  281.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Refresh Buff not Detected - Casting Refresh II Spell</addtochat></if>
  282.                     <return />
  283.                 </elseif>
  284.                 <elseif subjob="RDM" SubJobLvlGT="40" NotMainJob="BLU|GEO|BRD">
  285.                     <changespell spell="Refresh" />
  286.                     <changetarget target="&lt;me&gt;" />
  287.                     <command when="aftercast">wait 2;input /ma "$currentspell"</command>
  288.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Refresh Buff not Detected - Casting Refresh Spell</addtochat></if>
  289.                     <return />
  290.                 </elseif>
  291.             </if>
  292.    
  293.             <!-- Rules to cast Haste spell if Haste buff not active -->
  294.             <if notbuffactive="Haste">
  295.                 <if mode="OR" mainjob="RDM|WHM" subjob="RDM|WHM">
  296.                     <if notmainjob="BRD|BLU">
  297.                         <changespell spell="Haste" />
  298.                         <changetarget target="&lt;me&gt;" />
  299.                         <command when="aftercast">wait 2;input /ma "$currentspell"</command>
  300.                         <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Haste Buff not Detected - Casting Haste Spell</addtochat></if>
  301.                         <return />
  302.                     </if>
  303.                 </if>
  304.                 <if mainjob="BLU" MainJobLvlGT="78">
  305.                     <changespell spell="Animating Wail" />
  306.                     <changetarget target="&lt;me&gt;" />
  307.                     <command when="aftercast">wait 2;input /ma "$currentspell"</command>
  308.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Haste Buff not Detected - Casting Animating Wail Spell</addtochat></if>
  309.                     <return />
  310.                 </if>
  311.             </if>
  312.         </if>
  313.  
  314.         <if Status ="Resting">
  315.             <if MPPGT="99">
  316.                 <command when="precast">input /heal off;wait 5;input /ma "$currentspell"</command>
  317.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Full MP Detected sending /heal off action.</addtochat></if>
  318.                 <cancelspell />
  319.                 <return />
  320.             </if>
  321.             <else>
  322.                 <command when="precast">wait 5;input /ma "$currentspell"</command>
  323.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Resting, Current MP is at %mpp%. Continue resting.</addtochat></if>
  324.                 <cancelspell />
  325.                 <return />
  326.             </else>
  327.         </if>
  328.        
  329.         <!-- Summoning Magic Skill-Up Segment -->
  330.         <if spell="Carbuncle">
  331.             <!--- Smn Skill Cycling --->
  332.             <if advanced='"$SkillCycle" == "2" and "$IfritAva" == "0"'>
  333.                 <action type="var" cmd="set SkillCycle 3" />
  334.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Ifrit Avatar Not Active - Advancing Skill Cycle</addtochat></if>
  335.             </if>
  336.             <if advanced='"$SkillCycle" == "3" and "$TitanAva" == "0"'>
  337.                 <action type="var" cmd="set SkillCycle 4" />
  338.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Titan Avatar Not Active - Advancing Skill Cycle</addtochat></if>
  339.             </if>
  340.             <if advanced='"$SkillCycle" == "4" and "$LeviathanAva" == "0"'>
  341.                 <action type="var" cmd="set SkillCycle 5" />
  342.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Leviathan Avatar Not Active - Advancing Skill Cycle</addtochat></if>
  343.             </if>
  344.             <if advanced='"$SkillCycle" == "5" and "$GarudaAva" == "0"'>
  345.                 <action type="var" cmd="set SkillCycle 6" />
  346.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Garuda Avatar Not Active - Advancing Skill Cycle</addtochat></if>
  347.             </if>
  348.             <if advanced='"$SkillCycle" == "6" and "$ShivaAva" == "0"'>
  349.                 <action type="var" cmd="set SkillCycle 7" />
  350.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Shiva Avatar Not Active - Advancing Skill Cycle</addtochat></if>
  351.             </if>
  352.             <if advanced='"$SkillCycle" == "7" and "$RamuhAva" == "0"'>
  353.                 <action type="var" cmd="set SkillCycle 8" />
  354.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Ramuh Avatar Not Active - Advancing Skill Cycle</addtochat></if>
  355.             </if>
  356.             <if advanced='"$SkillCycle" == "8" and "$FenrirAva" == "0"'>
  357.                 <action type="var" cmd="set SkillCycle 9" />
  358.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Fenrir Avatar Not Active - Advancing Skill Cycle</addtochat></if>
  359.             </if>
  360.             <if advanced='"$SkillCycle" == "9" and "$DiabolosAva" == "0"'>
  361.                 <action type="var" cmd="set SkillCycle 1" />
  362.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Diabolos Avatar Not Active - Advancing Skill Cycle</addtochat></if>
  363.             </if>
  364.            
  365.             <if advanced='"$SkillCycle" == "1"'>
  366.                 <action type="command" when="aftercast">wait $WaitTime4SMN;input /ma "$CurrentSpell"</action>
  367.                 <action type="var" cmd="set SkillCycle 2" />
  368.                 <action type="changespell" spell="Carbuncle" />
  369.                 <action type="Changetarget" target="&lt;me&gt;"/>
  370.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 1 Processed</addtochat></if>
  371.             </if>
  372.             <elseif advanced='"$SkillCycle" == "2"'>
  373.                 <action type="command" when="aftercast">wait $WaitTime4SMN;input /ma "$CurrentSpell"</action>
  374.                 <action type="var" cmd="set SkillCycle 3" />
  375.                 <action type="changespell" spell="Ifrit" />
  376.                 <action type="Changetarget" target="&lt;me&gt;"/>
  377.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 2 Processed</addtochat></if>
  378.             </elseif>
  379.             <elseif advanced='"$SkillCycle" == "3"'>
  380.                 <action type="command" when="aftercast">wait $WaitTime4SMN;input /ma "$CurrentSpell"</action>
  381.                 <action type="var" cmd="set SkillCycle 4" />
  382.                 <action type="changespell" spell="Titan" />
  383.                 <action type="Changetarget" target="&lt;me&gt;"/>
  384.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 3 Processed</addtochat></if>
  385.             </elseif>
  386.             <elseif advanced='"$SkillCycle" == "4"'>
  387.                 <action type="command" when="aftercast">wait $WaitTime4SMN;input /ma "$CurrentSpell"</action>
  388.                 <action type="var" cmd="set SkillCycle 5" />
  389.                 <action type="changespell" spell="Leviathan" />
  390.                 <action type="Changetarget" target="&lt;me&gt;"/>
  391.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 4 Processed</addtochat></if>
  392.             </elseif>
  393.             <elseif advanced='"$SkillCycle" == "5"'>
  394.                 <action type="command" when="aftercast">wait $WaitTime4SMN;input /ma "$CurrentSpell"</action>
  395.                 <action type="var" cmd="set SkillCycle 6" />
  396.                 <action type="changespell" spell="Garuda" />
  397.                 <action type="Changetarget" target="&lt;me&gt;"/>
  398.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 5 Processed</addtochat></if>
  399.             </elseif>
  400.             <elseif advanced='"$SkillCycle" == "6"'>
  401.                 <action type="command" when="aftercast">wait $WaitTime4SMN;input /ma "$CurrentSpell"</action>
  402.                 <action type="var" cmd="set SkillCycle 7" />
  403.                 <action type="changespell" spell="Shiva" />
  404.                 <action type="Changetarget" target="&lt;me&gt;"/>
  405.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 6 Processed</addtochat></if>
  406.             </elseif>
  407.             <elseif advanced='"$SkillCycle" == "7"'>
  408.                 <action type="command" when="aftercast">wait $WaitTime4SMN;input /ma "$CurrentSpell"</action>
  409.                 <action type="var" cmd="set SkillCycle 8" />
  410.                 <action type="changespell" spell="Ramuh" />
  411.                 <action type="Changetarget" target="&lt;me&gt;"/>
  412.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 7 Processed</addtochat></if>
  413.             </elseif>
  414.             <elseif advanced='"$SkillCycle" == "8"'>
  415.                 <action type="command" when="aftercast">wait $WaitTime4SMN;input /ma "$CurrentSpell"</action>
  416.                 <action type="var" cmd="set SkillCycle 9" />
  417.                 <action type="changespell" spell="Fenrir" />
  418.                 <action type="Changetarget" target="&lt;me&gt;"/>
  419.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 8 Processed</addtochat></if>
  420.             </elseif>
  421.             <elseif advanced='"$SkillCycle" == "9"'>
  422.                 <action type="command" when="aftercast">wait $WaitTime4SMN;input /ma "$CurrentSpell"</action>
  423.                 <action type="var" cmd="set SkillCycle 1" />
  424.                 <action type="changespell" spell="Diabolos" />
  425.                 <action type="Changetarget" target="&lt;me&gt;"/>
  426.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 9 Processed</addtochat></if>
  427.             </elseif>
  428.         </if>
  429.  
  430.         <!-- Healing Magic Skill-Up Segment -->
  431.         <elseif spell="Cure" >
  432.             <!--- Fix the SkillCycle varaible in case the SMN SKILL Segment boinked it --->
  433.             <if advanced='$SkillCycle &gt; 4'>
  434.                 <action type="var" cmd="set SkillCycle 1" />
  435.                 <action type="command" when="aftercast">wait 3;input /ma "$CurrentSpell"</action>
  436.                 <action type="cancelspell"/>
  437.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Incorrect variable detected for this group, resetting to 1</addtochat></if>
  438.             </if>
  439.             <!--- Healing Skill Cycling --->
  440.             <elseif advanced='"$SkillCycle" == "1"'>
  441.                 <action type="command" when="aftercast">wait $WaitTime4Healing;input /ma "$CurrentSpell"</action>
  442.                 <action type="var" cmd="set SkillCycle 2" />
  443.                 <action type="changespell" spell="Cure" />
  444.                 <action type="Changetarget" target="&lt;me&gt;"/>
  445.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 1 Processed</addtochat></if>
  446.             </elseif>
  447.             <elseif advanced='"$SkillCycle" == "2"'>
  448.                 <action type="command" when="aftercast">wait $WaitTime4Healing;input /ma "$CurrentSpell"</action>
  449.                 <action type="var" cmd="set SkillCycle 3" />
  450.                 <action type="changespell" spell="Cure II" />
  451.                 <action type="Changetarget" target="&lt;me&gt;"/>
  452.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 2 Processed</addtochat></if>
  453.             </elseif>
  454.             <elseif advanced='"$SkillCycle" == "3"'>
  455.                 <action type="command" when="aftercast">wait $WaitTime4Healing;input /ma "$CurrentSpell"</action>
  456.                 <action type="var" cmd="set SkillCycle 4" />
  457.                 <action type="changespell" spell="Cure" />
  458.                 <action type="Changetarget" target="&lt;me&gt;"/>
  459.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 3 Processed</addtochat></if>
  460.             </elseif>
  461.             <elseif advanced='"$SkillCycle" == "4"'>
  462.                 <action type="command" when="aftercast">wait $WaitTime4Healing;input /ma "$CurrentSpell"</action>
  463.                 <action type="var" cmd="set SkillCycle 1" />
  464.                 <action type="changespell" spell="Cure II" />
  465.                 <action type="Changetarget" target="&lt;me&gt;"/>
  466.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 4 Processed</addtochat></if>
  467.             </elseif>
  468.         </elseif>
  469.  
  470.         <!-- Enhancing Magic Skill-Up Segment -->
  471.             <!-- Enhancing Magic Skill-Up using Protect/Shell spells -->
  472.             <elseif spell="Protect" >
  473.                 <!-- Cancel Protect/Shell -->
  474.                 <if buffactive="Protect">
  475.                     <command >cancel 40</command>
  476.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Protect Detected - Cancelling Protect</addtochat></if>
  477.                 </if>
  478.                 <if buffactive="Shell">
  479.                     <command >cancel 41</command>
  480.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Shell Detected - Cancelling Shell</addtochat></if>
  481.                 </if>
  482.                 <!--- Fix the SkillCycle varaible in case the SMN SKILL Segment boinked it --->
  483.                 <if advanced='$SkillCycle &gt; 4'>
  484.                     <action type="var" cmd="set SkillCycle 1" />
  485.                     <action type="command" when="aftercast">wait 3;input /ma "$CurrentSpell"</action>
  486.                     <action type="cancelspell"/>
  487.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Incorrect variable detected for this group, resetting to 1</addtochat></if>
  488.                 </if>
  489.                 <!--- Enhancing Skill Cycling --->
  490.                 <elseif advanced='"$SkillCycle" == "1"'>
  491.                     <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  492.                     <action type="var" cmd="set SkillCycle 2" />
  493.                     <action type="changespell" spell="Protect" />
  494.                     <action type="Changetarget" target="&lt;me&gt;"/>
  495.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 1 Processed</addtochat></if>
  496.                 </elseif>
  497.                 <elseif advanced='"$SkillCycle" == "2"'>
  498.                     <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  499.                     <action type="var" cmd="set SkillCycle 3" />
  500.                     <action type="changespell" spell="Shell" />
  501.                     <action type="Changetarget" target="&lt;me&gt;"/>
  502.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 2 Processed</addtochat></if>
  503.                 </elseif>
  504.                 <elseif advanced='"$SkillCycle" == "3"'>
  505.                     <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  506.                     <action type="var" cmd="set SkillCycle 4" />
  507.                     <action type="changespell" spell="Protect II" />
  508.                     <action type="Changetarget" target="&lt;me&gt;"/>
  509.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 3 Processed</addtochat></if>
  510.                 </elseif>
  511.                 <elseif advanced='"$SkillCycle" == "4"'>
  512.                     <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  513.                     <action type="var" cmd="set SkillCycle 1" />
  514.                     <action type="changespell" spell="Shell II" />
  515.                     <action type="Changetarget" target="&lt;me&gt;"/>
  516.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 4 Processed</addtochat></if>
  517.                 </elseif>
  518.             </elseif>
  519.            
  520.             <!-- Enhancing Magic Skill-Up using WHM Bar spells -->
  521.             <elseif spell="Barfira" >
  522.                 <!--- Fix the SkillCycle varaible in case the SMN SKILL Segment boinked it --->
  523.                 <if advanced='$SkillCycle &gt; 6'>
  524.                     <action type="var" cmd="set SkillCycle 1" />
  525.                     <action type="command" when="aftercast">wait 3;input /ma "$CurrentSpell"</action>
  526.                     <action type="cancelspell"/>
  527.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Incorrect variable detected for this group, resetting to 1</addtochat></if>
  528.                 </if>
  529.                 <!--- Enhancing Skill Cycling --->
  530.                 <elseif advanced='"$SkillCycle" == "1"'>
  531.                     <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  532.                     <action type="var" cmd="set SkillCycle 2" />
  533.                     <action type="changespell" spell="Barfira" />
  534.                     <action type="Changetarget" target="&lt;me&gt;"/>
  535.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 1 Processed</addtochat></if>
  536.                 </elseif>
  537.                 <elseif advanced='"$SkillCycle" == "2"'>
  538.                     <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  539.                     <action type="var" cmd="set SkillCycle 3" />
  540.                     <action type="changespell" spell="Barblizzara" />
  541.                     <action type="Changetarget" target="&lt;me&gt;"/>
  542.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 2 Processed</addtochat></if>
  543.                 </elseif>
  544.                 <elseif advanced='"$SkillCycle" == "3"'>
  545.                     <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  546.                     <action type="var" cmd="set SkillCycle 4" />
  547.                     <action type="changespell" spell="Baraera" />
  548.                     <action type="Changetarget" target="&lt;me&gt;"/>
  549.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 3 Processed</addtochat></if>
  550.                 </elseif>
  551.                 <elseif advanced='"$SkillCycle" == "4"'>
  552.                     <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  553.                     <action type="var" cmd="set SkillCycle 5" />
  554.                     <action type="changespell" spell="Barstonra" />
  555.                     <action type="Changetarget" target="&lt;me&gt;"/>
  556.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 4 Processed</addtochat></if>
  557.                 </elseif>
  558.                 <elseif advanced='"$SkillCycle" == "5"'>
  559.                     <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  560.                     <action type="var" cmd="set SkillCycle 6" />
  561.                     <action type="changespell" spell="Barthundra" />
  562.                     <action type="Changetarget" target="&lt;me&gt;"/>
  563.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 5 Processed</addtochat></if>
  564.                 </elseif>
  565.                 <elseif advanced='"$SkillCycle" == "6"'>
  566.                     <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  567.                     <action type="var" cmd="set SkillCycle 1" />
  568.                     <action type="changespell" spell="Barwatera" />
  569.                     <action type="Changetarget" target="&lt;me&gt;"/>
  570.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 6 Processed</addtochat></if>
  571.                 </elseif>
  572.             </elseif>
  573.            
  574.             <!-- Enhancing Magic Skill-Up using RDM Bar spells -->
  575.             <elseif spell="Barfire" >
  576.                 <!--- Fix the SkillCycle varaible in case the SMN SKILL Segment boinked it --->
  577.                 <if advanced='$SkillCycle &gt; 6'>
  578.                     <action type="var" cmd="set SkillCycle 1" />
  579.                     <action type="command" when="aftercast">wait 3;input /ma "$CurrentSpell"</action>
  580.                     <action type="cancelspell"/>
  581.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Incorrect variable detected for this group, resetting to 1</addtochat></if>
  582.                 </if>
  583.                 <!--- Enhancing Skill Cycling --->
  584.                 <elseif advanced='"$SkillCycle" == "1"'>
  585.                     <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  586.                     <action type="var" cmd="set SkillCycle 2" />
  587.                     <action type="changespell" spell="Barfire" />
  588.                     <action type="Changetarget" target="&lt;me&gt;"/>
  589.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 1 Processed</addtochat></if>
  590.                 </elseif>
  591.                 <elseif advanced='"$SkillCycle" == "2"'>
  592.                     <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  593.                     <action type="var" cmd="set SkillCycle 3" />
  594.                     <action type="changespell" spell="Barblizzard" />
  595.                     <action type="Changetarget" target="&lt;me&gt;"/>
  596.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 2 Processed</addtochat></if>
  597.                 </elseif>
  598.                 <elseif advanced='"$SkillCycle" == "3"'>
  599.                     <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  600.                     <action type="var" cmd="set SkillCycle 4" />
  601.                     <action type="changespell" spell="Baraero" />
  602.                     <action type="Changetarget" target="&lt;me&gt;"/>
  603.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 3 Processed.</addtochat></if>
  604.                 </elseif>
  605.                 <elseif advanced='"$SkillCycle" == "4"'>
  606.                     <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  607.                     <action type="var" cmd="set SkillCycle 5" />
  608.                     <action type="changespell" spell="Barstone" />
  609.                     <action type="Changetarget" target="&lt;me&gt;"/>
  610.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 4 Processed</addtochat></if>
  611.                 </elseif>
  612.                 <elseif advanced='"$SkillCycle" == "5"'>
  613.                     <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  614.                     <action type="var" cmd="set SkillCycle 6" />
  615.                     <action type="changespell" spell="Barthunder" />
  616.                     <action type="Changetarget" target="&lt;me&gt;"/>
  617.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 5 Processed</addtochat></if>
  618.                 </elseif>
  619.                 <elseif advanced='"$SkillCycle" == "6"'>
  620.                     <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  621.                     <action type="var" cmd="set SkillCycle 1" />
  622.                     <action type="changespell" spell="Barwater" />
  623.                     <action type="Changetarget" target="&lt;me&gt;"/>
  624.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 6 Processed</addtochat></if>
  625.                 </elseif>
  626.             </elseif>
  627.            
  628.             <!-- Enhancing Magic Skill-Up using Spikes spells -->
  629.             <elseif spell="Blaze Spikes" >
  630.                 <!--- Fix the SkillCycle varaible in case the SMN SKILL Segment boinked it --->
  631.                 <if advanced='$SkillCycle &gt; 3'>
  632.                     <action type="var" cmd="set SkillCycle 1" />
  633.                     <action type="command" when="aftercast">wait 3;input /ma "$CurrentSpell"</action>
  634.                     <action type="cancelspell"/>
  635.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Incorrect variable detected for this group, resetting to 1</addtochat></if>
  636.                 </if>
  637.                 <!--- Enhancing Skill Cycling --->
  638.                 <elseif advanced='"$SkillCycle" == "1"'>
  639.                     <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  640.                     <action type="var" cmd="set SkillCycle 2" />
  641.                     <action type="changespell" spell="Blaze Spikes" />
  642.                     <action type="Changetarget" target="&lt;me&gt;"/>
  643.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 1 Processed</addtochat></if>
  644.                 </elseif>
  645.                 <elseif advanced='"$SkillCycle" == "2"'>
  646.                     <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  647.                     <action type="var" cmd="set SkillCycle 3" />
  648.                     <action type="changespell" spell="Ice Spikes" />
  649.                     <action type="Changetarget" target="&lt;me&gt;"/>
  650.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 2 Processed</addtochat></if>
  651.                 </elseif>
  652.                 <elseif advanced='"$SkillCycle" == "3"'>
  653.                     <action type="command" when="aftercast">wait $WaitTime4Enhancing;input /ma "$CurrentSpell"</action>
  654.                     <action type="var" cmd="set SkillCycle 1" />
  655.                     <action type="changespell" spell="Shock Spikes" />
  656.                     <action type="Changetarget" target="&lt;me&gt;"/>
  657.                     <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 3 Processed</addtochat></if>
  658.                 </elseif>
  659.             </elseif>
  660.        
  661.         <!-- Blue Magic Skill-Up Segment -->
  662.         <elseif spell="Pollen" >
  663.             <!--- Fix the SkillCycle varaible in case the SMN SKILL Segment boinked it --->
  664.             <if advanced='$SkillCycle &gt; 4'>
  665.                 <action type="var" cmd="set SkillCycle 1" />
  666.                 <action type="command" when="aftercast">wait 3;input /ma "$CurrentSpell"</action>
  667.                 <action type="cancelspell"/>
  668.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Incorrect variable detected for this group, resetting to 1</addtochat></if>
  669.             </if>
  670.             <!--- Blue Magic Skill Cycling --->
  671.             <elseif advanced='"$SkillCycle" == "1"'>
  672.                 <action type="command" when="aftercast">wait $WaitTime4BLU;input /ma "$CurrentSpell"</action>
  673.                 <action type="var" cmd="set SkillCycle 2" />
  674.                 <action type="changespell" spell="Pollen" />
  675.                 <action type="Changetarget" target="&lt;me&gt;"/>
  676.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 1 Processed</addtochat></if>
  677.             </elseif>
  678.             <elseif advanced='"$SkillCycle" == "2"'>
  679.                 <action type="command" when="aftercast">wait $WaitTime4BLU;input /ma "$CurrentSpell"</action>
  680.                 <action type="var" cmd="set SkillCycle 3" />
  681.                 <action type="changespell" spell="Magic Fruit" />
  682.                 <action type="Changetarget" target="&lt;me&gt;"/>
  683.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 2 Processed</addtochat></if>
  684.             </elseif>
  685.             <elseif advanced='"$SkillCycle" == "3"'>
  686.                 <action type="command" when="aftercast">wait $WaitTime4BLU;input /ma "$CurrentSpell"</action>
  687.                 <action type="var" cmd="set SkillCycle 4" />
  688.                 <action type="changespell" spell="Pollen" />
  689.                 <action type="Changetarget" target="&lt;me&gt;"/>
  690.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 3 Processed</addtochat></if>
  691.             </elseif>
  692.             <elseif advanced='"$SkillCycle" == "4"'>
  693.                 <action type="command" when="aftercast">wait $WaitTime4BLU;input /ma "$CurrentSpell"</action>
  694.                 <action type="var" cmd="set SkillCycle 1" />
  695.                 <action type="changespell" spell="Magic Fruit" />
  696.                 <action type="Changetarget" target="&lt;me&gt;"/>
  697.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 4 Processed</addtochat></if>
  698.             </elseif>
  699.         </elseif>
  700.        
  701.         <!-- Geomancy Magic Skill-Up Segment -->
  702.         <elseif spell="Indi-Regen" >
  703.             <!--- Fix the SkillCycle varaible in case the SMN SKILL Segment boinked it --->
  704.             <if advanced='$SkillCycle &gt; 7'>
  705.                 <action type="var" cmd="set SkillCycle 1" />
  706.                 <action type="command" when="aftercast">wait 3;input /ma "$CurrentSpell"</action>
  707.                 <action type="cancelspell"/>
  708.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Incorrect variable detected for this group, resetting to 1</addtochat></if>
  709.             </if>
  710.             <!--- Geomancy Skill Cycling --->
  711.             <elseif advanced='"$SkillCycle" == "1"'>
  712.                 <action type="command" when="aftercast">wait $WaitTime4GEO;input /ma "$CurrentSpell"</action>
  713.                 <action type="var" cmd="set SkillCycle 2" />
  714.                 <action type="changespell" spell="Indi-Regen" />
  715.                 <action type="Changetarget" target="&lt;me&gt;"/>
  716.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 1 Processed</addtochat></if>
  717.             </elseif>
  718.             <elseif advanced='"$SkillCycle" == "2"'>
  719.                 <action type="command" when="aftercast">wait $WaitTime4GEO;input /ma "$CurrentSpell"</action>
  720.                 <action type="var" cmd="set SkillCycle 3" />
  721.                 <action type="changespell" spell="Indi-Poison" />
  722.                 <action type="Changetarget" target="&lt;me&gt;"/>
  723.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 2 Processed</addtochat></if>
  724.             </elseif>
  725.             <elseif advanced='"$SkillCycle" == "3"'>
  726.                 <action type="command" when="aftercast">wait $WaitTime4GEO;input /ma "$CurrentSpell"</action>
  727.                 <action type="var" cmd="set SkillCycle 4" />
  728.                 <action type="changespell" spell="Indi-Refresh" />
  729.                 <action type="Changetarget" target="&lt;me&gt;"/>
  730.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 3 Processed</addtochat></if>
  731.             </elseif>
  732.             <elseif advanced='"$SkillCycle" == "4"'>
  733.                 <action type="command" when="aftercast">wait $WaitTime4GEO;input /ma "$CurrentSpell"</action>
  734.                 <action type="var" cmd="set SkillCycle 5" />
  735.                 <action type="changespell" spell="Indi-Fury" />
  736.                 <action type="Changetarget" target="&lt;me&gt;"/>
  737.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 4 Processed</addtochat></if>
  738.             </elseif>
  739.             <elseif advanced='"$SkillCycle" == "5"'>
  740.                 <action type="command" when="aftercast">wait $WaitTime4GEO;input /ma "$CurrentSpell"</action>
  741.                 <action type="var" cmd="set SkillCycle 6" />
  742.                 <action type="changespell" spell="Indi-Barrier" />
  743.                 <action type="Changetarget" target="&lt;me&gt;"/>
  744.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 5 Processed</addtochat></if>
  745.             </elseif>
  746.             <elseif advanced='"$SkillCycle" == "6"'>
  747.                 <action type="command" when="aftercast">wait $WaitTime4GEO;input /ma "$CurrentSpell"</action>
  748.                 <action type="var" cmd="set SkillCycle 7" />
  749.                 <action type="changespell" spell="Indi-Precision" />
  750.                 <action type="Changetarget" target="&lt;me&gt;"/>
  751.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 6 Processed</addtochat></if>
  752.             </elseif>
  753.             <elseif advanced='"$SkillCycle" == "7"'>
  754.                 <action type="command" when="aftercast">wait $WaitTime4GEO;input /ma "$CurrentSpell"</action>
  755.                 <action type="var" cmd="set SkillCycle 1" />
  756.                 <action type="changespell" spell="Indi-Voidance" />
  757.                 <action type="Changetarget" target="&lt;me&gt;"/>
  758.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 7 Processed</addtochat></if>
  759.             </elseif>
  760.         </elseif>
  761.        
  762.         <!-- BRD Song Skill-Up Segment -->
  763.         <if spell="Fire Carol">
  764.             <!--- Fix the SkillCycle varaible in case the SMN SKILL Segment boinked it --->
  765.             <if advanced='$SkillCycle &gt; 8'>
  766.                 <action type="var" cmd="set SkillCycle 1" />
  767.                 <action type="command" when="aftercast">wait 3;input /ma "$CurrentSpell"</action>
  768.                 <action type="cancelspell"/>
  769.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Incorrect variable detected for this group, resetting to 1</addtochat></if>
  770.             </if>
  771.             <!--- BRD Skill Cycling --->
  772.             <elseif advanced='"$SkillCycle" == "1"'>
  773.                 <action type="command" when="aftercast">wait $WaitTime4BRD;input /ma "$CurrentSpell"</action>
  774.                 <action type="var" cmd="set SkillCycle 2" />
  775.                 <action type="changespell" spell="Fire Carol" />
  776.                 <action type="Changetarget" target="&lt;me&gt;"/>
  777.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 1 Processed</addtochat></if>
  778.             </elseif>
  779.             <elseif advanced='"$SkillCycle" == "2"'>
  780.                 <action type="command" when="aftercast">wait $WaitTime4BRD;input /ma "$CurrentSpell"</action>
  781.                 <action type="var" cmd="set SkillCycle 3" />
  782.                 <action type="changespell" spell="Ice Carol" />
  783.                 <action type="Changetarget" target="&lt;me&gt;"/>
  784.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 2 Processed</addtochat></if>
  785.             </elseif>
  786.             <elseif advanced='"$SkillCycle" == "3"'>
  787.                 <action type="command" when="aftercast">wait $WaitTime4BRD;input /ma "$CurrentSpell"</action>
  788.                 <action type="var" cmd="set SkillCycle 4" />
  789.                 <action type="changespell" spell="Wind Carol" />
  790.                 <action type="Changetarget" target="&lt;me&gt;"/>
  791.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 3 Processed</addtochat></if>
  792.             </elseif>
  793.             <elseif advanced='"$SkillCycle" == "4"'>
  794.                 <action type="command" when="aftercast">wait $WaitTime4BRD;input /ma "$CurrentSpell"</action>
  795.                 <action type="var" cmd="set SkillCycle 5" />
  796.                 <action type="changespell" spell="Earth Carol" />
  797.                 <action type="Changetarget" target="&lt;me&gt;"/>
  798.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 4 Processed</addtochat></if>
  799.             </elseif>
  800.             <elseif advanced='"$SkillCycle" == "5"'>
  801.                 <action type="command" when="aftercast">wait $WaitTime4BRD;input /ma "$CurrentSpell"</action>
  802.                 <action type="var" cmd="set SkillCycle 6" />
  803.                 <action type="changespell" spell="Lightning Carol" />
  804.                 <action type="Changetarget" target="&lt;me&gt;"/>
  805.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 5 Processed</addtochat></if>
  806.             </elseif>
  807.             <elseif advanced='"$SkillCycle" == "6"'>
  808.                 <action type="command" when="aftercast">wait $WaitTime4BRD;input /ma "$CurrentSpell"</action>
  809.                 <action type="var" cmd="set SkillCycle 7" />
  810.                 <action type="changespell" spell="Water Carol" />
  811.                 <action type="Changetarget" target="&lt;me&gt;"/>
  812.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 6 Processed</addtochat></if>
  813.             </elseif>
  814.             <elseif advanced='"$SkillCycle" == "7"'>
  815.                 <action type="command" when="aftercast">wait $WaitTime4BRD;input /ma "$CurrentSpell"</action>
  816.                 <action type="var" cmd="set SkillCycle 8" />
  817.                 <action type="changespell" spell="Light Carol" />
  818.                 <action type="Changetarget" target="&lt;me&gt;"/>
  819.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 7 Processed</addtochat></if>
  820.             </elseif>
  821.             <elseif advanced='"$SkillCycle" == "8"'>
  822.                 <action type="command" when="aftercast">wait $WaitTime4BRD;input /ma "$CurrentSpell"</action>
  823.                 <action type="var" cmd="set SkillCycle 1" />
  824.                 <action type="changespell" spell="Dark Carol" />
  825.                 <action type="Changetarget" target="&lt;me&gt;"/>
  826.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 8 Processed</addtochat></if>
  827.             </elseif>
  828.         </if>
  829.        
  830.         <!-- Dark Magic Skill-Up Segment -->
  831.         <elseif spell="Endark" >
  832.             <!--- Fix the SkillCycle varaible in case the SMN SKILL Segment boinked it --->
  833.             <if advanced='$SkillCycle &gt; 3'>
  834.                 <action type="var" cmd="set SkillCycle 1" />
  835.                 <action type="command" when="aftercast">wait 3;input /ma "$CurrentSpell"</action>
  836.                 <action type="cancelspell"/>
  837.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Incorrect variable detected for this group, resetting to 1</addtochat></if>
  838.             </if>
  839.             <!--- Enhancing Skill Cycling --->
  840.             <elseif advanced='"$SkillCycle" == "1"'>
  841.                 <action type="command" when="aftercast">wait $WaitTime4Dark;input /ma "$CurrentSpell"</action>
  842.                 <action type="var" cmd="set SkillCycle 2" />
  843.                 <action type="changespell" spell="Endark" />
  844.                 <action type="Changetarget" target="&lt;me&gt;"/>
  845.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 1 Processed</addtochat></if>
  846.             </elseif>
  847.             <elseif advanced='"$SkillCycle" == "2"'>
  848.                 <action type="command" when="aftercast">wait $WaitTime4Dark;input /ma "$CurrentSpell"</action>
  849.                 <action type="var" cmd="set SkillCycle 3" />
  850.                 <action type="changespell" spell="Endark" />
  851.                 <action type="Changetarget" target="&lt;me&gt;"/>
  852.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 2 Processed</addtochat></if>
  853.             </elseif>
  854.             <elseif advanced='"$SkillCycle" == "3"'>
  855.                 <action type="command" when="aftercast">wait $WaitTime4Dark;input /ma "$CurrentSpell"</action>
  856.                 <action type="var" cmd="set SkillCycle 1" />
  857.                 <action type="changespell" spell="Endark" />
  858.                 <action type="Changetarget" target="&lt;me&gt;"/>
  859.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 3 Processed</addtochat></if>
  860.             </elseif>
  861.         </elseif>
  862.        
  863.         <!-- Divine Magic Skill-Up Segment -->
  864.         <elseif spell="Enlight" >
  865.             <!--- Fix the SkillCycle varaible in case the SMN SKILL Segment boinked it --->
  866.             <if advanced='$SkillCycle &gt; 3'>
  867.                 <action type="var" cmd="set SkillCycle 1" />
  868.                 <action type="command" when="aftercast">wait 3;input /ma "$CurrentSpell"</action>
  869.                 <action type="cancelspell"/>
  870.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="207">Debug Process:: Incorrect variable detected for this group, resetting to 1</addtochat></if>
  871.             </if>
  872.             <!--- Enhancing Skill Cycling --->
  873.             <elseif advanced='"$SkillCycle" == "1"'>
  874.                 <action type="command" when="aftercast">wait $WaitTime4Divine;input /ma "$CurrentSpell"</action>
  875.                 <action type="var" cmd="set SkillCycle 2" />
  876.                 <action type="changespell" spell="Enlight" />
  877.                 <action type="Changetarget" target="&lt;me&gt;"/>
  878.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 1 Processed</addtochat></if>
  879.             </elseif>
  880.             <elseif advanced='"$SkillCycle" == "2"'>
  881.                 <action type="command" when="aftercast">wait $WaitTime4Divine;input /ma "$CurrentSpell"</action>
  882.                 <action type="var" cmd="set SkillCycle 3" />
  883.                 <action type="changespell" spell="Enlight" />
  884.                 <action type="Changetarget" target="&lt;me&gt;"/>
  885.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 2 Processed</addtochat></if>
  886.             </elseif>
  887.             <elseif advanced='"$SkillCycle" == "3"'>
  888.                 <action type="command" when="aftercast">wait $WaitTime4Divine;input /ma "$CurrentSpell"</action>
  889.                 <action type="var" cmd="set SkillCycle 1" />
  890.                 <action type="changespell" spell="Enlight" />
  891.                 <action type="Changetarget" target="&lt;me&gt;"/>
  892.                 <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat when="aftercast" color="207">Debug Process:: Cycle 3 Processed</addtochat></if>
  893.             </elseif>
  894.         </elseif>
  895.     </rules>
  896. </spellcast>
  897.  
  898. <!-- >>>>> Begin Change Log <<<<<
  899.  
  900. --- SkillUp_V3.6 Released 04/28/13 ---
  901.     --Added a cancel command to cancel Protect/Shell buffs before recasting when using the Protect/Shell Enhancing Magic skill cycle.
  902.     --Added the use of Avatar's Favor ability for SMN skill cycle
  903.     --Added the ability to specify whether or not to use food and what food to use.
  904.         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.
  905.     --Minor code changes to Debug process
  906.     --Changed order of <if> checks when Idle for better processing order
  907.  
  908. --- SkillUp_V3.5 Released 04/27/13 ---
  909.     --Added ability to specify SMN avatars to use for spell cycle
  910.     --Added support for BRD, GEO, PLD, DRK, BLU, RDM, RUN jobs and magic spells
  911.     --Added use of Refresh II if main job is RDM
  912.     --Added use of Refresh if main or sub job is RDM
  913.     --Added use of Geo-Refresh if main job is GEO
  914.     --Added ability to activate Light Arts if main or sub job is SCH
  915.     --Added Auto-End coding to allow the ability to specify when the script will auto-end
  916.     --Updated resting sequence coding to use MP% and rest to full rather than defined MP amount and resting for set period of time
  917.     --Added Debug log function
  918.     --Minor cleanup of old code
  919.  
  920. >>>>> End Change Log <<<<< -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement