Item Search
     
BG-Wiki Search
Page 89 of 328 FirstFirst ... 39 79 87 88 89 90 91 99 139 ... LastLast
Results 1761 to 1780 of 6548
  1. #1761
    Cerberus
    Join Date
    Jun 2010
    Posts
    461
    BG Level
    4

    Quote Originally Posted by Radec View Post
    You def need all 3. 2 are to store values with spaces in them that makes it easier to set, and the 3rd is for the currently active feet.
    Please forgive me, for some reason it doesnt seem to want to click. Having 3 var 2 of which are the exact same item seems redundant. So having just this wont work at all:

    Code:
         <variables>
            <var name="Feet">Iga Kyahan +1</var>
            <var name="Kyah">Ninja Kyahan</var>
        </variables>
        <rules>
        <if mode="OR" TimeGT="18.00" TimeLT="6.00">
    	<var cmd="set Feet $Kyah" />
         </if>
    	<else>
    		<var cmd="set Feet $Feet" />
    	</else>
         </rules>
    I Bolded the $Feet cause I am not sure if that would be needed or if just "set Feet" would be enough.

    Again I want to grasp the need for 3 but still seems to be redundant.
    Thank you again for the time.

  2. #1762
    Radsourceful

    Join Date
    Jul 2007
    Posts
    1,964
    BG Level
    6
    FFXI Server
    Bismarck

    Shouldn't be $feet there, but $danz - if time is not night, set the variable feet to the contents of danz.

    Code:
    <variables>
            <var name="Feet">These are the feet you will be using</var>
            <var name="Danz">Daytime Feet</var>
            <var name="Kyah">Nighttime Feet</var> 
    </variables>
    If you try to do it with 2 variables, you can't remember all 3 things you need to know. You need:
    1) The name of the feet you want to use
    2) The name of your daytime feet
    3) The name of your nighttime feet

    The first variable is going to change, the others won't. If you remove either, spellcast won't know what to swap to once the condition changes.

    As originally quoted is very solid, and does not need changes to structure.

  3. #1763
    Cerberus
    Join Date
    Jun 2010
    Posts
    461
    BG Level
    4

    Ok let me ask this: I want to use AutoExec to auto change based on time of day. I only want it for NIN XML I was told to place

    Code:
    <register event="jobchange_nin/*" silent="true">autoexec register 12345 "time_7.*|time_8.*|time_10.*|time_12.*|time_14.*|time_16.*" sc var set Feet %Feet;autoexec register 12346 "time_17.*|time_18.*|time_19.*|time_20.*|time_21.*|time_22.*|time_23.*|time_0.*|time_1.*|time_2.*|time_3.*|time_4.*|time_5.*|time_6.*" sc var set Feet $Kyah;</register>
    <register event="(regex)jobchange_(?!NIN).*(/regex)" silent="true">autoexec unregister 12345;autoexec unregister 12346</register>
    Within the XML itself.
    1 where should this go? At the top before the <sets> or somewhere else?
    2 Does that code look right?

    I only want to auto set movement feet in case for some reason i dont realize the time has changed.
    Thank you.

  4. #1764
    Sea Torques
    Join Date
    Jul 2009
    Posts
    679
    BG Level
    5
    FFXI Server
    Leviathan

    Quote Originally Posted by nikia View Post
    Ok let me ask this: I want to use AutoExec to auto change based on time of day. I only want it for NIN XML I was told to place

    Code:
    <register event="jobchange_nin/*" silent="true">autoexec register 12345 "time_7.*|time_8.*|time_10.*|time_12.*|time_14.*|time_16.*" sc var set Feet %Feet;autoexec register 12346 "time_17.*|time_18.*|time_19.*|time_20.*|time_21.*|time_22.*|time_23.*|time_0.*|time_1.*|time_2.*|time_3.*|time_4.*|time_5.*|time_6.*" sc var set Feet $Kyah;</register>
    <register event="(regex)jobchange_(?!NIN).*(/regex)" silent="true">autoexec unregister 12345;autoexec unregister 12346</register>
    Within the XML itself.
    1 where should this go? At the top before the <sets> or somewhere else?
    2 Does that code look right?

    I only want to auto set movement feet in case for some reason i dont realize the time has changed.
    Thank you.
    That goes in the AutoExec XML, not SpellCast.

  5. #1765
    Cerberus
    Join Date
    Jun 2010
    Posts
    461
    BG Level
    4

    Thank you so much for helping. I still cant get it to work however, can you help?
    At this point I just want AutoExec to auto equip ninja kyahan feet at night and iga+1 during the day.

    Code:
    <autoexec>
    <register event="jobchange_nin/*" silent="false">autoexec register 12345 "time_7.*|time_8.*|time_10.*|time_12.*|time_14.*|time_16.*" input /equip feet "Iga Kyahan +1"; input /echo ------------------------------------------------------------ AutoExec DAY feet Active !;autoexec register 12346 "time_17.*|time_18.*|time_19.*|time_20.*|time_21.*|time_22.*|time_23.*|time_0.*|time_1.*|time_2.*|time_3.*|time_4.*|time_5.*|time_6.*" input /equip feet "Ninja Kyahan"; input /echo ------------------------------------------------------------ AutoExec NIGHT feet Active !;</register>
    <register event="(regex)jobchange_(?!NIN).*(/regex)" silent="false">autoexec unregister 12345;autoexec unregister 12346; input /echo ------------------------------------------------------------ AutoExec No Longer Active !</register>
    </autoexec>
    That is the code, any help would be awesome. the many "dashes" are part of a /echo so I know that autoexec ran the command.

    I assume autoexec will execute and commands as soon as I load it in windower?
    I tried testing by loading plugin and waiting to see if feet would equip, i made sure to not have any feet equiped before even loading the plugin.

    Thank you.

  6. #1766
    Insert witty title here
    Join Date
    Jun 2007
    Posts
    1,191
    BG Level
    6
    FFXI Server
    Phoenix

    Wait, you want Iga+1 on daytime? Why? They don't make you go any faster, and they aren't particularly /brag worthy...

    The xml snippet I posted earlier works just fine. 3 variables are needed. The "feet" variable is what the idle set looks for. The "Danz" is what changes the "feet" to Danzo Sune-Ate, and the "kyah" one sets the "feet" to Ninja Kyahan. What about it isn't working for you...? If you want Iga+1 instead of danzo for some reason, and not just full-time Ninja Kyahan, change the "Danz" variable to this: <var name="danz">Iga Kyahan +1</var> and it should work for you.

  7. #1767
    Cerberus
    Join Date
    Jun 2010
    Posts
    461
    BG Level
    4

    Quote Originally Posted by Esvedium View Post
    Wait, you want Iga+1 on daytime? Why? They don't make you go any faster, and they aren't particularly /brag worthy...

    The xml snippet I posted earlier works just fine. 3 variables are needed. The "feet" variable is what the idle set looks for. The "Danz" is what changes the "feet" to Danzo Sune-Ate, and the "kyah" one sets the "feet" to Ninja Kyahan. What about it isn't working for you...? If you want Iga+1 instead of danzo for some reason, and not just full-time Ninja Kyahan, change the "Danz" variable to this: <var name="danz">Iga Kyahan +1</var> and it should work for you.
    The code worked just fine.
    The Iga+1 is going to be just a placeholder til i can get the Danzo.
    I wanted to have the code in place now tho.

    So the SpellCast code works just perfect. I am now wondering about the AutoExec Code I posted earlier.

  8. #1768
    Relic Shield
    Join Date
    Sep 2007
    Posts
    1,825
    BG Level
    6
    FFXI Server
    Quetzalcoatl

    Quote Originally Posted by Esvedium View Post
    Wait, you want Iga+1 on daytime? Why? They don't make you go any faster, and they aren't particularly /brag worthy...

    The xml snippet I posted earlier works just fine. 3 variables are needed. The "feet" variable is what the idle set looks for. The "Danz" is what changes the "feet" to Danzo Sune-Ate, and the "kyah" one sets the "feet" to Ninja Kyahan. What about it isn't working for you...? If you want Iga+1 instead of danzo for some reason, and not just full-time Ninja Kyahan, change the "Danz" variable to this: <var name="danz">Iga Kyahan +1</var> and it should work for you.
    You only need one variable. What you've posted is basically what I said in my first post, just with 2 unnecessary variables.

    Edit: Er, saw your edit in a previous post. You're actually right, in a way, because this is not how I've written my own spellcast either. The problem arises when you have to add 's, since it stops the code when using <var cmd>. If you want to avoid using the extra variables in those cases, you need to do like this instead:

    Code:
    <if mode="OR" TimeLT="6.00" TimeGT="17.59">
       <action type="command">
              sc var set WalkFast Ninja Kyahan +1
       </action>
    </if>
    <else>
       <action type="command">
              sc var set WalkFast Danzo Sune-Ate
       </action>
    </else>
    Having said that, there are no 's in either of these two feet pieces, so the first way I posted it should work just fine.

  9. #1769
    Insert witty title here
    Join Date
    Jun 2007
    Posts
    1,191
    BG Level
    6
    FFXI Server
    Phoenix

    Yea, you're right, it was an apostrophe that fucked it up for me when I was going a similar day/night/time/whatever variable similar to this one, so I fixed that one a while back by doing it like I have now with more variables. It's force of habit now, so I keep using it, and it's fairly easy to change, and I know it works, so...

    But yea, your code should work, no apostrophes and all that, or the <command> stuff.

    Edit: Yea, I remember now. It was assassin's armlets and garden bangles in my idle set on thf a while back. the ' in armlets made it not work... and now I'm stuck in my ways. =/

  10. #1770
    Smells like Onions
    Join Date
    Mar 2010
    Posts
    2
    BG Level
    0
    FFXI Server
    Cerberus

    Just wanted to post again to say that the problem was indeed where I had the closing tag and it works like a charm now. Thanks for the help.

  11. #1771
    An exploitable mess of a card game
    Join Date
    Sep 2008
    Posts
    13,197
    BG Level
    9
    FFXIV Character
    Gouka Mekkyaku
    FFXIV Server
    Gilgamesh
    FFXI Server
    Diabolos

    Quote Originally Posted by Rasantath View Post
    that sounds useful. but speaking of saving space, what if you don't define a set for every single weaponskill you might use?
    anyone know any way to detect this condition and use a fallback set? or should i just go make a set for each WS i might use...

    also, is spellcast gonna be happy with sets with spaces and apostrophes in their names? are there any forbidden characters in set (or group) names?
    Never tested apostrophes, but it should be no problem. Spaces are allowed since you're using quotation marks. If you have a WS that isn't named, you can do this:

    Code:
    <if type="Weaponskil">
        <if spell="WS Name|WS Name2|WS Name3...">
            <equip set="%spell" />
        </if>
        <else>
            <equip set="General WS Set" />
        </else>
    </if>
    So you name sets after the WS they correspond with "Dragon Kick", "Combo", and so forth. You then make a generic WS set for anything that you don't use often/care about fixing.

  12. #1772
    Sea Torques
    Join Date
    Jul 2009
    Posts
    679
    BG Level
    5
    FFXI Server
    Leviathan

    Quote Originally Posted by Yugl View Post
    Never tested apostrophes, but it should be no problem. Spaces are allowed since you're using quotation marks. If you have a WS that isn't named, you can do this:

    Code:
    <if type="Weaponskil">
        <if spell="WS Name|WS Name2|WS Name3...">
            <equip set="%spell" />
        </if>
        <else>
            <equip set="General WS Set" />
        </else>
    </if>
    So you name sets after the WS they correspond with "Dragon Kick", "Combo", and so forth. You then make a generic WS set for anything that you don't use often/care about fixing.
    Alternate example:

    Code:
    			<set name="CurePotency-Cure V|CurePotency-Cure VI" baseset="LowEnmity|HighMND">
    				<main>$LightStaff</main>
    			</set>
    			
    			<set name="CurePotency*" baseset="HighMND|LowEnmity">
    				<main>$LightStaff</main>
    			</set>
    
    <!-- Snip -->
    			<equip when="midcast" set="CurePotency-%Spell" />
    Just make sure your catchall with the wildcard is *last*. You can also inherit (inherit="CurePotency"), but make sure you aren't using wildcard in the inherit or things will blow up due to recursion.

  13. #1773
    Hydra
    Join Date
    Jun 2007
    Posts
    113
    BG Level
    3
    FFXIV Character
    Soda Pop
    FFXIV Server
    Sargatanas
    FFXI Server
    Odin

    Is it possible for Spellcast to detect the number of Finishing Moves? I'm thinking something like this:-

    Code:
            <if spell="Dancing Edge|Evisceration">
                <if advanced='"$ChangeStriking" = "0"' buffactive="Finishing Move" mode="and">
                    <var cmd="set ChangeStriking 1" />
                    <action type="command">wait 1;%Spell %SpellTargetRaw;</action>
                    <action type="command">input /ja "Striking Flourish" &lt;me&gt;;wait 120;sc var set ChangeStriking 0</action>
                    <cancelspell />
                    <return />
                </if>
            </if>
    However, Striking Flourish uses 2 Finishing Moves, and that code above will cause Striking Flourish to kick in even if I only have 1 Finishing Move up.

  14. #1774
    Salvage Bans
    Join Date
    Mar 2010
    Posts
    769
    BG Level
    5
    FFXI Server
    Leviathan

    I grabbed a spellcast for bard offline, but keep getting a error on line 635. I am pretty much guessing at what I am doing, if anyone can take a look at it quick I'd really appreciate it.

    http://pastebin.com/8M7GDHx9

  15. #1775
    An exploitable mess of a card game
    Join Date
    Sep 2008
    Posts
    13,197
    BG Level
    9
    FFXIV Character
    Gouka Mekkyaku
    FFXIV Server
    Gilgamesh
    FFXI Server
    Diabolos

    Try this (Fixed it since describing the problem is too difficult with that many lines):

    Spoiler: show
    Code:
    <?xml version="1.0" ?>
    <!--|                     Keysers BRD SpellCast file ver10.23.10                       |-->
    <!--|                                  RunicPortal.com                                 |-->
    <!--|------------------------------------------------------------------------------------->
    <!--|You will need to do some minor editing before using this file, I have tried to    |-->
    <!--|make those required edits as easy to identify and understand as I could.          |-->
    <!--|------------------------------------------------------------------------------------->
    <!--|-----------------------BE SURE TO READ OVER ALL 3 SECTIONS------------------------|-->
    <!--|------------------------------------------------------------------------------------->
    <!--|                               Section 1: File Notes                              |-->
    <!--|------------------------------------------------------------------------------------->
    <!--|This file was designed consolodate all macros for each song type and tier into one|-->
    <!--|macro for each song type (ie instead of separate Minuet 4 and 3 macros, one macro |-->
    <!--|for both). Songs will automatically adjust themselves based on your current level |-->
    <!--|(including level sync), and will first play the highest tier song available to    |-->
    <!--|you, followed immediately by the next highest tier song. Since this essentially   |-->
    <!--|plays two songs in rapid succession of eachother, be aware that one "Unable to    |-->
    <!--|cast spells at this time" error will happen on every macro push, this is normal   |-->
    <!--|and expected behavior.                                                            |-->
    <!--|                                                                                  |-->
    <!--|To use this file as intended, please create the following macro for Ballad,       |-->
    <!--|Madrigal, Mambo, March, Minne, Minuet, and Paeon, as well as Elegy and Requiem.   |-->
    <!--|Be sure to use the appropriate song in line 2.                                    |-->
    <!--|                                                                                  |-->
    <!--|1:/smile motion <stpc>               (Use <stnpc> for the debuffs)                |-->
    <!--|2://sc var set Song Ballad                                                        |-->
    <!--|3:/ma Holy <lastst>                                                               |-->
    <!--|                                                                                  |-->
    <!--|If you have HP force down gear to activate the Minstrels Ring latent, switch into |-->
    <!--|it by creating a "/ma Yawn <me>" macro.                                           |-->
    <!---------------------------------------------------------------------------------------->
    <spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
        <config
            ShowGearSwaps="true"
            Debug="true"
            ShowspellInfo="false"
            />
        <sets>
            <group default="yes" name="BRD">
                <!---------------------------------------------------------------------------------------->
                <!--|                               Section 2: Gear Sets                               |-->
                <!--|------------------------------------------------------------------------------------->
                <!--|Below is where you define the gear you use for each set. Each set has a short     |-->
                <!--|description to help you choose which gear is best to use. Generally, it is only   |-->
                <!--|necessary to define pieces that have the desired stats on them. Defining all      |-->
                <!--|slots, however, will not negatively impact performance. The gear pre-defined here |-->
                <!--|is meant to only be an example. If you use a piece of equipment for a certain set |-->
                <!--|and it's slot is not defined here, simply add it in yourself. If you are not      |-->
                <!--|defining a piece of gear for a slot, delete that entire slots line, do not leave  |-->
                <!--|that slot empty (ex: <neck /> is bad).                                       |-->
                <!---------------------------------------------------------------------------------------->
                <!--|                                 Defineable Slots                                 |-->
                <!--|                             |main|sub  |range|ammo |                             |-->
                <!--|                             |head|neck |lear |rear |                             |-->
                <!--|                             |body|hands|lring|rring|                             |-->
                <!--|                             |back|waist|legs |feet |                             |-->
                <!---------------------------------------------------------------------------------------->
                <set name="Refresh">
                    <!--Damage-, refresh gear-->
                    <main>$EarthStaff</main>
                    <sub>Bugard Strap +1</sub>
                    <head>Darksteel Cap +1</head>
                    <neck>Orochi Nodowa +1</neck>
                    <lear>Merman's Earring</lear>
                    <rear>Merman's Earring</rear>
                    <body>Marduk's Jubbah</body>
                    <hands>Serpentes Cuffs</hands>
                    <lring>Dark Ring</lring>
                    <rring>Jelly Ring</rring>
                    <back>Umbra Cape</back>
                    <waist>Lieutenant's Sash</waist>
                    <legs>Aoidos' Rhing. +2</legs>
                    <feet>Aoidos' Cothrn. +2</feet>
                </set>
                <set name="Evasion" BasteSet="Refresh">
                    <!--Damage-, evasion gear-->
                </set>
                <set name="Rest" BaseSet="Refresh">
                    <!--hMP+ gear-->
                    <main>$DarkStaff</main>
                    <sub>Bugard Strap +1</sub>
                </set>
                <set name="Melee">
                    <!--Haste+, Acc+ gear-->
                </set>
                <set name="Latent">
                    <!--HP down gear to activate Minstrels Ring-->
                </set>
                <set name="Fast" BaseSet="FastMP">
                    <!--Fast Cast gear-->
                    <neck>Aoidos' Matinee</neck>
                    <rear>Loquacious earring</rear>
                    <body>Sha'ir Manteel</body>
                    <waist>Swift Belt</waist>
                    <hands>Schellenband</hands>
                </set>
                <set name="FastMP">
                    <!--Fast Cast and Conserve MP gear-->
                    <head>Walahra turban</head>
                    <rear>Loquacious earring</rear>
                    <body>Marduk's Jubbah</body>
                    <hands>Dusk Gloves +1</hands>
                    <waist>Velocious Belt</waist>
                    <legs>Byakko's Haidate</legs>
                    <feet>Dusk Ledelsens +1</feet>
                </set>
                <set name="Buff" baseset="Fast">
                    <!--Skill+ gear-->
                    <head>Demon Helm +1</head>
                    <neck>Wind Torque</neck>
                    <lear>Musical earring</lear>
                    <body>Minstrel's Coat</body>
                    <hands>Chl. Cuffs +1</hands>
                    <lring>Nereid Ring</lring>
                    <rring>Nereid Ring</rring>
                    <waist>Marching Belt</waist>
                    <legs>Aoidos' Rhing. +2</legs>
                    <feet>Oracle's pigaches</feet>
                </set>
                <set name="Debuff" BaseSet="Buff">
                    <!--CHR+, Skill+ gear-->
                    <sub>Reign Grip</sub>
                    <body>Augur's Jaseran</body>
                    <hands>Chl. Cuffs +1</hands>
                    <lring>Omega Ring</lring>
                    <rring>Balrahn's Ring</rring>
                    <back>Jester's cape +1</back>
                    <waist>Aristo Belt</waist>
                    <legs>Marduk's Shalwar</legs>
                    <feet>Aoidos' Cothrn. +2</feet>
                </set>
                <set name="Stoneskin" BaseSet="FastMP">
                    <neck>Stone Gorget</neck>
                    <body>Marduk's Jubbah</body>
                    <hands>Augur's Gloves</hands>
                    <waist>Cascade Belt</waist>
                    <legs>Haven Hose</legs>
                </set>
            </group>
        </sets>
        <variables>
            <!----------------------------------------------------------------------------------------->
            <!--|                                Section 3: Settings                                |-->
            <!----------------------------------------------------------------------------------------->
            <!--|                                  General Options                                  |-->
            <!--|                                  ---------------                                  |-->
            <!--|Options and                       What you can choose              Edit this column|-->
            <!--|descriptions                      from (in brackets)                           |   |-->
            <!--|    |                                     |                                    |   |-->
            <!--|    v                                     v                                    v   |-->
            <!--| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |-->
            <!--|Have a Storm Fife for Salvage?         [Yes/No]-->
            <var name="Storm"          >Yes</var>
            <!--| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --->
            <!--|Divine Seal Confirmation               [On/Off]-->
            <var name="DSConfirm"      >Off</var>
            <!--|  Will force the second button click to prevent                                     -->
            <!--|  accidental usage if you have a macro for this.                                    -->
            <!--|                                                                                    -->
            <!--|Divine Seal Warning /echos             [On/Off]-->
            <var name="DSWarn"          >Off</var>
            <!--|  Displays an echo warning at :30 and :10 to                                        -->
            <!--|  let you know the ability is almost ready again.                                   -->
            <!--| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --->
            <!--|Elemental Seal Confirmation            [On/Off]-->
            <var name="ESConfirm"       >Off</var>
            <!--|  Will force the second button click to prevent                                     -->
            <!--|  accidental usage if you have a macro for this.                                    -->
            <!--|                                                                                    -->
            <!--|Elemental Seal warning /echos          [On/Off]-->
            <var name="ESWarn"         >Off</var>
            <!--|  Displays an echo warning at :30 and :10 to                                        -->
            <!--|  let you know the ability is almost ready again.                                   -->
            <!--| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --->
            <!--|Nightingale warning /echos             [On/Off]-->
            <var name="NightWarn"       >On</var>
            <!--|  Displays an echo warning at :30 and :10 to                                        -->
            <!--|  let you know the ability is almost ready again.                                   -->
            <!--|                                                                                    -->
            <!--|Nightingale merits                [0/1/2/3/4/5]-->
            <var name="NightMerits"      >5</var>
            <!--|  How many merits do you have?                                                      -->
            <!--| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --->
            <!--|Troubadour warning /echos              [On/Off]-->
            <var name="TroubWarn"       >On</var>
            <!--|  Displays an echo warning at :30 and :10 to                                        -->
            <!--|  let you know the ability is almost ready again.                                   -->
            <!--|                                                                                    -->
            <!--|Troubadour merits                 [0/1/2/3/4/5]-->
            <var name="TroubMerits"      >5</var>
            <!--|  How many merits do you have?                                                      -->
            <!--| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --->
            <!--|Double-Up chance check for rolls   [On/Off]-->
            <var name="DoubleCheck"         >Off</var>
            <!--|  Allows you to use a roll macro                                                    -->
            <!--|  to activate Double-Up.                                                            -->
            <!--| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --->
            <!--|Soul Voice Confirmation                [On/Off]-->
            <var name="SoulConfirm"     >Off</var>
            <!--|  Will force the second button click to prevent                                     -->
            <!--|  accidental usage if you have a macro for this.                                    -->
            <!--|                                                                                    -->
            <!--|Soul Voice Warning /echos              [On/Off]-->
            <var name="SoulWarn"        >On</var>
            <!--|  Displays an echo warning at :30 and :10 to                                        -->
            <!--|  let you know when Soul Voice will wear off.                                       -->
            <!----------------------------------------------------------------------------------------->
            <!----------------------------------------------------------------------------------------->
            <!--                                     Instruments                                     -->
            <!--                                     -----------                                     -->
            <!--Set these to what you use. Make sure to set every                                    -->
            <!--one. If you do not have a specific instrument                      Edit this column  -->
            <!--you use, pick a default one to set it to.                              |             -->
            <!--                                                                       v             -->
            <!--|Ballad                          -->
            <var name="Ballad"             >Storm Fife</var>
            <!--|Elegy                           -->
            <var name="Elegy"              >Syrinx</var>
            <!--|Etude                           -->
            <var name="Etude"              >Angel Lyre</var>
            <!--|Finale                          -->
            <var name="Finale"             >Pan's Horn</var>
            <!--|Hymnus                          -->
            <var name="Hymnus" />
            <!--|Lullaby                         -->
            <var name="Lullaby"            >Pan's Horn</var>
            <!--|Madrigal                        -->
            <var name="Madrigal"           >Cantabank's Horn</var>
            <!--|March                           -->
            <var name="March"              >Faerie Piccolo</var>
            <!--|Mambo                           -->
            <var name="Mambo"              >Vihuela</var>
            <!--|Mazurka                         -->
            <var name="Mazurka"            >Vihuela</var>
            <!--|Minne                           -->
            <var name="Minne"              >Syrinx</var>
            <!--|Minuet                          -->
            <var name="Minuet"             >Cornette +1</var>
            <!--|Paeon                           -->
            <var name="Paeon" />
            <!--|Prelude                         -->
            <var name="Prelude"            >Cantabank's Horn</var>
            <!--|Requiem                         -->
            <var name="Requiem"            >Requiem</var>
            <!--|Threnody                        -->
            <var name="Threnody" />
            <!----------------------------------------------------------------------------------------->
            <!----------------------------------------------------------------------------------------->
            <!--                                       Staves                                        -->
            <!--                                       ------                                        -->
            <!--Set these to the NQ/HQ Staves that you own.                                          -->
            <!--If you do not own a certain type of staff,                        Edit this column   -->
            <!--you can just leave it set to whatever.                                |              -->
            <!--                                                                      v              -->
            <!--|Party Buffs                 -->
            <var name="BuffStaff"             >$ElementStaff</var>
            <!--|Fire                        -->
            <var name="FireStaff"             >Vulcan's Staff</var>
            <!--|Earth                       -->
            <var name="EarthStaff"            >Terra's Staff</var>
            <!--|Water                       -->
            <var name="WaterStaff"            >Neptune's Staff</var>
            <!--|Wind                        -->
            <var name="WindStaff"             >Auster's Staff</var>
            <!--|Ice                         -->
            <var name="IceStaff"              >Aquilo's Staff</var>
            <!--|Thunder                     -->
            <var name="ThunderStaff"          >Jupiter's Staff</var>
            <!--|Light                       -->
            <var name="LightStaff"            >Apollo's Staff</var>
            <!--|Darkness                    -->
            <var name="DarkStaff"             >Pluto's Staff</var>
            <!----------------------------------------------------------------------------------------->
            <!----------------------------------------------------------------------------------------->
            <!----------------------------------------------------------------------------------------->
            <!------------------------------------END EDITABLE AREA------------------------------------>
            <!-------------------------------DO NOT EDIT BELOW THIS LINE------------------------------->
            <!----------------------------------------------------------------------------------------->
            <!----------------------------------------------------------------------------------------->
            <var name="LastST">&lt;lastst&gt;</var>
            <var name="Song" />
        </variables>
        <rules>
            <if SubJob="WHM|RDM|SCH">
                <if status="engaged">
                    <equip when="engaged|aftercast" set="Melee" />
                </if>
                <else>
                    <equip when="idle|aftercast" set="Refresh" />
                    <equip when="resting" set="Rest" />
                </else>
            </if>
            <else>
                <if status="engaged">
                    <equip when="engaged|aftercast" set="Melee" />
                </if>
                <else>
                    <equip when="idle|resting|aftercast" set="Evasion" />
                </else>
            </else>
            <if type="CorsairRoll">
                <if Advanced='"$DoubleCheck"="On"' BuffActive="Double-Up Chance">
                    <changespell Spell="Double-Up" />
                </if>
            </if>
            <if Skill="Ninjutsu">
                <equip when="precast" set="FastMP" />
                <equip when="midcast" set="FastMP">
                    <range>$Hymnus</range>
                </equip>
                <if spell="Monomi*">
                    <command when="precast">cancel 71</command>
                </if>
            </if>
            <if skill="EnhancingMagic|HealingMagic|DivineMagic">
                <equip when="precast" set="FastMP" />
                <equip when="precast">
                    <range>$Hymnus</range>
                </equip>
                <if spell="Stoneskin">
                    <equip when="precast" set="FastMP" />
                    <equip when="midcast" set="Stoneskin" />
                    <command when="precast">cancel 37</command>
                    <equip when="precast">
                        <main>$EarthStaff</main>
                    </equip>
                </if>
                <elseif spell="Sneak" SpellTargetType="SELF">
                    <command when="precast">cancel 71</command>
                    <equip when="precast">
                        <main>$WindStaff</main>
                    </equip>
                </elseif>
                <elseif spell="Warp*|Teleport*|Escape">
                    <aftercastdelay delay=".1" />
                </elseif>
                <else>
                    <aftercastdelay delay="3" />
                    <equip when="precast">
                        <main>$%SpellElementStaff</main>
                    </equip>
                </else>
            </if>
            <if spell="Yawn">
                <equip when="precast" set="Latent" />
                <cancelspell />
            </if>
            <elseif spell="Holy">
                <if Advanced='"$Song"="Ballad"'>
                    <if MlvlLT="85">
                        <changespell Spell="Mage's Ballad II" />
                        <command when="precast">
                            wait 1;input /raw /ma "Mage's Ballad" $LastST
                            </command>
                    </if>
                    <if MlvlLT="55">
                        <changespell Spell="Mage's Ballad" />
                    </if>
                    <else>
                        <changespell Spell="Mage's Ballad III" />
                        <command when="precast">
                            wait 1;input /raw /ma "Mage's Ballad II" $LastST
                            </command>
                    </else>
                    <equip when="precast" set="Fast" />
                    <if area="*Remnants|Leujaoam Sanctum|Mamool Ja Training Grounds|Lebros Cavern|Periqia|Ilrusi Atoll|Nyzul Isle" 
                        Advanced='"$Storm"="Yes"'>
                        <equip when="midcast">
                            <range>Storm Fife</range>
                            <legs>Aoidos' Rhing. +2</legs>
                        </equip>
                    </if>
                    <else>
                        <equip when="midcast">
                            <range>$Ballad</range>
                            <legs>Aoidos' Rhing. +2</legs>
                        </equip>
                    </else>
                </if>
                <elseif Advanced='"$Song"="Madrigal"'>
                    <if MlvlLT="51">
                        <changespell Spell="Sword Madrigal" />
                    </if>
                    <else>
                        <changespell Spell="Blade Madrigal" />
                        <command when="precast">
                            wait 1;input /raw /ma "Sword Madrigal" $LastST
                            </command>
                    </else>
                    <if spellactive="Nightingale">
                        <equip when="precast" set="Fast" />
                        <equip when="precast">
                            <main>$BuffStaff</main>
                            <range>$Madrigal</range>
                        </equip>
                        <midcastdelay delay="3" />
                        <equip when="midcast" set="Buff" />
                    </if>
                    <else>
                        <equip when="precast" set="Buff" />
                    </else>
                </elseif>
                <elseif Advanced='"$Song"="March"'>
                    <if MlvlLT="60">
                        <changespell Spell="Advancing March" />
                    </if>
                    <else>
                        <changespell Spell="Victory March" />
                        <command when="precast">
                            wait 1;input /raw /ma "Advancing March" $LastST
                            </command>
                    </else>
                    <if spellactive="Nightingale">
                        <equip when="precast" set="Fast" />
                        <equip when="precast">
                            <main>$BuffStaff</main>
                            <range>$Madrigal</range>
                        </equip>
                        <midcastdelay delay="3" />
                        <equip when="midcast" set="Buff" />
                    </if>
                    <else>
                        <equip when="precast" set="Buff" />
                    </else>
                </elseif>
                <elseif Advanced='"$Song"="Mambo"'>
                    <if MlvlLT="53">
                        <changespell Spell="Sheepfoe Mambo" />
                    </if>
                    <else>
                        <changespell Spell="Dragonfoe Mambo" />
                        <command when="precast">
                            wait 1;input /raw /ma "Sheepfoe Mambo" $LastST
                            </command>
                    </else>
                    <if spellactive="Nightingale">
                        <equip when="precast" set="Fast" />
                        <equip when="precast">
                            <main>$BuffStaff</main>
                            <range>$Madrigal</range>
                        </equip>
                        <midcastdelay delay="3" />
                        <equip when="midcast" set="Buff" />
                    </if>
                    <else>
                        <equip when="precast" set="Buff" />
                    </else>
                </elseif>
                <elseif Advanced='"$Song"="Minne"'>
                    <if MlvlLT=80 MlvlGT=60>
                        <changespell Spell="Knight's Minne IV" />
                        <command when="precast">
                            wait 1;input /raw /ma "Knight's Minne III" $LastST
                            </command>
                    </if>
                    <elseif MlvlLT=61 MlvlGT=40>
                        <changespell Spell="Knight's Minne III" />
                        <command when="precast">
                            wait 1;input /raw /ma "Knight's Minne II" $LastST
                            </command>
                    </elseif>
                    <elseif MlvlLT=41 MlvlGT=20>
                        <changespell Spell="Knight's Minne II" />
                        <command when="precast">
                            wait 1;input /raw /ma "Knight's Minne" $LastST
                            </command>
                    </elseif>
                    <elseif MlvlLT=21>
                        <changespell Spell="Knight's Minne" />
                    </elseif>
                    <else>
                        <changespell Spell="Knight's Minne V" />
                        <command when="precast">
                            wait 1;input /raw /ma "Knight's Minne IV" $LastST
                            </command>
                    </else>
                    <if spellactive="Nightingale">
                        <equip when="precast" set="Fast" />
                        <equip when="precast">
                            <main>$BuffStaff</main>
                            <range>$Madrigal</range>
                        </equip>
                        <midcastdelay delay="3" />
                        <equip when="midcast" set="Buff" />
                    </if>
                    <else>
                        <equip when="precast" set="Buff" />
                    </else>
                </elseif>
                <elseif Advanced='"$Song"="Minuet"'>
                    <if MlvlLT=63 MlvlGT=42>
                        <changespell Spell="Valor Minuet III" />
                        <command when="precast">
                            wait 1;input /raw /ma "Valor Minuet II" $LastST
                            </command>
                    </if>
                    <elseif MlvlLT=43 MlvlGT=22>
                        <changespell Spell="Valor Minuet II" />
                        <command when="precast">
                            wait 1;input /raw /ma "Valor Minuet" $LastST
                            </command>
                    </elseif>
                    <elseif MlvlLT=23>
                        <changespell Spell="Valor Minuet" />
                    </elseif>
                    <else>
                        <changespell Spell="Valor Minuet IV" />
                        <command when="precast">
                            wait 1;input /raw /ma "Valor Minuet III" $LastST
                            </command>
                    </else>
                    <if spellactive="Nightingale">
                        <equip when="precast" set="Fast" />
                        <equip when="precast">
                            <main>$BuffStaff</main>
                            <range>$Madrigal</range>
                        </equip>
                        <midcastdelay delay="3" />
                        <equip when="midcast" set="Buff" />
                    </if>
                    <else>
                        <equip when="precast" set="Buff" />
                    </else>
                </elseif>
                <elseif Advanced='"$Song"="Paeon"'>
                    <if MlvlLT=78 MlvlGT=64>
                        <changespell Spell="Army's Paeon V" />
                        <command when="precast">
                            wait 1;input /raw /ma "Army's Paeon IV" $LastST
                            </command>
                    </if>
                    <elseif MlvlLT=65 MlvlGT=44>
                        <changespell Spell="Army's Paeon IV" />
                        <command when="precast">
                            wait 1;input /raw /ma "Army's Paeon III" $LastST
                            </command>
                    </elseif>
                    <elseif MlvlLT=45 MlvlGT=34>
                        <changespell Spell="Army's Paeon III" />
                        <command when="precast">
                            wait 1;input /raw /ma "Army's Paeon II" $LastST
                            </command>
                    </elseif>
                    <elseif MlvlLT=35 MlvlGT=14>
                        <changespell Spell="Army's Paeon II" />
                        <command when="precast">
                            wait 1;input /raw /ma "Army's Paeon" $LastST
                            </command>
                    </elseif>
                    <elseif MlvlLT=15>
                        <changespell Spell="Army's Paeon" />
                    </elseif>
                    <else>
                        <changespell Spell="Army's Paeon VI" />
                        <command when="precast">
                            wait 1;input /raw /ma "Army's Paeon V" $LastST
                            </command>
                    </else>
                    <equip when="precast" set="Fast" />
                    <equip when="precast">
                        <range>$Paeon</range>
                    </equip>
                </elseif>
                <elseif Advanced='"$Song"="Elegy"'>
                    <if MlvlLT="59">
                        <changespell Spell="Battlefield Elegy" />
                    </if>
                    <else>
                        <changespell Spell="Carnage Elegy" />
                        <command when="precast">
                            wait 1;input /raw /ma "Battlefield Elegy" $LastST
                            </command>
                    </else>
                    <equip when="precast" set="Debuff" />
                    <equip when="precast">
                        <main>$%SpellElementStaff</main>
                        <sub>Reign Grip</sub>
                        <range>$Elegy</range>
                    </equip>
                </elseif>
                <elseif Advanced='"$Song"="Requiem"'>
                    <if MlvlLT=76 MlvlGT=66>
                        <changespell Spell="Foe Requiem VI" />
                        <command when="precast">
                            wait 1;input /raw /ma "Foe Requiem V" $LastST
                            </command>
                    </if>
                    <elseif MlvlLT=67 MlvlGT=56>
                        <changespell Spell="Foe Requiem V" />
                        <command when="precast">
                            wait 1;input /raw /ma "Foe Requiem IV" $LastST
                            </command>
                    </elseif>
                    <elseif MlvlLT=57 MlvlGT=46>
                        <changespell Spell="Foe Requiem IV" />
                        <command when="precast">
                            wait 1;input /raw /ma "Foe Requiem III" $LastST
                            </command>
                    </elseif>
                    <elseif MlvlLT=47 MlvlGT=36>
                        <changespell Spell="Foe Requiem III" />
                        <command when="precast">
                            wait 1;input /raw /ma "Foe Requiem II" $LastST
                            </command>
                    </elseif>
                    <elseif MlvlLT=37 MlvlGT=16>
                        <changespell Spell="Foe Requiem II" />
                        <command when="precast">
                            wait 1;input /raw /ma "Foe Requiem" $LastST
                            </command>
                    </elseif>
                    <elseif MlvlLT=17 MlvlGT=6>
                        <changespell Spell="Foe Requiem" />
                    </elseif>
                    <else>
                        <changespell Spell="Foe Requiem VII" />
                        <command when="precast">
                            wait 1;input /raw /ma "Foe Requiem VI" $LastST
                            </command>
                    </else>
                    <equip when="precast" set="Debuff" />
                    <equip when="precast">
                        <main>$%SpellElementStaff</main>
                        <sub>Reign Grip</sub>
                        <range>$Requiem</range>
                    </equip>
                </elseif>
                <elseif Advanced='"$Song"="Lullaby"'>
                    <if MlvlLT="83">
                        <changespell Spell="Foe Lullaby" />
                    </if>
                    <else>
                        <changespell Spell="Foe Lullaby II" />
                        <command when="precast">
                            wait 1;input /raw /ma "Foe Lullaby" $LastST
                            </command>
                    </else>
                    <equip when="precast" set="Debuff" />
                    <equip when="precast">
                        <main>$%SpellElementStaff</main>
                        <sub>Reign Grip</sub>
                        <range>$Lullaby </range>
                    </equip>
                </elseif>
                <elseif spell="Horde Lullaby">
                    <equip when="precast" set="Debuff" />
                    <equip when="precast">
                        <main>$%SpellElementStaff</main>
                        <sub>Reign Grip</sub>
                        <range>$Lullaby</range>
                    </equip>
                </elseif>
                <elseif spell="* Etude">
                    <equip when="precast" set="Buff" />
                    <equip when="precast">
                        <main>$BuffStaff</main>
                        <range>$Etude</range>
                    </equip>
                </elseif>
                <elseif spell="* Prelude">
                    <equip when="precast" set="Buff" />
                    <equip when="precast">
                        <main>$BuffStaff</main>
                        <range>$Prelude</range>
                    </equip>
                </elseif>
                <elseif spell="* Mazurka">
                    <equip when="precast" set="Fast" />
                    <equip when="precast">
                        <range>$Mazurka</range>
                    </equip>
                </elseif>
                <elseif spell="* Hymnus">
                    <equip when="precast" set="Fast" />
                    <equip when="precast">
                        <range>$Hymnus</range>
                    </equip>
                </elseif>
                <elseif spell="Magic Finale">
                    <equip when="precast" set="Debuff" />
                    <equip when="precast">
                        <main>$%SpellElementStaff</main>
                        <sub>Reign Grip</sub>
                        <range>$Finale</range>
                    </equip>
                </elseif>
                <elseif spell="* Threnody">
                    <equip when="precast" set="Debuff" />
                    <equip when="precast">
                        <main>$%SpellElementStaff</main>
                        <range>$Threnody</range>
                    </equip>
                </elseif>
                <elseif spell="Nightingale" Advanced='"$NightWarn"="On"'>
                    <if Advanced='"$NightMerits"="1"'>
                        <command when="precast">
                            wait 1170;input /echo === Nightingale ready in 0:30 ===
                            </command>
                        <command when="precast">
                            wait 1190;input /echo === Nightingale ready in 0:10 ===
                            </command>
                    </if>
                    <elseif Advanced='"$NightMerits"="2"'>
                        <command when="precast">
                            wait 1020;input /echo === Nightingale ready in 0:30 ===
                            </command>
                        <command when="precast">
                            wait 1040;input /echo === Nightingale ready in 0:10 ===
                            </command>
                    </elseif>
                    <elseif Advanced='"$NightMerits"="3"'>
                        <command when="precast">
                            wait 870;input /echo === Nightingale ready in 0:30 ===
                            </command>
                        <command when="precast">
                            wait 890;input /echo === Nightingale ready in 0:10 ===
                            </command>
                    </elseif>
                    <elseif Advanced='"$NightMerits"="4"'>
                        <command when="precast">
                            wait 720;input /echo === Nightingale ready in 0:30 ===
                            </command>
                        <command when="precast">
                            wait 740;input /echo === Nightingale ready in 0:10 ===
                            </command>
                    </elseif>
                    <elseif Advanced='"$NightMerits"="5"'>
                        <command when="precast">
                            wait 570;input /echo === Nightingale ready in 0:30 ===
                            </command>
                        <command when="precast">
                            wait 590;input /echo === Nightingale ready in 0:10 ===
                            </command>
                    </elseif>
                </elseif>
                <elseif spell="Troubadour" Advanced='"$TroubWarn"="On"'>
                    <if Advanced='"$TroubMerits"="1"'>
                        <command when="precast">
                            wait 1170;input /echo === Troubadour ready in 0:30 ===
                            </command>
                        <command when="precast">
                            wait 1190;input /echo === Troubadour ready in 0:10 ===
                            </command>
                    </if>
                    <elseif Advanced='"$TroubMerits"="2"'>
                        <command when="precast">
                            wait 1020;input /echo === Troubadour ready in 0:30 ===
                            </command>
                        <command when="precast">
                            wait 1040;input /echo === Troubadour ready in 0:10 ===
                            </command>
                    </elseif>
                    <elseif Advanced='"$TroubMerits"="3"'>
                        <command when="precast">
                            wait 870;input /echo === Troubadour ready in 0:30 ===
                            </command>
                        <command when="precast">
                            wait 890;input /echo === Troubadour ready in 0:10 ===
                            </command>
                    </elseif>
                    <elseif Advanced='"$TroubMerits"="4"'>
                        <command when="precast">
                            wait 720;input /echo === Troubadour ready in 0:30 ===
                            </command>
                        <command when="precast">
                            wait 740;input /echo === Troubadour ready in 0:10 ===
                            </command>
                    </elseif>
                    <elseif Advanced='"$TroubMerits"="5"'>
                        <command when="precast">
                            wait 570;input /echo === Troubadour ready in 0:30 ===
                            </command>
                        <command when="precast">
                            wait 590;input /echo === Troubadour ready in 0:10 ===
                            </command>
                    </elseif>
                </elseif>
                <elseif spell="Elemental Seal">
                    <if Advanced='"$ESConfirm"="On"'>
                        <defaulttarget Target="&lt;stpc&gt;" />
                    </if>
                    <if Advanced='"$ESWarn"="On"'>
                        <command when="precast">
                            wait 570;input /echo === Elemental Seal ready in 0:30 ===
                            </command>
                        <command when="precast">
                            wait 590;input /echo === Elemental Seal ready in 0:10 ===
                            </command>
                    </if>
                </elseif>
                <elseif spell="Divine Seal">
                    <if Advanced='"$DSConfirm"="On"'>
                        <defaulttarget Target="&lt;stpc&gt;" />
                    </if>
                    <if Advanced='"$DSWarn"="On"'>
                        <command when="precast">
                            wait 570;input /echo === Divine Seal ready in 0:30 ===
                            </command>
                        <command when="precast">
                            wait 590;input /echo === Divine Seal ready in 0:10 ===
                            </command>
                    </if>
                </elseif>
                <elseif Spell="Soul Voice">
                    <if Advanced='"$SoulConfirm"="On"'>
                        <defaulttarget Target="&lt;stpc&gt;" />
                    </if>
                    <if Advanced='"$SoulWarn"="On"'>
                        <command when="precast">
                            wait 59;input /echo === Soul Voice off in 2:00 ===
                            </command>
                        <command when="precast">
                            wait 119;input /echo === Soul Voice off in 1:00 ===
                            </command>
                        <command when="precast">
                            wait 149;input /echo === Soul Voice off in 0:30 ===
                            </command>
                        <command when="precast">
                            wait 164;input /echo === Soul Voice off in 0:15 ===
                            </command>
                        <command when="precast">
                            wait 174;input /echo === Soul Voice off in 0:05 ===
                            </command>
                    </if>
                </elseif>
            </rules>
        </spellcast>

  16. #1776
    Salvage Bans
    Join Date
    Mar 2010
    Posts
    769
    BG Level
    5
    FFXI Server
    Leviathan

    Getting a error on 826 now :/

  17. #1777
    An exploitable mess of a card game
    Join Date
    Sep 2008
    Posts
    13,197
    BG Level
    9
    FFXIV Character
    Gouka Mekkyaku
    FFXIV Server
    Gilgamesh
    FFXI Server
    Diabolos

    Spoiler: show
    Code:
    <?xml version="1.0" ?>
    <!--|                     Keysers BRD SpellCast file ver10.23.10                       |-->
    <!--|                                  RunicPortal.com                                 |-->
    <!--|------------------------------------------------------------------------------------->
    <!--|You will need to do some minor editing before using this file, I have tried to    |-->
    <!--|make those required edits as easy to identify and understand as I could.          |-->
    <!--|------------------------------------------------------------------------------------->
    <!--|-----------------------BE SURE TO READ OVER ALL 3 SECTIONS------------------------|-->
    <!--|------------------------------------------------------------------------------------->
    <!--|                               Section 1: File Notes                              |-->
    <!--|------------------------------------------------------------------------------------->
    <!--|This file was designed consolodate all macros for each song type and tier into one|-->
    <!--|macro for each song type (ie instead of separate Minuet 4 and 3 macros, one macro |-->
    <!--|for both). Songs will automatically adjust themselves based on your current level |-->
    <!--|(including level sync), and will first play the highest tier song available to    |-->
    <!--|you, followed immediately by the next highest tier song. Since this essentially   |-->
    <!--|plays two songs in rapid succession of eachother, be aware that one "Unable to    |-->
    <!--|cast spells at this time" error will happen on every macro push, this is normal   |-->
    <!--|and expected behavior.                                                            |-->
    <!--|                                                                                  |-->
    <!--|To use this file as intended, please create the following macro for Ballad,       |-->
    <!--|Madrigal, Mambo, March, Minne, Minuet, and Paeon, as well as Elegy and Requiem.   |-->
    <!--|Be sure to use the appropriate song in line 2.                                    |-->
    <!--|                                                                                  |-->
    <!--|1:/smile motion <stpc>               (Use <stnpc> for the debuffs)                |-->
    <!--|2://sc var set Song Ballad                                                        |-->
    <!--|3:/ma Holy <lastst>                                                               |-->
    <!--|                                                                                  |-->
    <!--|If you have HP force down gear to activate the Minstrels Ring latent, switch into |-->
    <!--|it by creating a "/ma Yawn <me>" macro.                                           |-->
    <!---------------------------------------------------------------------------------------->
    <spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
        <config
            ShowGearSwaps="true"
            Debug="true"
            ShowspellInfo="false"
            />
        <sets>
            <group default="yes" name="BRD">
                <!---------------------------------------------------------------------------------------->
                <!--|                               Section 2: Gear Sets                               |-->
                <!--|------------------------------------------------------------------------------------->
                <!--|Below is where you define the gear you use for each set. Each set has a short     |-->
                <!--|description to help you choose which gear is best to use. Generally, it is only   |-->
                <!--|necessary to define pieces that have the desired stats on them. Defining all      |-->
                <!--|slots, however, will not negatively impact performance. The gear pre-defined here |-->
                <!--|is meant to only be an example. If you use a piece of equipment for a certain set |-->
                <!--|and it's slot is not defined here, simply add it in yourself. If you are not      |-->
                <!--|defining a piece of gear for a slot, delete that entire slots line, do not leave  |-->
                <!--|that slot empty (ex: <neck /> is bad).                                       |-->
                <!---------------------------------------------------------------------------------------->
                <!--|                                 Defineable Slots                                 |-->
                <!--|                             |main|sub  |range|ammo |                             |-->
                <!--|                             |head|neck |lear |rear |                             |-->
                <!--|                             |body|hands|lring|rring|                             |-->
                <!--|                             |back|waist|legs |feet |                             |-->
                <!---------------------------------------------------------------------------------------->
                <set name="Refresh">
                    <!--Damage-, refresh gear-->
                    <main>$EarthStaff</main>
                    <sub>Bugard Strap +1</sub>
                    <head>Darksteel Cap +1</head>
                    <neck>Orochi Nodowa +1</neck>
                    <lear>Merman's Earring</lear>
                    <rear>Merman's Earring</rear>
                    <body>Marduk's Jubbah</body>
                    <hands>Serpentes Cuffs</hands>
                    <lring>Dark Ring</lring>
                    <rring>Jelly Ring</rring>
                    <back>Umbra Cape</back>
                    <waist>Lieutenant's Sash</waist>
                    <legs>Aoidos' Rhing. +2</legs>
                    <feet>Aoidos' Cothrn. +2</feet>
                </set>
                <set name="Evasion" BasteSet="Refresh">
                    <!--Damage-, evasion gear-->
                </set>
                <set name="Rest" BaseSet="Refresh">
                    <!--hMP+ gear-->
                    <main>$DarkStaff</main>
                    <sub>Bugard Strap +1</sub>
                </set>
                <set name="Melee">
                    <!--Haste+, Acc+ gear-->
                </set>
                <set name="Latent">
                    <!--HP down gear to activate Minstrels Ring-->
                </set>
                <set name="Fast" BaseSet="FastMP">
                    <!--Fast Cast gear-->
                    <neck>Aoidos' Matinee</neck>
                    <rear>Loquacious earring</rear>
                    <body>Sha'ir Manteel</body>
                    <waist>Swift Belt</waist>
                    <hands>Schellenband</hands>
                </set>
                <set name="FastMP">
                    <!--Fast Cast and Conserve MP gear-->
                    <head>Walahra turban</head>
                    <rear>Loquacious earring</rear>
                    <body>Marduk's Jubbah</body>
                    <hands>Dusk Gloves +1</hands>
                    <waist>Velocious Belt</waist>
                    <legs>Byakko's Haidate</legs>
                    <feet>Dusk Ledelsens +1</feet>
                </set>
                <set name="Buff" baseset="Fast">
                    <!--Skill+ gear-->
                    <head>Demon Helm +1</head>
                    <neck>Wind Torque</neck>
                    <lear>Musical earring</lear>
                    <body>Minstrel's Coat</body>
                    <hands>Chl. Cuffs +1</hands>
                    <lring>Nereid Ring</lring>
                    <rring>Nereid Ring</rring>
                    <waist>Marching Belt</waist>
                    <legs>Aoidos' Rhing. +2</legs>
                    <feet>Oracle's pigaches</feet>
                </set>
                <set name="Debuff" BaseSet="Buff">
                    <!--CHR+, Skill+ gear-->
                    <sub>Reign Grip</sub>
                    <body>Augur's Jaseran</body>
                    <hands>Chl. Cuffs +1</hands>
                    <lring>Omega Ring</lring>
                    <rring>Balrahn's Ring</rring>
                    <back>Jester's cape +1</back>
                    <waist>Aristo Belt</waist>
                    <legs>Marduk's Shalwar</legs>
                    <feet>Aoidos' Cothrn. +2</feet>
                </set>
                <set name="Stoneskin" BaseSet="FastMP">
                    <neck>Stone Gorget</neck>
                    <body>Marduk's Jubbah</body>
                    <hands>Augur's Gloves</hands>
                    <waist>Cascade Belt</waist>
                    <legs>Haven Hose</legs>
                </set>
            </group>
        </sets>
        <variables>
            <!----------------------------------------------------------------------------------------->
            <!--|                                Section 3: Settings                                |-->
            <!----------------------------------------------------------------------------------------->
            <!--|                                  General Options                                  |-->
            <!--|                                  ---------------                                  |-->
            <!--|Options and                       What you can choose              Edit this column|-->
            <!--|descriptions                      from (in brackets)                           |   |-->
            <!--|    |                                     |                                    |   |-->
            <!--|    v                                     v                                    v   |-->
            <!--| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |-->
            <!--|Have a Storm Fife for Salvage?         [Yes/No]-->
            <var name="Storm"          >Yes</var>
            <!--| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --->
            <!--|Divine Seal Confirmation               [On/Off]-->
            <var name="DSConfirm"      >Off</var>
            <!--|  Will force the second button click to prevent                                     -->
            <!--|  accidental usage if you have a macro for this.                                    -->
            <!--|                                                                                    -->
            <!--|Divine Seal Warning /echos             [On/Off]-->
            <var name="DSWarn"          >Off</var>
            <!--|  Displays an echo warning at :30 and :10 to                                        -->
            <!--|  let you know the ability is almost ready again.                                   -->
            <!--| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --->
            <!--|Elemental Seal Confirmation            [On/Off]-->
            <var name="ESConfirm"       >Off</var>
            <!--|  Will force the second button click to prevent                                     -->
            <!--|  accidental usage if you have a macro for this.                                    -->
            <!--|                                                                                    -->
            <!--|Elemental Seal warning /echos          [On/Off]-->
            <var name="ESWarn"         >Off</var>
            <!--|  Displays an echo warning at :30 and :10 to                                        -->
            <!--|  let you know the ability is almost ready again.                                   -->
            <!--| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --->
            <!--|Nightingale warning /echos             [On/Off]-->
            <var name="NightWarn"       >On</var>
            <!--|  Displays an echo warning at :30 and :10 to                                        -->
            <!--|  let you know the ability is almost ready again.                                   -->
            <!--|                                                                                    -->
            <!--|Nightingale merits                [0/1/2/3/4/5]-->
            <var name="NightMerits"      >5</var>
            <!--|  How many merits do you have?                                                      -->
            <!--| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --->
            <!--|Troubadour warning /echos              [On/Off]-->
            <var name="TroubWarn"       >On</var>
            <!--|  Displays an echo warning at :30 and :10 to                                        -->
            <!--|  let you know the ability is almost ready again.                                   -->
            <!--|                                                                                    -->
            <!--|Troubadour merits                 [0/1/2/3/4/5]-->
            <var name="TroubMerits"      >5</var>
            <!--|  How many merits do you have?                                                      -->
            <!--| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --->
            <!--|Double-Up chance check for rolls   [On/Off]-->
            <var name="DoubleCheck"         >Off</var>
            <!--|  Allows you to use a roll macro                                                    -->
            <!--|  to activate Double-Up.                                                            -->
            <!--| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --->
            <!--|Soul Voice Confirmation                [On/Off]-->
            <var name="SoulConfirm"     >Off</var>
            <!--|  Will force the second button click to prevent                                     -->
            <!--|  accidental usage if you have a macro for this.                                    -->
            <!--|                                                                                    -->
            <!--|Soul Voice Warning /echos              [On/Off]-->
            <var name="SoulWarn"        >On</var>
            <!--|  Displays an echo warning at :30 and :10 to                                        -->
            <!--|  let you know when Soul Voice will wear off.                                       -->
            <!----------------------------------------------------------------------------------------->
            <!----------------------------------------------------------------------------------------->
            <!--                                     Instruments                                     -->
            <!--                                     -----------                                     -->
            <!--Set these to what you use. Make sure to set every                                    -->
            <!--one. If you do not have a specific instrument                      Edit this column  -->
            <!--you use, pick a default one to set it to.                              |             -->
            <!--                                                                       v             -->
            <!--|Ballad                          -->
            <var name="Ballad"             >Storm Fife</var>
            <!--|Elegy                           -->
            <var name="Elegy"              >Syrinx</var>
            <!--|Etude                           -->
            <var name="Etude"              >Angel Lyre</var>
            <!--|Finale                          -->
            <var name="Finale"             >Pan's Horn</var>
            <!--|Hymnus                          -->
            <var name="Hymnus" />
            <!--|Lullaby                         -->
            <var name="Lullaby"            >Pan's Horn</var>
            <!--|Madrigal                        -->
            <var name="Madrigal"           >Cantabank's Horn</var>
            <!--|March                           -->
            <var name="March"              >Faerie Piccolo</var>
            <!--|Mambo                           -->
            <var name="Mambo"              >Vihuela</var>
            <!--|Mazurka                         -->
            <var name="Mazurka"            >Vihuela</var>
            <!--|Minne                           -->
            <var name="Minne"              >Syrinx</var>
            <!--|Minuet                          -->
            <var name="Minuet"             >Cornette +1</var>
            <!--|Paeon                           -->
            <var name="Paeon" />
            <!--|Prelude                         -->
            <var name="Prelude"            >Cantabank's Horn</var>
            <!--|Requiem                         -->
            <var name="Requiem"            >Requiem</var>
            <!--|Threnody                        -->
            <var name="Threnody" />
            <!----------------------------------------------------------------------------------------->
            <!----------------------------------------------------------------------------------------->
            <!--                                       Staves                                        -->
            <!--                                       ------                                        -->
            <!--Set these to the NQ/HQ Staves that you own.                                          -->
            <!--If you do not own a certain type of staff,                        Edit this column   -->
            <!--you can just leave it set to whatever.                                |              -->
            <!--                                                                      v              -->
            <!--|Party Buffs                 -->
            <var name="BuffStaff"             >$ElementStaff</var>
            <!--|Fire                        -->
            <var name="FireStaff"             >Vulcan's Staff</var>
            <!--|Earth                       -->
            <var name="EarthStaff"            >Terra's Staff</var>
            <!--|Water                       -->
            <var name="WaterStaff"            >Neptune's Staff</var>
            <!--|Wind                        -->
            <var name="WindStaff"             >Auster's Staff</var>
            <!--|Ice                         -->
            <var name="IceStaff"              >Aquilo's Staff</var>
            <!--|Thunder                     -->
            <var name="ThunderStaff"          >Jupiter's Staff</var>
            <!--|Light                       -->
            <var name="LightStaff"            >Apollo's Staff</var>
            <!--|Darkness                    -->
            <var name="DarkStaff"             >Pluto's Staff</var>
            <!----------------------------------------------------------------------------------------->
            <!----------------------------------------------------------------------------------------->
            <!----------------------------------------------------------------------------------------->
            <!------------------------------------END EDITABLE AREA------------------------------------>
            <!-------------------------------DO NOT EDIT BELOW THIS LINE------------------------------->
            <!----------------------------------------------------------------------------------------->
            <!----------------------------------------------------------------------------------------->
            <var name="LastST">&lt;lastst&gt;</var>
            <var name="Song" />
        </variables>
        <rules>
            <if SubJob="WHM|RDM|SCH">
                <if status="engaged">
                    <equip when="engaged|aftercast" set="Melee" />
                </if>
                <else>
                    <equip when="idle|aftercast" set="Refresh" />
                    <equip when="resting" set="Rest" />
                </else>
            </if>
            <else>
                <if status="engaged">
                    <equip when="engaged|aftercast" set="Melee" />
                </if>
                <else>
                    <equip when="idle|resting|aftercast" set="Evasion" />
                </else>
            </else>
            <if type="CorsairRoll">
                <if Advanced='"$DoubleCheck"="On"' BuffActive="Double-Up Chance">
                    <changespell Spell="Double-Up" />
                </if>
            </if>
            <if Skill="Ninjutsu">
                <equip when="precast" set="FastMP" />
                <equip when="midcast" set="FastMP">
                    <range>$Hymnus</range>
                </equip>
                <if spell="Monomi*">
                    <command when="precast">cancel 71</command>
                </if>
            </if>
            <if skill="EnhancingMagic|HealingMagic|DivineMagic">
                <equip when="precast" set="FastMP" />
                <equip when="precast">
                    <range>$Hymnus</range>
                </equip>
                <if spell="Stoneskin">
                    <equip when="precast" set="FastMP" />
                    <equip when="midcast" set="Stoneskin" />
                    <command when="precast">cancel 37</command>
                    <equip when="precast">
                        <main>$EarthStaff</main>
                    </equip>
                </if>
                <elseif spell="Sneak" SpellTargetType="SELF">
                    <command when="precast">cancel 71</command>
                    <equip when="precast">
                        <main>$WindStaff</main>
                    </equip>
                </elseif>
                <elseif spell="Warp*|Teleport*|Escape">
                    <aftercastdelay delay=".1" />
                </elseif>
                <else>
                    <aftercastdelay delay="3" />
                    <equip when="precast">
                        <main>$%SpellElementStaff</main>
                    </equip>
                </else>
            </if>
            <if spell="Yawn">
                <equip when="precast" set="Latent" />
                <cancelspell />
            </if>
            <if Advanced='"$Song"="Ballad"'>
                <if MlvlLT="85">
                    <changespell Spell="Mage's Ballad II" />
                    <command when="precast">
                        wait 1;input /raw /ma "Mage's Ballad" $LastST
                        </command>
                </if>
                <if MlvlLT="55">
                    <changespell Spell="Mage's Ballad" />
                </if>
                <else>
                    <changespell Spell="Mage's Ballad III" />
                    <command when="precast">
                        wait 1;input /raw /ma "Mage's Ballad II" $LastST
                        </command>
                </else>
                <equip when="precast" set="Fast" />
                <if area="*Remnants|Leujaoam Sanctum|Mamool Ja Training Grounds|Lebros Cavern|Periqia|Ilrusi Atoll|Nyzul Isle" 
                    Advanced='"$Storm"="Yes"'>
                    <equip when="midcast">
                        <range>Storm Fife</range>
                        <legs>Aoidos' Rhing. +2</legs>
                    </equip>
                </if>
                <else>
                    <equip when="midcast">
                        <range>$Ballad</range>
                        <legs>Aoidos' Rhing. +2</legs>
                    </equip>
                </else>
            </if>
            <elseif Advanced='"$Song"="Madrigal"'>
                <if MlvlLT="51">
                    <changespell Spell="Sword Madrigal" />
                </if>
                <else>
                    <changespell Spell="Blade Madrigal" />
                    <command when="precast">
                        wait 1;input /raw /ma "Sword Madrigal" $LastST
                        </command>
                </else>
                <if spellactive="Nightingale">
                    <equip when="precast" set="Fast" />
                    <equip when="precast">
                        <main>$BuffStaff</main>
                        <range>$Madrigal</range>
                    </equip>
                    <midcastdelay delay="3" />
                    <equip when="midcast" set="Buff" />
                </if>
                <else>
                    <equip when="precast" set="Buff" />
                </else>
            </elseif>
            <elseif Advanced='"$Song"="March"'>
                <if MlvlLT="60">
                    <changespell Spell="Advancing March" />
                </if>
                <else>
                    <changespell Spell="Victory March" />
                    <command when="precast">
                        wait 1;input /raw /ma "Advancing March" $LastST
                        </command>
                </else>
                <if spellactive="Nightingale">
                    <equip when="precast" set="Fast" />
                    <equip when="precast">
                        <main>$BuffStaff</main>
                        <range>$Madrigal</range>
                    </equip>
                    <midcastdelay delay="3" />
                    <equip when="midcast" set="Buff" />
                </if>
                <else>
                    <equip when="precast" set="Buff" />
                </else>
            </elseif>
            <elseif Advanced='"$Song"="Mambo"'>
                <if MlvlLT="53">
                    <changespell Spell="Sheepfoe Mambo" />
                </if>
                <else>
                    <changespell Spell="Dragonfoe Mambo" />
                    <command when="precast">
                        wait 1;input /raw /ma "Sheepfoe Mambo" $LastST
                        </command>
                </else>
                <if spellactive="Nightingale">
                    <equip when="precast" set="Fast" />
                    <equip when="precast">
                        <main>$BuffStaff</main>
                        <range>$Madrigal</range>
                    </equip>
                    <midcastdelay delay="3" />
                    <equip when="midcast" set="Buff" />
                </if>
                <else>
                    <equip when="precast" set="Buff" />
                </else>
            </elseif>
            <elseif Advanced='"$Song"="Minne"'>
                <if MlvlLT=80 MlvlGT=60>
                    <changespell Spell="Knight's Minne IV" />
                    <command when="precast">
                        wait 1;input /raw /ma "Knight's Minne III" $LastST
                        </command>
                </if>
                <elseif MlvlLT=61 MlvlGT=40>
                    <changespell Spell="Knight's Minne III" />
                    <command when="precast">
                        wait 1;input /raw /ma "Knight's Minne II" $LastST
                        </command>
                </elseif>
                <elseif MlvlLT=41 MlvlGT=20>
                    <changespell Spell="Knight's Minne II" />
                    <command when="precast">
                        wait 1;input /raw /ma "Knight's Minne" $LastST
                        </command>
                </elseif>
                <elseif MlvlLT=21>
                    <changespell Spell="Knight's Minne" />
                </elseif>
                <else>
                    <changespell Spell="Knight's Minne V" />
                    <command when="precast">
                        wait 1;input /raw /ma "Knight's Minne IV" $LastST
                        </command>
                </else>
                <if spellactive="Nightingale">
                    <equip when="precast" set="Fast" />
                    <equip when="precast">
                        <main>$BuffStaff</main>
                        <range>$Madrigal</range>
                    </equip>
                    <midcastdelay delay="3" />
                    <equip when="midcast" set="Buff" />
                </if>
                <else>
                    <equip when="precast" set="Buff" />
                </else>
            </elseif>
            <elseif Advanced='"$Song"="Minuet"'>
                <if MlvlLT=63 MlvlGT=42>
                    <changespell Spell="Valor Minuet III" />
                    <command when="precast">
                        wait 1;input /raw /ma "Valor Minuet II" $LastST
                        </command>
                </if>
                <elseif MlvlLT=43 MlvlGT=22>
                    <changespell Spell="Valor Minuet II" />
                    <command when="precast">
                        wait 1;input /raw /ma "Valor Minuet" $LastST
                        </command>
                </elseif>
                <elseif MlvlLT=23>
                    <changespell Spell="Valor Minuet" />
                </elseif>
                <else>
                    <changespell Spell="Valor Minuet IV" />
                    <command when="precast">
                        wait 1;input /raw /ma "Valor Minuet III" $LastST
                        </command>
                </else>
                <if spellactive="Nightingale">
                    <equip when="precast" set="Fast" />
                    <equip when="precast">
                        <main>$BuffStaff</main>
                        <range>$Madrigal</range>
                    </equip>
                    <midcastdelay delay="3" />
                    <equip when="midcast" set="Buff" />
                </if>
                <else>
                    <equip when="precast" set="Buff" />
                </else>
            </elseif>
            <elseif Advanced='"$Song"="Paeon"'>
                <if MlvlLT=78 MlvlGT=64>
                    <changespell Spell="Army's Paeon V" />
                    <command when="precast">
                        wait 1;input /raw /ma "Army's Paeon IV" $LastST
                        </command>
                </if>
                <elseif MlvlLT=65 MlvlGT=44>
                    <changespell Spell="Army's Paeon IV" />
                    <command when="precast">
                        wait 1;input /raw /ma "Army's Paeon III" $LastST
                        </command>
                </elseif>
                <elseif MlvlLT=45 MlvlGT=34>
                    <changespell Spell="Army's Paeon III" />
                    <command when="precast">
                        wait 1;input /raw /ma "Army's Paeon II" $LastST
                        </command>
                </elseif>
                <elseif MlvlLT=35 MlvlGT=14>
                    <changespell Spell="Army's Paeon II" />
                    <command when="precast">
                        wait 1;input /raw /ma "Army's Paeon" $LastST
                        </command>
                </elseif>
                <elseif MlvlLT=15>
                    <changespell Spell="Army's Paeon" />
                </elseif>
                <else>
                    <changespell Spell="Army's Paeon VI" />
                    <command when="precast">
                        wait 1;input /raw /ma "Army's Paeon V" $LastST
                        </command>
                </else>
                <equip when="precast" set="Fast" />
                <equip when="precast">
                    <range>$Paeon</range>
                </equip>
            </elseif>
            <elseif Advanced='"$Song"="Elegy"'>
                <if MlvlLT="59">
                    <changespell Spell="Battlefield Elegy" />
                </if>
                <else>
                    <changespell Spell="Carnage Elegy" />
                    <command when="precast">
                        wait 1;input /raw /ma "Battlefield Elegy" $LastST
                        </command>
                </else>
                <equip when="precast" set="Debuff" />
                <equip when="precast">
                    <main>$%SpellElementStaff</main>
                    <sub>Reign Grip</sub>
                    <range>$Elegy</range>
                </equip>
            </elseif>
            <elseif Advanced='"$Song"="Requiem"'>
                <if MlvlLT=76 MlvlGT=66>
                    <changespell Spell="Foe Requiem VI" />
                    <command when="precast">
                        wait 1;input /raw /ma "Foe Requiem V" $LastST
                        </command>
                </if>
                <elseif MlvlLT=67 MlvlGT=56>
                    <changespell Spell="Foe Requiem V" />
                    <command when="precast">
                        wait 1;input /raw /ma "Foe Requiem IV" $LastST
                        </command>
                </elseif>
                <elseif MlvlLT=57 MlvlGT=46>
                    <changespell Spell="Foe Requiem IV" />
                    <command when="precast">
                        wait 1;input /raw /ma "Foe Requiem III" $LastST
                        </command>
                </elseif>
                <elseif MlvlLT=47 MlvlGT=36>
                    <changespell Spell="Foe Requiem III" />
                    <command when="precast">
                        wait 1;input /raw /ma "Foe Requiem II" $LastST
                        </command>
                </elseif>
                <elseif MlvlLT=37 MlvlGT=16>
                    <changespell Spell="Foe Requiem II" />
                    <command when="precast">
                        wait 1;input /raw /ma "Foe Requiem" $LastST
                        </command>
                </elseif>
                <elseif MlvlLT=17 MlvlGT=6>
                    <changespell Spell="Foe Requiem" />
                </elseif>
                <else>
                    <changespell Spell="Foe Requiem VII" />
                    <command when="precast">
                        wait 1;input /raw /ma "Foe Requiem VI" $LastST
                        </command>
                </else>
                <equip when="precast" set="Debuff" />
                <equip when="precast">
                    <main>$%SpellElementStaff</main>
                    <sub>Reign Grip</sub>
                    <range>$Requiem</range>
                </equip>
            </elseif>
            <elseif Advanced='"$Song"="Lullaby"'>
                <if MlvlLT="83">
                    <changespell Spell="Foe Lullaby" />
                </if>
                <else>
                    <changespell Spell="Foe Lullaby II" />
                    <command when="precast">
                        wait 1;input /raw /ma "Foe Lullaby" $LastST
                        </command>
                </else>
                <equip when="precast" set="Debuff" />
                <equip when="precast">
                    <main>$%SpellElementStaff</main>
                    <sub>Reign Grip</sub>
                    <range>$Lullaby </range>
                </equip>
            </elseif>
            <elseif spell="Horde Lullaby">
                <equip when="precast" set="Debuff" />
                <equip when="precast">
                    <main>$%SpellElementStaff</main>
                    <sub>Reign Grip</sub>
                    <range>$Lullaby</range>
                </equip>
            </elseif>
            <elseif spell="* Etude">
                <equip when="precast" set="Buff" />
                <equip when="precast">
                    <main>$BuffStaff</main>
                    <range>$Etude</range>
                </equip>
            </elseif>
            <elseif spell="* Prelude">
                <equip when="precast" set="Buff" />
                <equip when="precast">
                    <main>$BuffStaff</main>
                    <range>$Prelude</range>
                </equip>
            </elseif>
            <elseif spell="* Mazurka">
                <equip when="precast" set="Fast" />
                <equip when="precast">
                    <range>$Mazurka</range>
                </equip>
            </elseif>
            <elseif spell="* Hymnus">
                <equip when="precast" set="Fast" />
                <equip when="precast">
                    <range>$Hymnus</range>
                </equip>
            </elseif>
            <elseif spell="Magic Finale">
                <equip when="precast" set="Debuff" />
                <equip when="precast">
                    <main>$%SpellElementStaff</main>
                    <sub>Reign Grip</sub>
                    <range>$Finale</range>
                </equip>
            </elseif>
            <elseif spell="* Threnody">
                <equip when="precast" set="Debuff" />
                <equip when="precast">
                    <main>$%SpellElementStaff</main>
                    <range>$Threnody</range>
                </equip>
            </elseif>
            <elseif spell="Nightingale" Advanced='"$NightWarn"="On"'>
                <if Advanced='"$NightMerits"="1"'>
                    <command when="precast">
                        wait 1170;input /echo === Nightingale ready in 0:30 ===
                        </command>
                    <command when="precast">
                        wait 1190;input /echo === Nightingale ready in 0:10 ===
                        </command>
                </if>
                <elseif Advanced='"$NightMerits"="2"'>
                    <command when="precast">
                        wait 1020;input /echo === Nightingale ready in 0:30 ===
                        </command>
                    <command when="precast">
                        wait 1040;input /echo === Nightingale ready in 0:10 ===
                        </command>
                </elseif>
                <elseif Advanced='"$NightMerits"="3"'>
                    <command when="precast">
                        wait 870;input /echo === Nightingale ready in 0:30 ===
                        </command>
                    <command when="precast">
                        wait 890;input /echo === Nightingale ready in 0:10 ===
                        </command>
                </elseif>
                <elseif Advanced='"$NightMerits"="4"'>
                    <command when="precast">
                        wait 720;input /echo === Nightingale ready in 0:30 ===
                        </command>
                    <command when="precast">
                        wait 740;input /echo === Nightingale ready in 0:10 ===
                        </command>
                </elseif>
                <elseif Advanced='"$NightMerits"="5"'>
                    <command when="precast">
                        wait 570;input /echo === Nightingale ready in 0:30 ===
                        </command>
                    <command when="precast">
                        wait 590;input /echo === Nightingale ready in 0:10 ===
                        </command>
                </elseif>
            </elseif>
            <elseif spell="Troubadour" Advanced='"$TroubWarn"="On"'>
                <if Advanced='"$TroubMerits"="1"'>
                    <command when="precast">
                        wait 1170;input /echo === Troubadour ready in 0:30 ===
                        </command>
                    <command when="precast">
                        wait 1190;input /echo === Troubadour ready in 0:10 ===
                        </command>
                </if>
                <elseif Advanced='"$TroubMerits"="2"'>
                    <command when="precast">
                        wait 1020;input /echo === Troubadour ready in 0:30 ===
                        </command>
                    <command when="precast">
                        wait 1040;input /echo === Troubadour ready in 0:10 ===
                        </command>
                </elseif>
                <elseif Advanced='"$TroubMerits"="3"'>
                    <command when="precast">
                        wait 870;input /echo === Troubadour ready in 0:30 ===
                        </command>
                    <command when="precast">
                        wait 890;input /echo === Troubadour ready in 0:10 ===
                        </command>
                </elseif>
                <elseif Advanced='"$TroubMerits"="4"'>
                    <command when="precast">
                        wait 720;input /echo === Troubadour ready in 0:30 ===
                        </command>
                    <command when="precast">
                        wait 740;input /echo === Troubadour ready in 0:10 ===
                        </command>
                </elseif>
                <elseif Advanced='"$TroubMerits"="5"'>
                    <command when="precast">
                        wait 570;input /echo === Troubadour ready in 0:30 ===
                        </command>
                    <command when="precast">
                        wait 590;input /echo === Troubadour ready in 0:10 ===
                        </command>
                </elseif>
            </elseif>
            <elseif spell="Elemental Seal">
                <if Advanced='"$ESConfirm"="On"'>
                    <defaulttarget Target="&lt;stpc&gt;" />
                </if>
                <if Advanced='"$ESWarn"="On"'>
                    <command when="precast">
                        wait 570;input /echo === Elemental Seal ready in 0:30 ===
                        </command>
                    <command when="precast">
                        wait 590;input /echo === Elemental Seal ready in 0:10 ===
                        </command>
                </if>
            </elseif>
            <elseif spell="Divine Seal">
                <if Advanced='"$DSConfirm"="On"'>
                    <defaulttarget Target="&lt;stpc&gt;" />
                </if>
                <if Advanced='"$DSWarn"="On"'>
                    <command when="precast">
                        wait 570;input /echo === Divine Seal ready in 0:30 ===
                        </command>
                    <command when="precast">
                        wait 590;input /echo === Divine Seal ready in 0:10 ===
                        </command>
                </if>
            </elseif>
            <elseif Spell="Soul Voice">
                <if Advanced='"$SoulConfirm"="On"'>
                    <defaulttarget Target="&lt;stpc&gt;" />
                </if>
                <if Advanced='"$SoulWarn"="On"'>
                    <command when="precast">
                        wait 59;input /echo === Soul Voice off in 2:00 ===
                        </command>
                    <command when="precast">
                        wait 119;input /echo === Soul Voice off in 1:00 ===
                        </command>
                    <command when="precast">
                        wait 149;input /echo === Soul Voice off in 0:30 ===
                        </command>
                    <command when="precast">
                        wait 164;input /echo === Soul Voice off in 0:15 ===
                        </command>
                    <command when="precast">
                        wait 174;input /echo === Soul Voice off in 0:05 ===
                        </command>
                </if>
            </elseif>
        </rules>
    </spellcast>


    There was a line that said <elseif spell="holy"> but nothing after that. Try this now.

  18. #1778
    Salvage Bans
    Join Date
    Mar 2010
    Posts
    769
    BG Level
    5
    FFXI Server
    Leviathan

    Works perfect, thanks a bunch.

    Edit: ok the file works but the spellcast itself sucks maybe I should have looked into it before hand. :/

  19. #1779
    Cerberus
    Join Date
    Jun 2010
    Posts
    461
    BG Level
    4

    I know this isnt exactly SpellCast related but since it is XML related and didnt know if I should post it here or in general questions I picked here.
    I just want AutoExec to auto equip ninja kyahan feet at night and iga+1 during the day.
    For some reason I cant get it to work
    Any help would be wonderful

    Code:
    <autoexec>
    <register event="jobchange_nin/*" silent="false">autoexec register 12345 "time_7.*|time_8.*|time_10.*|time_12.*|time_14.*|time_16.*" input /equip feet "Iga Kyahan +1"; input /echo ------------------------------------------------------------ AutoExec DAY feet Active !;autoexec register 12346 "time_17.*|time_18.*|time_19.*|time_20.*|time_21.*|time_22.*|time_23.*|time_0.*|time_1.*|time_2.*|time_3.*|time_4.*|time_5.*|time_6.*" input /equip feet "Ninja Kyahan"; input /echo ------------------------------------------------------------ AutoExec NIGHT feet Active !;</register>
    <register event="(regex)jobchange_(?!NIN).*(/regex)" silent="false">autoexec unregister 12345;autoexec unregister 12346; input /echo ------------------------------------------------------------ AutoExec No Longer Active !</register>
    </autoexec>
    That is the code, any help would be awesome. the many "dashes" are part of a /echo so I know that autoexec ran the command.

    I assume autoexec will execute and commands as soon as I load it in windower?
    I tried testing by loading plugin and waiting to see if feet would equip, i made sure to not have any feet equiped before even loading the plugin.

    Thank you.

  20. #1780
    Cerberus
    Join Date
    Feb 2006
    Posts
    456
    BG Level
    4

    Quote Originally Posted by Yugl View Post
    Yes. Techno's include xml has variables for staffs and obis.
    I know it's kinda necro but, i'm trying to use variables with includes, are they past from job xml to include or do I have to create in the include?

    I think I've figured it out, problem was with the setting of built in variables

Page 89 of 328 FirstFirst ... 39 79 87 88 89 90 91 99 139 ... LastLast

Similar Threads

  1. Spellcast Shop Thread
    By Yugl in forum FFXI: Everything
    Replies: 232
    Last Post: 2014-03-18, 04:47
  2. time spent on ls events, helping friends and your own time
    By freewind in forum FFXI: Everything
    Replies: 6
    Last Post: 2005-09-06, 16:42