Item Search
     
BG-Wiki Search
Page 242 of 328 FirstFirst ... 192 232 240 241 242 243 244 252 292 ... LastLast
Results 4821 to 4840 of 6548
  1. #4821
    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

    1) That would require you to hit a button (Or some action)
    2) I think the [when="aftercast"] part needs to be removed if you decide to use a trigger spell

    With AutoExec:
    <register silent="true" event="(regex)tp_[0-2][0-9](/regex)">input /magic "Thundaja"</register>

    Add this spellcast rule:
    <if Spell="Thundaja">
    <cancelspell />
    <if BuffActive="Haste">
    <equip>
    <sub>Thokcha</sub>
    </equip>
    </if>
    <else>
    <equip>
    <sub>Onyo's Knife</sub>
    </equip>
    </else>
    </if>

  2. #4822
    Banned.

    Join Date
    Jan 2010
    Posts
    1,205
    BG Level
    6

    Thanks! Is there a way to make it so that autoexec will only work if I'm on DNC NIN and THF or will it spam my game on every job?

  3. #4823
    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

    I've never done this, but...

    <register event="jobchange_???/*">ae unregister 3</register>
    <register event="jobchange_dnc/*|jobchange_nin/*|jobchange_thf/*">ae register 3</register>
    <register ID="3" silent="true" event="(regex)tp_[0-2][0-9](/regex)">input /magic "Thundaja"</register>

    I think that would work. The first line unregistered the third line. The second line registers the third line. The third line does the action.

    I personally prefer spellcast, but that would require action on your part to trigger the equipment change.

  4. #4824
    Banned.

    Join Date
    Jan 2010
    Posts
    1,205
    BG Level
    6

    Thanks ^-^ Will test in a few hours! Legion atm :Q

  5. #4825
    E. Body
    Join Date
    Nov 2008
    Posts
    2,048
    BG Level
    7
    FFXI Server
    Bismarck

    im skilling up my enhancing magic, and looking for a way to check for refresh and skillup food, and if the buff/food isnt active, to cast it or eat it when needed. here is my current code
    Code:
    <!--- Enhancing Magic Skill-Up Segment --->
                        <elseif spell="Barfire" >
                                <!--- Check if /Heal Break is active --->
                                <if advanced='"$SkillUp" == "1"'>
                                        <!--- Fix the SkillCycle varaible in case the SMN SKILL Segment boinked it --->
                                        <if advanced='"$SkillCycle" == "6|7|8|9"'>
                                                <action type="var" cmd="set SkillCycle 1" />
                                                <action type="command" when="aftercast">wait 4;input /ma "Barfire"</action>
                                                <action type="cancelspell"/>
                                        </if>
                                        <!--- Check if your MP is low --->
                                        <if Mode="OR" NOTMPGT="100" MP="100">
                                                <if notspell="blink">
                                                        <action type="command" when="precast">input /heal on;wait $RestTime4Protect;input /heal off;wait 2;input /ma "Barfire"</action>
                                                        <action type="cancelspell"/>
                                                </if>
                                                <else>
                                                        <action type="command" when="aftercast">input /heal on;wait $RestTime4Protect;input /heal off;wait 2;input /ma "Barfire"</action>
                                                </else>
                                        </if>
                                        <!--- Enhancing Skill Cycling --->
                                        <elseif advanced='"$SkillCycle" == "1"'>
                                                <action type="command" when="aftercast">wait 4;input /ma "Barfire"</action>
                                                <action type="var" cmd="set SkillCycle 2" />
                                                <action type="changespell" spell="Barfire" />
                                                <action type="Changetarget" target="&lt;me&gt;"/>
                                        </elseif>
                                        <elseif advanced='"$SkillCycle" == "2"'>
                                                <action type="command" when="aftercast">wait 4;input /ma "Barfire"</action>
                                                <action type="var" cmd="set SkillCycle 3" />
                                                <action type="changespell" spell="Barstone" />
                                                <action type="Changetarget" target="&lt;me&gt;"/>
                                        </elseif>
                                        <elseif advanced='"$SkillCycle" == "3"'>
                                                <action type="command" when="aftercast">wait 4;input /ma "Barfire"</action>
                                                <action type="var" cmd="set SkillCycle 4" />
                                                <action type="changespell" spell="Barwater" />
                                                <action type="Changetarget" target="&lt;me&gt;"/>
                                        </elseif>
                                        <elseif advanced='"$SkillCycle" == "4"'>
                                                <action type="command" when="aftercast">wait 4;input /ma "Barfire"</action>
                                                <action type="var" cmd="set SkillCycle 5" />
                                                <action type="changespell" spell="Barblizzard" />
                                                <action type="Changetarget" target="&lt;me&gt;"/>
                                        </elseif>
    									<elseif advanced='"$SkillCycle" == "5"'>
                                                <action type="command" when="aftercast">wait 4;input /ma "Barfire"</action>
                                                <action type="var" cmd="set SkillCycle 1" />
                                                <action type="changespell" spell="Baraero" />
                                                <action type="Changetarget" target="&lt;me&gt;"/>
                                        </elseif>
                                </if>
                        </elseif>

  6. #4826
    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

    <If notBuffactive="Food">
    <if notBuffactive="Refresh">

  7. #4827
    E. Body
    Join Date
    Nov 2008
    Posts
    2,048
    BG Level
    7
    FFXI Server
    Bismarck

    Quote Originally Posted by Yugl View Post
    <If notBuffactive="Food">
    <if notBuffactive="Refresh">
    anywhere specific? and would the food be <if notBuffactive="Seafood Pitaru"]?

  8. #4828
    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

    Food is just food; the game buff doesn't distinguish the type of food.

    Looks like your script is activated via Barfire and uses an <elseif>, so why not do...

    <if Spell="Barfire" NotBuffactive="Food|Refresh">
    <if notBuffactive="Refresh">
    <changespell spell="Refresh" />
    <command when="aftercast">Barfire</command>
    </if>
    <elseif notBuffactive="Food">
    <cancelspell />
    <command>input /item "NameOfFoodHere" &lt;me&gt;;wait 5;barfire</command>
    </elseif>
    </if>

  9. #4829
    E. Body
    Join Date
    Nov 2008
    Posts
    2,048
    BG Level
    7
    FFXI Server
    Bismarck

    ::edit::
    what you had i couldn't get to work. altered it a bit, and got a partial fix. it will cast refresh only when food isnt active. once food wears off it will cast refresh

    Code:
    <!--- Enhancing Magic Skill-Up Segment --->
                        <elseif spell="Barfire" >
                                <!--- Check if /Heal Break is active --->
                                <if advanced='"$SkillUp" == "1"'>
                                        <!--- Fix the SkillCycle varaible in case the SMN SKILL Segment boinked it --->
                                        <if advanced='"$SkillCycle" == "6|7|8|9"'>
                                                <action type="var" cmd="set SkillCycle 1" />
                                                <action type="command" when="aftercast">wait 4;input /ma "Barfire"</action>
                                                <action type="cancelspell"/>
                                        </if>
                                        <!--- Check if your MP is low --->
                                        <if Mode="OR" NOTMPGT="100" MP="100">
                                                <if notspell="blink">
                                                        <action type="command" when="precast">input /heal on;wait $RestTime4Protect;input /heal off;wait 2;input /ma "Barfire"</action>
                                                        <action type="cancelspell"/>
                                                </if>
                                                <else>
                                                        <action type="command" when="aftercast">input /heal on;wait $RestTime4Protect;input /heal off;wait 2;input /ma "Barfire"</action>
                                                </else>
                                    </if>
    									<if Spell="Barfire" NotBuffactive="Food|Refresh">
    										<if notBuffactive="Refresh">
    											<changespell spell="Refresh" />
    											<command when="aftercast">wait 6;input /ma "Barfire"</command>
    										</if>
    										<elseif notBuffactive="Food">
    											<cancelspell />
    											<command>input /item "B.E.W. Pitaru" &lt;me&gt;;wait 5;input /ma "Barfire</command>
    										</elseif>
    								</if> 
                                        <!--- Enhancing Skill Cycling --->

  10. #4830
    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

    I would have put that before the <elseif spell="Barfire">; that way, you change spell to Refresh.

  11. #4831
    E. Body
    Join Date
    Nov 2008
    Posts
    2,048
    BG Level
    7
    FFXI Server
    Bismarck

    Quote Originally Posted by Yugl View Post
    I would have put that before the <elseif spell="Barfire">; that way, you change spell to Refresh.
    didnt work there either. and i was incorrect. as posted above, it will keep food on, but not attempt refresh

  12. #4832
    Banned.

    Join Date
    Jan 2010
    Posts
    1,205
    BG Level
    6

    Quote Originally Posted by Yugl View Post
    I've never done this, but...

    <register event="jobchange_???/*">ae unregister 3</register>
    <register event="jobchange_dnc/*|jobchange_nin/*|jobchange_thf/*">ae register 3</register>
    <register ID="3" silent="true" event="(regex)tp_[0-2][0-9](/regex)">input /magic "Thundaja"</register>

    I think that would work. The first line unregistered the third line. The second line registers the third line. The third line does the action.

    I personally prefer spellcast, but that would require action on your part to trigger the equipment change.
    Doesn't work, breaks gear swaps for some odd reason. I'll change to WS gear to WS, then it'll stay in WS gear forever and never swap back to TP gear.

  13. #4833
    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

    Stick with the spellcast method then. I can't test the autoexec method atm.

  14. #4834
    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 Snprphnx View Post
    didnt work there either. and i was incorrect. as posted above, it will keep food on, but not attempt refresh
    In that case, you could just copy the food line and see if that works.

    <if Spell="Barfire" NotBuffactive="Food|Refresh">
    <if notBuffactive="Refresh">
    <cancelspell />
    <command>input /item "Refresh" &lt;me&gt;;wait 5;barfire</command>
    </if>
    <elseif notBuffactive="Food">
    <cancelspell />
    <command>input /item "NameOfFoodHere" &lt;me&gt;;wait 5;barfire</command>
    </elseif>
    </if>

  15. #4835
    Banned.

    Join Date
    Jan 2010
    Posts
    1,205
    BG Level
    6

    How do I make the SC method work? It wasnt working when I tried, I gain tp so fast I don't have time to use an action before I gain 30% tp lol x_x Feels easier to just swap manually with 2 macros. Code for it might've been wrong too though.

  16. #4836
    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

    <if TPLT="30">
    <if Buffactive="Haste">
    <equip when="aftercast">
    <sub>Thokcha</sub>
    </equip>
    <else>
    <equip when="aftercast">
    <sub>Onyo's Knife</sub>
    </equip>
    </else>
    </if>
    </if>

  17. #4837
    Banned.

    Join Date
    Jan 2010
    Posts
    1,205
    BG Level
    6

    Thanks!

  18. #4838
    E. Body
    Join Date
    Nov 2008
    Posts
    2,048
    BG Level
    7
    FFXI Server
    Bismarck

    Quote Originally Posted by Yugl View Post
    In that case, you could just copy the food line and see if that works.

    <if Spell="Barfire" NotBuffactive="Food|Refresh">
    <if notBuffactive="Refresh">
    <cancelspell />
    <command>input /item "Refresh" &lt;me&gt;;wait 5;barfire</command>
    </if>
    <elseif notBuffactive="Food">
    <cancelspell />
    <command>input /item "NameOfFoodHere" &lt;me&gt;;wait 5;barfire</command>
    </elseif>
    </if>
    nope. that prevents barfire from being casted unless i have refresh buff on

  19. #4839
    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

    Isn't that what you want?

  20. #4840
    E. Body
    Join Date
    Nov 2008
    Posts
    2,048
    BG Level
    7
    FFXI Server
    Bismarck

    no, i mean i hit barfire and nothing happens. i have to manually cast refresh, then the script will start, but will stop whenever the buff wears off.

Page 242 of 328 FirstFirst ... 192 232 240 241 242 243 244 252 292 ... 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