Thread Tools Display Modes
12-20-07, 08:34 AM   #1
Marbleshade
A Kobold Labourer
Join Date: Dec 2007
Posts: 1
SendAddonMessage()

I'm new to LUA (as in I just started learning stuff about LUA and XML this week) and I'm trying to write an addon for the guild. I'm having trouble how to figure something out: the addon has editboxes that only the raid leader can modify the text of, and when he does so I need the addon to send the message (using "CHAT_MSG_ADDON", I have that part) to the client so that it knows to update the edit boxes to whatever data was sent. The problem I'm having is how do I grab the data from the CHAT_MSG_ADDON and use it? Do I have to use string.find and pull it from there that way? Like how do I grab the "mydata" part from SendAddonMessage("my addon","mydata","RAID") and then call it? Thanks ahead of time for any help you can give me.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » SendAddonMessage()


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off