Looking for an addon or script that will show my macro text in the tooltip when I hover over the icon, I had one way back in the day but can’t seem to find where it was posted. Thanks in advance!!
What you mean by macro text? #showtooltip will make your macro display the tooltip of whatever ability it’s going to cast next. #show will make it display the icon but not the tooltip.
#showtooltip like Elvenbane said, but you also need to select the “?” icon for the macro.
#showtooltip
/cast Stuff
Maybe the OP wants the macro body to be added to the tooltip of macros on the bars?
hooksecurefunc(GameTooltip,"SetAction",function(self,actionSlot)
local actionType,actionIndex = GetActionInfo(actionSlot)
if actionType=="macro" and actionIndex then
local focus = GetMouseFocus()
if focus then
local actionID = focus:GetAttribute("action") or focus.action
if actionID and actionID==actionSlot then
local body = GetMacroBody(actionIndex)
if body then
GameTooltip:AddLine(body,0.5,0.75,1,1)
GameTooltip:Show()
end
end
end
end
end)
(Not guaranteed to work for all bar addons.)
Or maybe they want it on macros in the /macro dialog window? I’m not sure.
I think Gello, got it sorry for not being more clear. I want to It to show the actual macro text (ie. #showtooltip /cast Spell) in the tool tip. Basically I have a lot of macros and don’t always remember what they do, and its easier for me to keep track of them if I can see them at a glance. I’m handicapped so the use of excessive amounts of macros is necessary to play.
How would I take that lua code and implement it into the game?
You may want to look into the addon GSE.