1. #1

    Say two things with the same macro

    So, I want to use a macro to say separate things with separate presses.

    More specifically, this is what I wish to do.

    When I use Flying Serpent Kick, initially I want to say, "Angry crow takes flight!"
    Then, when I wish to perform the second part by pressing the button again I want to say, "Monkey lands on mountaintop!"

    I guess I'm just wondering if this is possible, and if it is, how would I do it?

  2. #2
    You will need two buttons for that.

  3. #3
    /cast Flying Serpent Kick
    /say "Angry crow takes flight"

    same for other spell.

  4. #4
    Can't use conditionals with /s, /y, /me, /1, etc. It's rather unfortunate, really.

    However, if you were willing to learn some LUA and coding stuff, you could probably make a fairly simple addon to do that.

  5. #5
    Quote Originally Posted by DiParagon View Post
    /cast Flying Serpent Kick
    /say "Angry crow takes flight"

    same for other spell.
    He wanted to do it with one macro, as you cast Flying serpent kick and cast it again to land.

  6. #6
    #showtooltip
    /cast [btn:1] Flying Serpent Kick
    /say [btn:1] Angry crow takes flight!
    /cast [btn:2] Flying Serpent Kick
    /say [btn:2] Monkey lands on mountaintop!

    This macro will work with your left and right click. That is probably the closest you will get. :P

  7. #7
    Stood in the Fire Chaltione's Avatar
    Join Date
    Jul 2010
    Location
    Norway
    Posts
    460
    Try this:

    Code:
    #showtooltip
    /cast Flying Serpent Kick
    /run local m={"Angry crow takes flight!","Monkey lands on mountaintop!"} if ixc==nil or ixc>=#m then ixc=1 else ixc=ixc+1 end SendChatMessage(m[ixc],"SAY")
    Spamming the macro or only using the first effect without triggering the landing may cause the messages to get out of sync, but you can reset it by either
    /run ixc=nil
    or
    /run ixc=99 (or any high number)

  8. #8
    /run if GetSpellCooldown("Rebuke") == 0 then SendChatMessage("TestA ","SAY") else SendChatMessage("TestB ","SAY") end
    /cast Spellname

    replace testA and testB with the message you want to send. "testB" is spammable, testA will only be said when you are able to cast your spell of choice.

Posting Permissions

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