Beta Key Giveaway Week 3: Winners have been selected!

Thread: Pennant macro

  1. #1

    Pennant macro

    Hello wise people

    I'd like to have a macro for my pennants.
    http://www.wowhead.com/search?q=pennant

    What I want is when I press it to activate first the Esteemed, then if in cooldown the elite, then the Prestigious and lastly the Honorable.



    Enlight me

    Thanks

    If you're quiting send me your gold.
    For The AllianceFor The Horde

  2. #2
    This would simply be a /usetoy macro. If it can be used it will use it first and the next one after. Obviously if you spam the command it will try place all of them.

    /usetoy "toyname"
    /usetoy "toy2name"

  3. #3
    Thanks mister

    - - - Updated - - -

    Quote Originally Posted by Siversmith View Post
    This would simply be a /usetoy macro. If it can be used it will use it first and the next one after. Obviously if you spam the command it will try place all of them.

    /usetoy "toyname"
    /usetoy "toy2name"
    I tried this and it activated all the pennants at once. :|

    If you're quiting send me your gold.
    For The AllianceFor The Horde

  4. #4
    The Lightbringer Nnyco's Avatar
    Join Date
    Oct 2011
    Location
    Haomarush
    Posts
    3,400
    /castsequence toy1, toy2, toy3... should work
    Last edited by Nnyco; 2018-07-12 at 05:55 PM.
    Originally Posted by Blizzard Entertainment
    Crabs have been removed from the game... because if I see another one I’m just going to totally lose it. *sobbing* I’m sorry, I just can’t right now... I just... OK just give me a minute, I’ll be OK..

  5. #5
    Quote Originally Posted by Nnyco View Post
    /castsequence toy1, toy2, toy3... should work
    This?
    /castsequence Esteemed Pennant, Prestigious Pennant, Elite Pennant, Honorable Pennant

    it just cast esteemed and then says it's recharging

    If you're quiting send me your gold.
    For The AllianceFor The Horde

  6. #6
    /run local m=GetMouseButtonClicked(), if m=="RightButton" then C_ToyBox.GetToyFromIndex(1) elseif m=="LeftButton" then C_ToyBox.GetToyFromIndex(2)else C_ToyBox.GetToyFromIndex(3) end

    I'm not logged in but that should do it.

    1. GetMouseButtonClicked can also be "MiddleButton" but we don't need to specify that.
    2. Change the index of GetToyFromIndex to the pennants. So if the first pennant is the 75th toy in your toybox, I think it should be 75. OR you could ONLY favorite your pennants and leave it as 1,2,3.

    You can throw an IsModifierKeyDown() conditional in the macro to make it choose between even more toys.

    If you want to do 4 pennants you might do something like this:

    /run C_ToyBox.GetToyFromIndex(IsShiftKeyDown()and 2 or IsControlKeyDown()and 3 or IsAltKeyDown()and 4 or 1)

    Here, you change numbers 1,2,3,4 to the pennants index in the toybox, or favorite ONLY the 4 pennants.

    These ideas are used for profession macros, simply applied to the toybox. Unfortunately, while there is a function called GetTradeSkillCooldown() for professions, there is no similar cooldown checker for toys, otherwise we could check the cooldowns on the 4 pennants.
    Last edited by Kokolums; 2018-07-14 at 11:58 PM.
    22/36 mage towers: 2/3 warrior (prot, fury), 1/3 mage (fire), 2/3 priest (disc, shadow), 2/3 hunter (BM, surv), 2/3 paladin (prot, ret), 2/3 shaman (enhance, ele), 2/3 druid (guardian, feral), 3/3 warlock, 2/2 demon hunter, 2/3 death knight (frost, unholy), 1/3 monk (ww), 1/3 rogue (outlaw)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •