JoinChannelByName
Hello,
I started to code my 1st addon this morning. It should join a channel on game startup.
Test.lua looks like this:
function Test_OnLoad()
JoinChannelByName("Test");
ChatFrame_AddChannel(DEFAULT_CHAT_FRAME, "Test");
end
Now I have 2 problems:
1.) After startup there ist no channel test
2.) my other channels were move down by one. Means the common channel is no #2 the trade channel #3 and so on
How can I fix this ?
|