Originally Posted by BadVolt
You can do it by yourself.
Ie
Get zone channel ID
Get Dynamic chat id:
Lua Code:
local function GetChatId() -- search for 100 channels for i=1,100 do local name=GetDynamicChatChannelName(i) if name==GuildName then return i end end return false end
|
I get what you tried to do there. Only the order and the actuall code seems a bit odd.
I will try it with this code later, when I am at my client:
Code:
local function dumpCatageoryNames()
local result = { }
for i=1, GetNumChatCtagoeries(), 1 do
result[i] = { ID = i, name= GetDynamicChatChannelName(i) }
end
return result
end
That also means I can now rework UTC to use those constats to save and assign the Categories instead of the numbers (wich could have caused issues if the Order changed between API versions).