Originally Posted by Seerah
Still, you need to make sure that it's all correct in your code. In what you posted above, one instance had a capital T.
|
if SkadaBarWindowThreat:Exists() then
SkadaBarWindowthreat:Show()
if SkadaBarWindowSkada:Exists() then
SkadaBarWindowthreat:Show()
end
|
Oh yeah. That was some code that I rewrote outside of WoW purely for example, so I forgot for that time I had a lower case T in the actual script that I wrote while in game. When I tested the "Exists()" function, the syntax was indeed correct and the error it shot back at me was in regard to that exact call, Exists(), not the frame name.
I can write a script that simply tells the element to hide with the lower case "t" and it hides it, plus in the /skada config, I can see that the word "threat" for the title's main window is lower case, and if I do a mouseover frame label printout, indeed, it is lower case.
The upper case T was a goof up when rewriting code for forum example.