1. #1

    Help with Macro.

    I'm trying to make a macro that does the following:
    - If I'm in a group and NOT targeting anybody, then cast Gift of the Wild.
    - If I target someone while in a party/raid, or when I'm solo, then use Mark of the Wild.

    I'm trying:

    /cast [grouparty, notarget] Gift of the Wild, Mark of the Wild

    /cast [@player][@target] Mark of the Wild; Gift of the Wild

    and none of them works. Any thoughts?
    Thanks

  2. #2
    /cast [grouparty,noexists]Gift of the Wild;[exists]Mark of the Wild;


    that should do the trick. (noexists is basically the same thing as your notarget, only it checks to see whether your "target" doesn't exist.

    macroexplain.com:
    If you are in a party and the currently targeted unit does not exist then:
    Cast Gift of the Wild on the currently targeted unit

    Else, if the currently targeted unit exists then:
    Cast Mark of the Wild on the currently targeted unit

    Otherwise:?
    Cast nothing on the currently targeted uni

  3. #3
    I don't know why I didn't think about the "exists" conditional. Really appreciated

  4. #4
    Some of the stuff is extra and doesn't serve a purpose.
    /cast [group,noexists]Gift of the Wild;Mark of the Wild

    Gershuun @ Borean Tundra US - Interface & Macros Moderator

Posting Permissions

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