Hello,
I'm looking to setup a script at load time to do the following:
Code:
local button = _G["BT4Button73"]
local action = GetAction(button)
if (action == "spell or item") then
print("/use [@mouseover]%s", spell/item name)
end
I'm still reading into lua syntax, and trying to catch up on wowpedia.fandom.com/wiki/ for the API docs.