Close
Showing results 1 to 4 of 4
  1. #1

    Default macro to check for buff

    Hello all,

    This is my first actual post but I've been lurking the forums reading all your valuable info for a while.

    I need a little help with macros. I looked and looked for an answer to my question but I couldn't find it. Anyway, I remember seeing somewhere, either in a post or in a guide on the wiki. how to make a macro check for a buff on the player first but I can't for the life of me find it now.

    Basically, I'd like to be able to check for certain buffs first before the macro does anything else. One example would be to make a macro for my priest in my 3-box party to buff each member without having to click on them first. Basically, one macro that I can bind to a key and spam until the whole party is buffed up. Anything like that?

    If someone could just tell me how to make a macro check for a buff on someone that would be awesome.


    Thanks,

    MustacheFart

  2. #2

    Default

    something like
    Code:
    /run for i=1,40 do local B=UnitBuff("target",i); if B then print(i.."="..B) end end
    can be done to print out the name of all the buff on the target. The bad part is blizzard has pretty much removed all functionality, from the macro side of the house, to do anything useful with this information. In short you can not cast anything based on ingame logic controls, or tests. You can however write or use an existing addon that can modify a button on the fly that will provide this functionality. Check out something like SmartBuff on the addon site of your chosing.

  3. #3

    Default

    Well another idea I had which is pretty stupid but basically, I wanted a macro that says one of two things depending on if I'm mounted before using mount. So basically: Unmounted - I hit key-bind for macro, character says one thing, and then calls out mount; and Mounted - I hit key-bind for same macro, character says different thing, and then puts away mount. Wait a minute, isn't the a conditional for checking if someone is mounted like [ismounted] or something? Would that work in a /say command?

  4. #4

    Default

    ...as for the hole 'buffing' thing, I would simply use the addon SmartBuff, which handels most of the buffing for you...
    OLIPCS - ordinary life is pretty complex stuff
    ----------------------------------------------------------------
    Pala, Priest, Druid, Hunter, Mage
    Focusless Targetless Leaderless - Wiki
    HotKeyNet - Guide

Similar Threads

  1. Buff check before casting (Heroism/bloodlust)
    By Fuzzyboy in forum Macros and Addons
    Replies: 4
    Last Post: 11-23-2008, 06:24 AM
  2. party buff with one macro?
    By warzer in forum New Multi-Boxers & Support
    Replies: 3
    Last Post: 09-05-2008, 12:25 PM
  3. Buff Macro?
    By Coke in forum Macros and Addons
    Replies: 14
    Last Post: 07-13-2008, 09:06 PM
  4. Macro to buff myself with AI, then secondary
    By ChadDa3mon in forum Macros and Addons
    Replies: 2
    Last Post: 12-09-2007, 05:45 PM
  5. pally buff macro
    By Garm in forum Macros and Addons
    Replies: 4
    Last Post: 09-19-2007, 11:00 AM

Posting Rules

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