I'm a total addon noob. With that in mind, I think I know what's going on. Well, I should anyway. The post I obtained the addon from is from 2008, and as such, I have no clue what the changes to addons since then were.
Basically, I need to click through a single action bar. I was able to use /framestack to obtain the frame names of each individual button. I'd like to be able to toggle it on and off using the /clickthrough command. Here's what I've got.
Code:
local _G = getfenv(0)
local framelist = {
"ElvUI_Bar6Button1"
"ElvUI_Bar6Button2"
"ElvUI_Bar6Button3"
"ElvUI_Bar6Button4"
"ElvUI_Bar6Button5"
}
local clickable = false
SlashCmdList["CLICKTHROUGH"] = function()
for _, v in ipairs(framelist) do
_G[v]:EnableMouse(clickable)
end
if clickable then
clickable = false
else
clickable = true
end
end
SLASH_CLICKTHROUGH1 = '/clickthrough'
I don't think the issue lies in the .toc file, so I won't post that.
The problem is with the /clickthrough I think.
Edit:
Code:
/run ElvUI_Bar6Button1:EnableMouse(0)
/run ElvUI_Bar6Button2:EnableMouse(0)
/run ElvUI_Bar6Button3:EnableMouse(0)
/run ElvUI_Bar6Button4:EnableMouse(0)
/run ElvUI_Bar6Button5:EnableMouse(0)
Making a macro like that works. (I know that can be made into an array/for loop, but I didn't want the opportunity to **** that up.)