1. Chat msg macro

    I was writing a macro for the global chat and this line doesn't work (it's a macro with a command so if you click the macro it will work only if you are holding shift):

    /run SendChatMessage(SecureCmdOptionParse"[mod:shift]Test text for global chat", "GLOBAL")

    The same macro works if the name of the channel at the end is anything else: say, guild, officer...
    I tried even with "5.global" and "5" but i didn't work. Why?

  2. http://wowprogramming.com/docs/api/SendChatMessage

    Try this:
    Code:
    /run SendChatMessage(SecureCmdOptionParse"[mod:shift]Test text for global chat", "CHANNEL", nil, "5")

  3. No, doesn't work. I am guessing this is because the global channel here on Warmane could have some other "name"???

  4. I tried a few different codes. All other channel names (arguments) work. Only "global" doesn't for some reason.

  5. I tried a few different codes. All other channel names (arguments) work. Only "global" doesn't for some reason.
    You do not have to write "global" anywhere. Second argument of the function has to be "CHANNEL" to specify that it's a custom chat channel and fourth argument is channel number, which might be "5" in your case. Try it exactly as I wrote it, without modifying anything.

Posting Permissions

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