1. #1

    How do I sent messages to a special channel in an add-on?

    A guildy made a nice add-on but it is spamming RAID, Party and say channels and that is very annoying.
    He is new at this so the working add-on needs a few tweaks to get it working at 110%

    He uses this for nearly any message he sends of in normal say channel
    SendChatMessage(intmsg, "SAY")

    What I would like to know is if there is a way to sent the message to lets say channel 10 and that was a special channel for interrupters in the guild.
    That way only people that need to get these info get it and others are not spammed with it.

  2. #2
    http://www.wowace.com/addons/ace3/pa.../ace-comm-3-0/
    If he is new to addons I'd recommend to try this lib for using the addon-channel.
    Or at least to take a look at its source
    --
    The cataclysm broke the world ... and the pandas could not fix it!

  3. #3
    Code:
    SendChatMessage("Some [Interrupt]", "CHANNEL", nil, 6)
    - where 6 is your corresponding channel number
    I can't post links yet: wowpedia.org/API_SendChatMessage

    You'd need to join the channel first to send messages to it ofc

  4. #4
    Deleted
    If you only want to change the channel it's displayed in locally, take a look at the ChatFrame_AddMessageEventFilter API.

Posting Permissions

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