1. #1

    How to make a long macro short?

    Hi there. I have this macro and I want to expand it a bit and add "target=focus" but it's too long and won't fit in the 255 limit.

    Code:
    #showtooltip
    /cast [stance:0] Soothe
    /cast [stance:1] Feral Charge (Bear Form)
    /cast [stance:3] Feral Charge (Cat Form)

    What I want it to do is something like this:

    Code:
    #showtooltip
    /cast [stance:0, nomod] Soothe
    /cast [stance:0, mod:shift, target=focus] Soothe
    /cast [stance:1, nomod] Feral Charge (Bear Form)
    /cast [stance:1, mod:shift, target=focus] Feral Charge (Bear Form)
    /cast [stance:3, nomod] Feral Charge (Cat Form)
    /cast [stance:3, mod:shift, target=focus] Feral Charge (Cat Form)

    But the above macro doesn't fit, how can I make it shorter?

    p.s.: oh and I can't make separate macros because I have no more space on my changing bar.

  2. #2
    First off you can remove the nomod from your macro. The game assumes that if you dont put a modifier it will be just pressing the button.

    I cant test it right now, but I think you can combine the first two lines something like this

    Code:
    /cast [stance:0] Soothe; [stance:0, mod:shift, @focus] Soothe
    /cast [stance:1] Feral Charge (Bear Form); [stance:1, mod:shift, @focus] Feral Charge (Bear Form)
    etc...

    edit: added code tag
    Last edited by Treebagged; 2011-12-23 at 09:24 AM.

  3. #3
    Another thing you might want to consider is this:
    /cast [stance:1,@mouseover][stance:1] Feral Charge (Bear Form)

    First it gives you more flexibility with your charging and it reduces the need for modifiers. I use something similar with x-Perl, which is configured to display a unit frame for my focused target. All I have to do is mouseover that frame to charge the focus. If you also use TidyPlates, it makes it easy to charge any mob in a pack that decides to go for someone else.
    Last edited by Aliessil; 2011-12-23 at 09:32 AM. Reason: Typo

  4. #4
    Deleted
    Code:
    #showtooltip
    /use [stance:0,mod:shift,@focus]Soothe;[stance:0]Soothe
    /use [stance:1,mod:shift,@focus]Feral Charge (Bear Form);[stance:1]Feral Charge (Bear Form)
    /use [stance:3,mod:shift,@focus]Feral Charge (Cat Form);[stance:3]Feral Charge (Cat Form)
    This is 253 chars and might work (haven't tested in-game and not sure you can remove all the white space like that)

    You always want to put the complex condition first because commands are evaluated serially,
    ie the first line will first try to evaluate if you are in human form, pressing shift and have a focus then cast Soothe at focus, else will cast Soothe at your target.

    A better solution is probably to look at Super Duper Macro or ImpliedTarget or Macaroon!

  5. #5
    The Insane Aquamonkey's Avatar
    10+ Year Old Account
    Join Date
    Jul 2011
    Location
    Universe
    Posts
    18,149
    Quote Originally Posted by Drii View Post
    Code:
    #showtooltip
    /use [stance:0,mod:shift,@focus][stance:0]Soothe
    /use [stance:1,mod:shift,@focus][stance:1]Feral Charge (Bear Form)
    /use [stance:3,mod:shift,@focus][stance:3]Feral Charge (Cat Form)
    Fixed.
    /10char

  6. #6
    Scarab Lord
    15+ Year Old Account
    Join Date
    Aug 2008
    Location
    Texas
    Posts
    4,040
    Code:
    #showtooltip
    /cast [stance:0,mod:shift,@focus][stance:0]Soothe;[stance:1,mod:shift,@focus][stance:1]Feral Charge (Bear Form);[stance:3,mod:shift,@focus][stance:3] Feral Charge (Cat Form)
    187 characters, all as one command. ;-)

  7. #7
    Deleted
    Code:
    #showtooltip
    /cast [form:1,mod:shift,@focus][form:1]Feral Charge (Bear Form); [form:3,mod:shift,@focus][form:3]Feral Charge (Cat Form); [mod:shift,@focus][]Soothe
    163. What do I win now?

  8. #8
    Code:
    #showtooltip
    /cast [form:1,mod:shift,@focus][form:1]Feral Charge;[form:3,mod:shift,@focus][form:3]Feral Charge (Cat Form);[mod:shift,@focus][]Soothe
    148 characters.

    Gershuun @ Borean Tundra US - Interface & Macros Moderator

  9. #9
    Deleted
    >.>

    Didn't bother to check with Feral Charge was earlier in the spellbook (or removing spaces).

  10. #10
    Deleted
    very nice macros

Posting Permissions

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