View Single Post
05/29/14, 04:51 PM   #9
zolan
 
zolan's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 11
Just in case this might help someone else out.. If you know the container and tab that you want to output to you can do this:

By default there is only one container, though I think there may be addons that make other containers:

Lua Code:
  1. containerNum = 1

And the tabs seem to be numbered from left to right so the second tab would be 2:

Lua Code:
  1. tabNum = 2

Using those you can output 'Ta daaaaaaa' to the first container on the 2nd tab using the following:

Lua Code:
  1. CHAT_SYSTEM.containers[containerNum].windows[tabNum].buffer:AddMessage('Ta daaaaaaa')

I'd be glad to know if someone comes up with a better solution than this.

~Zolan
  Reply With Quote