Lua Code:
tempSpellChatList = {
addSpellLink = {
percentage = 100,
isEnabled = true,
spellChatList = {}
}
}
Not sure of your intention but when written like this, addSpellLink becomes the name of the key as in
Lua Code:
tempSpellChatList = {
["addSpellLink"] = {
percentage = 100,
isEnabled = true,
spellChatList = {}
}
}
If you want to use the spell id as the key
Lua Code:
tempSpellChatList = {}
tempSpellChatList[addSpellLink] = {
percentage = 100,
isEnabled = true,
spellChatList = {}
}