View Single Post
10-16-22, 02:07 PM   #1
mooman219
A Defias Bandit
 
mooman219's Avatar
Join Date: Oct 2022
Posts: 3
Get spell name from a button name

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.

Last edited by mooman219 : 10-16-22 at 03:12 PM.
  Reply With Quote